Class MutableClass
- java.lang.Object
-
- org.robolectric.internal.bytecode.MutableClass
-
public class MutableClass extends Object
-
-
Field Summary
Fields Modifier and Type Field Description org.objectweb.asm.tree.ClassNodeclassNode
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddField(int index, org.objectweb.asm.tree.FieldNode fieldNode)voidaddInterface(String internalName)voidaddMethod(org.objectweb.asm.tree.MethodNode methodNode)List<org.objectweb.asm.tree.FieldNode>getFields()Iterable<? extends org.objectweb.asm.tree.MethodNode>getMethods()StringgetName()booleanhasAnnotation(Class<? extends Annotation> annotationClass)booleanisAnnotation()booleanisInterface()
-
-
-
Method Detail
-
isInterface
public boolean isInterface()
-
isAnnotation
public boolean isAnnotation()
-
hasAnnotation
public boolean hasAnnotation(Class<? extends Annotation> annotationClass)
-
getName
public String getName()
-
getMethods
public Iterable<? extends org.objectweb.asm.tree.MethodNode> getMethods()
-
addMethod
public void addMethod(org.objectweb.asm.tree.MethodNode methodNode)
-
getFields
public List<org.objectweb.asm.tree.FieldNode> getFields()
-
addField
public void addField(int index, org.objectweb.asm.tree.FieldNode fieldNode)
-
addInterface
public void addInterface(String internalName)
-
-