public class ClassDetails extends Object
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 | Description |
---|---|
ClassDetails(byte[] classBytes) |
Modifier and Type | Method | Description |
---|---|---|
String |
getName() |
|
boolean |
hasAnnotation(Class<? extends Annotation> annotationClass) |
|
boolean |
isAnnotation() |
|
boolean |
isInterface() |
public boolean isInterface()
public boolean isAnnotation()
public String getName()
public boolean hasAnnotation(Class<? extends Annotation> annotationClass)