public class ClassInfo extends java.lang.Object implements MemberInfo
| Modifier and Type | Field and Description |
|---|---|
int |
access |
java.util.List<AnnotationInfo> |
annotations |
java.lang.String |
name |
java.lang.String |
superName |
| Constructor and Description |
|---|
ClassInfo(java.lang.Class<?> clazz) |
ClassInfo(org.objectweb.asm.tree.ClassNode node) |
| Modifier and Type | Method and Description |
|---|---|
int |
getAccess() |
@NotNull java.util.List<AnnotationInfo> |
getAnnotations() |
@Nullable java.lang.String |
getDescriptor() |
@Nullable FieldInfo |
getField(java.lang.String name) |
@NotNull java.util.Map<java.lang.String,FieldInfo> |
getFields() |
@NotNull java.util.List<java.lang.String> |
getInterfaces() |
@Nullable MethodInfo |
getMethod(java.lang.String name,
java.lang.String desc) |
@NotNull java.util.Map<java.lang.String,MethodInfo> |
getMethods() |
@NotNull java.lang.String |
getName() |
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAnnotation, hasAnnotationpublic final java.lang.String name
public final int access
public final java.lang.String superName
public final java.util.List<AnnotationInfo> annotations
public ClassInfo(org.objectweb.asm.tree.ClassNode node)
public ClassInfo(java.lang.Class<?> clazz)
@NotNull public @NotNull java.util.List<java.lang.String> getInterfaces()
@NotNull public @NotNull java.util.Map<java.lang.String,MethodInfo> getMethods()
@Nullable public @Nullable MethodInfo getMethod(java.lang.String name, java.lang.String desc)
@NotNull public @NotNull java.util.Map<java.lang.String,FieldInfo> getFields()
@Nullable public @Nullable FieldInfo getField(java.lang.String name)
@NotNull public @NotNull java.lang.String getName()
getName in interface MemberInfo@Nullable public @Nullable java.lang.String getDescriptor()
getDescriptor in interface MemberInfopublic int getAccess()
getAccess in interface MemberInfo@NotNull public @NotNull java.util.List<AnnotationInfo> getAnnotations()
getAnnotations in interface MemberInfopublic java.lang.String toString()
toString in class java.lang.Object