Class ClassDetails
java.lang.Object
org.robolectric.internal.bytecode.ClassDetails
A more lightweight variant of
MutableClass
. This lets you check for basic metadata like
class name, interfaces, and annotation info by wrapping a ClassReader
, which is
significantly faster than a ClassNode
object.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
getName()
boolean
hasAnnotation
(Class<? extends Annotation> annotationClass) boolean
boolean
boolean
-
Constructor Details
-
ClassDetails
public ClassDetails(byte[] classBytes)
-
-
Method Details
-
isInterface
public boolean isInterface() -
isAnnotation
public boolean isAnnotation() -
getName
-
hasAnnotation
-
isInstrumented
public boolean isInstrumented() -
getClassBytes
public byte[] getClassBytes()
-