public static interface ClassProvider.IClassInfo
| Modifier and Type | Method and Description |
|---|---|
int |
getAccess()
Returns the access flags of this class.
|
java.util.Optional<? extends ClassProvider.IFieldInfo> |
getField(java.lang.String name)
Queries a field based on its field name.
|
java.util.Collection<? extends ClassProvider.IFieldInfo> |
getFields()
Returns all the fields declared in this class.
|
java.util.Collection<java.lang.String> |
getInterfaces()
Returns a list of interfaces this class implements.
|
java.util.Optional<? extends ClassProvider.IMethodInfo> |
getMethod(java.lang.String name,
java.lang.String desc)
Queries a method based on its method name and descriptor.
|
java.util.Collection<? extends ClassProvider.IMethodInfo> |
getMethods()
Returns all the methods declared in this class.
|
java.lang.String |
getName()
Returns the internal name of this class.
|
@Nullable java.lang.String |
getSuper()
Returns the internal name of the superclass,
or null if there is no superclass.
|
int getAccess()
ClassNode.access,
Class.getModifiers()java.lang.String getName()
Type.getInternalName()@Nullable @Nullable java.lang.String getSuper()
ClassNode.superName,
Class.getSuperclass()java.util.Collection<java.lang.String> getInterfaces()
java.util.Collection<? extends ClassProvider.IFieldInfo> getFields()
java.util.Optional<? extends ClassProvider.IFieldInfo> getField(java.lang.String name)
name - the field namejava.util.Collection<? extends ClassProvider.IMethodInfo> getMethods()
java.util.Optional<? extends ClassProvider.IMethodInfo> getMethod(java.lang.String name, java.lang.String desc)
name - the method namedesc - the method descriptor