com.android.utils
Class AsmUtils

java.lang.Object
  extended by com.android.utils.AsmUtils

public class AsmUtils
extends java.lang.Object

Utilities for working with ASM.


Field Summary
static java.lang.String CLASS_INITIALIZER
           
static java.lang.String CONSTRUCTOR
           
 
Method Summary
static java.lang.String getClassName(java.lang.String memberName)
          Gets the class name from a class member internal name, like com/foo/Bar.baz:(I)V.
static java.lang.String toInternalName(java.lang.String className)
          Converts a class name from the Java language naming convention (foo.bar.baz) to the JVM internal naming convention (foo/bar/baz).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONSTRUCTOR

public static final java.lang.String CONSTRUCTOR
See Also:
Constant Field Values

CLASS_INITIALIZER

public static final java.lang.String CLASS_INITIALIZER
See Also:
Constant Field Values
Method Detail

toInternalName

@NonNull
public static java.lang.String toInternalName(@NonNull
                                                      java.lang.String className)
Converts a class name from the Java language naming convention (foo.bar.baz) to the JVM internal naming convention (foo/bar/baz).


getClassName

@NonNull
public static java.lang.String getClassName(@NonNull
                                                    java.lang.String memberName)
Gets the class name from a class member internal name, like com/foo/Bar.baz:(I)V.