|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.osjava.jardiff.AbstractInfo
org.osjava.jardiff.ClassInfo
public final class ClassInfo
Information about a class file.
| Field Summary | |
|---|---|
private java.util.Map |
fieldMap
A map of field signature to FieldInfo, for the fields provided by this class. |
private java.lang.String[] |
interfaces
An array of names of internal classnames of interfaces implmented by the class. |
private java.util.Map |
methodMap
A map of method signature to MethodInfo, for the methods provided by this class. |
private java.lang.String |
signature
The class signature. |
private java.lang.String |
supername
The internal classname of the superclass. |
private int |
version
The classfile version number. |
| Fields inherited from class org.osjava.jardiff.AbstractInfo |
|---|
ACCESS_PACKAGE, ACCESS_PRIVATE, ACCESS_PROTECTED, ACCESS_PUBLIC |
| Constructor Summary | |
|---|---|
ClassInfo(int version,
int access,
java.lang.String name,
java.lang.String signature,
java.lang.String supername,
java.lang.String[] interfaces,
java.util.Map methodMap,
java.util.Map fieldMap)
Create a new classinfo. |
|
| Method Summary | |
|---|---|
java.util.Map |
getFieldMap()
Get the map of field signatures to fields. |
java.lang.String[] |
getInterfaces()
Get the internal names of the interfaces implemented by this class |
java.util.Map |
getMethodMap()
Get the map of method signatures to methods. |
java.lang.String |
getSignature()
Get the class signature. |
java.lang.String |
getSupername()
Get the internal name of the superclass. |
int |
getVersion()
Get the class file version. |
| Methods inherited from class org.osjava.jardiff.AbstractInfo |
|---|
getAccess, getAccessType, getName, isAbstract, isAnnotation, isBridge, isDeprecated, isEnum, isFinal, isInterface, isNative, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isStrict, isSuper, isSynchronized, isSynthetic, isTransient, isVarargs, isVolatile |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private int version
private java.lang.String signature
private java.lang.String supername
private java.lang.String[] interfaces
private java.util.Map methodMap
private java.util.Map fieldMap
| Constructor Detail |
|---|
public ClassInfo(int version,
int access,
java.lang.String name,
java.lang.String signature,
java.lang.String supername,
java.lang.String[] interfaces,
java.util.Map methodMap,
java.util.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.| Method Detail |
|---|
public final int getVersion()
public final java.lang.String getSignature()
public final java.lang.String getSupername()
public final java.lang.String[] getInterfaces()
public final java.util.Map getMethodMap()
public final java.util.Map getFieldMap()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||