Class MutableClass
- java.lang.Object
-
- org.robolectric.internal.bytecode.MutableClass
-
public class MutableClass extends java.lang.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(java.lang.String internalName)voidaddMethod(org.objectweb.asm.tree.MethodNode methodNode)java.util.List<org.objectweb.asm.tree.FieldNode>getFields()java.lang.Iterable<? extends org.objectweb.asm.tree.MethodNode>getMethods()java.lang.StringgetName()booleanhasAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)booleanisAnnotation()booleanisInterface()
-
-
-
Method Detail
-
isInterface
public boolean isInterface()
-
isAnnotation
public boolean isAnnotation()
-
hasAnnotation
public boolean hasAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
-
getName
public java.lang.String getName()
-
getMethods
public java.lang.Iterable<? extends org.objectweb.asm.tree.MethodNode> getMethods()
-
addMethod
public void addMethod(org.objectweb.asm.tree.MethodNode methodNode)
-
getFields
public java.util.List<org.objectweb.asm.tree.FieldNode> getFields()
-
addField
public void addField(int index, org.objectweb.asm.tree.FieldNode fieldNode)
-
addInterface
public void addInterface(java.lang.String internalName)
-
-