|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.clirr.core.internal.bcel.BcelJavaType
public final class BcelJavaType
Constructor Summary | |
---|---|
BcelJavaType(org.apache.bcel.classfile.JavaClass clazz)
|
|
BcelJavaType(org.apache.bcel.generic.Type bcelType,
org.apache.bcel.util.Repository repository)
|
Method Summary | |
---|---|
JavaType[] |
getAllInterfaces()
Return the list of all interfaces this class implements. |
JavaType |
getContainingClass()
The containing class if this is an inner class. |
Scope |
getDeclaredScope()
The declared scope of this entity. |
Scope |
getEffectiveScope()
The effective Scope of this entity. |
Field[] |
getFields()
All fields that are declared by this class. |
JavaType[] |
getInnerClasses()
|
Method[] |
getMethods()
All methods that are declared by this class. |
java.lang.String |
getName()
Type fully qualified class name. |
JavaType[] |
getSuperClasses()
Return the superclasses of this class. |
boolean |
isAbstract()
|
boolean |
isArray()
|
boolean |
isFinal()
|
boolean |
isInterface()
|
boolean |
isPrimitive()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BcelJavaType(org.apache.bcel.generic.Type bcelType, org.apache.bcel.util.Repository repository)
public BcelJavaType(org.apache.bcel.classfile.JavaClass clazz)
Method Detail |
---|
public java.lang.String getName()
JavaType
getName
in interface JavaType
getName
in interface Named
"my.company.procuct.SampleClass"
.public JavaType getContainingClass()
JavaType
getContainingClass
in interface JavaType
null
if this JavaType does not represent an inner class.public JavaType[] getSuperClasses()
JavaType
getSuperClasses
in interface JavaType
java.lang.Object
.public JavaType[] getAllInterfaces()
JavaType
getAllInterfaces
in interface JavaType
this
if this JavaType represents an interface itself.public JavaType[] getInnerClasses()
getInnerClasses
in interface JavaType
public Method[] getMethods()
JavaType
getMethods
in interface JavaType
public Field[] getFields()
JavaType
getFields
in interface JavaType
public boolean isPrimitive()
isPrimitive
in interface JavaType
public boolean isArray()
isArray
in interface JavaType
public boolean isFinal()
isFinal
in interface JavaType
public boolean isAbstract()
isAbstract
in interface JavaType
public boolean isInterface()
isInterface
in interface JavaType
public Scope getDeclaredScope()
Scoped
getDeclaredScope
in interface Scoped
public Scope getEffectiveScope()
Scoped
getEffectiveScope
in interface Scoped
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |