public final class ClassInfo extends AbstractInfo
ACCESS_PACKAGE, ACCESS_PRIVATE, ACCESS_PROTECTED, ACCESS_PUBLIC| Constructor and Description |
|---|
ClassInfo(int version,
int access,
String name,
String signature,
String supername,
String[] interfaces,
Map methodMap,
Map fieldMap)
Create a new classinfo.
|
| Modifier and Type | Method and Description |
|---|---|
Map |
getFieldMap()
Get the map of field signatures to fields.
|
String[] |
getInterfaces()
Get the internal names of the interfaces implemented by this class
|
Map |
getMethodMap()
Get the map of method signatures to methods.
|
String |
getSignature()
Get the class signature.
|
String |
getSupername()
Get the internal name of the superclass.
|
int |
getVersion()
Get the class file version.
|
getAccess, getAccessType, getName, isAbstract, isAnnotation, isBridge, isDeprecated, isEnum, isFinal, isInterface, isNative, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isStrict, isSuper, isSynchronized, isSynthetic, isTransient, isVarargs, isVolatilepublic ClassInfo(int version,
int access,
String name,
String signature,
String supername,
String[] interfaces,
Map methodMap,
Map fieldMap)
version - the class file version number.access - the access flags for the class.name - the internal name of the class.signature - the signature of the class.interfaces - an array of internal names of interfaces implemented
by the class.methodMap - a map of methods provided by this class.fieldMap - a map of fields provided by this class.public final int getVersion()
public final String getSignature()
public final String getSupername()
public final String[] getInterfaces()
public final Map getMethodMap()
public final Map getFieldMap()
Copyright © 2010–2014. All rights reserved.