|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.osjava.jardiff.AbstractInfo
public abstract class AbstractInfo
An abstract class representing information about a class, method or field.
Field Summary | |
---|---|
private int |
access
The access flags for this class, method or field. |
java.lang.String |
ACCESS_PACKAGE
The string used to represent a class, method or field with package private access. |
java.lang.String |
ACCESS_PRIVATE
The string used to represent a class, method or field with private access. |
java.lang.String |
ACCESS_PROTECTED
The string used to represent a class, method or field with protected access. |
java.lang.String |
ACCESS_PUBLIC
The string used to represent a class, method or field with public access. |
private java.lang.String |
name
The internal name of this class, method or field. |
Constructor Summary | |
---|---|
AbstractInfo(int access,
java.lang.String name)
Construct a new AbstractInfo with the specified access and name. |
Method Summary | |
---|---|
int |
getAccess()
Get the access flags for this class, method or field. |
java.lang.String |
getAccessType()
Retrivie the access level for this class, method or field. |
java.lang.String |
getName()
Get the internal name of this class, method or field. |
boolean |
isAbstract()
Test if this class, method or field is abstract. |
boolean |
isAnnotation()
Test if this class, method or field is annotation |
boolean |
isBridge()
Test if this class, method or field is a bridge |
boolean |
isDeprecated()
Test if this class, method or field is deprecated. |
boolean |
isEnum()
Test if this class, method or field is an enum. |
boolean |
isFinal()
Test if this class, method or field is final. |
boolean |
isInterface()
Test if this class, method or field is an interface. |
boolean |
isNative()
Test if this class, method or field is native. |
boolean |
isPackagePrivate()
Test if this class, method or field is package private. |
boolean |
isPrivate()
Test if this class, method or field is private. |
boolean |
isProtected()
Test if this class, method or field is protected. |
boolean |
isPublic()
Test if this class, method or field is public. |
boolean |
isStatic()
Test if this class, method or field is static. |
boolean |
isStrict()
Test if this class, method or field is string. |
boolean |
isSuper()
Test if this class, method or field is super. |
boolean |
isSynchronized()
Test if this class, method or field is synchronized. |
boolean |
isSynthetic()
Test if this class, method or field is synthetic. |
boolean |
isTransient()
Test if this class or field is transient. |
boolean |
isVarargs()
Test if this method is varargs. |
boolean |
isVolatile()
Test if this class, method or field is volatile. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final java.lang.String ACCESS_PUBLIC
public final java.lang.String ACCESS_PROTECTED
public final java.lang.String ACCESS_PACKAGE
public final java.lang.String ACCESS_PRIVATE
private final int access
private final java.lang.String name
Constructor Detail |
---|
public AbstractInfo(int access, java.lang.String name)
access
- The access flags for this class, method or field.name
- The internal name of this class, method or field.Method Detail |
---|
public final int getAccess()
public final java.lang.String getName()
public final boolean isPublic()
public final boolean isProtected()
public final boolean isPackagePrivate()
public final boolean isPrivate()
public final boolean isAbstract()
public final boolean isAnnotation()
public final boolean isBridge()
public final boolean isDeprecated()
public final boolean isEnum()
public final boolean isFinal()
public final boolean isInterface()
public final boolean isNative()
public final boolean isStatic()
public final boolean isStrict()
public final boolean isSuper()
public final boolean isSynchronized()
public final boolean isSynthetic()
public final boolean isTransient()
public final boolean isVarargs()
public final boolean isVolatile()
public final java.lang.String getAccessType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |