|
||||||||||
| 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 JavaTypegetName in interface Named"my.company.procuct.SampleClass".public JavaType getContainingClass()
JavaType
getContainingClass in interface JavaTypenull
if this JavaType does not represent an inner class.public JavaType[] getSuperClasses()
JavaType
getSuperClasses in interface JavaTypejava.lang.Object.public JavaType[] getAllInterfaces()
JavaType
getAllInterfaces in interface JavaTypethis if this JavaType represents an interface itself.public JavaType[] getInnerClasses()
getInnerClasses in interface JavaTypepublic Method[] getMethods()
JavaType
getMethods in interface JavaTypepublic Field[] getFields()
JavaType
getFields in interface JavaTypepublic boolean isPrimitive()
isPrimitive in interface JavaTypepublic boolean isArray()
isArray in interface JavaTypepublic boolean isFinal()
isFinal in interface JavaTypepublic boolean isAbstract()
isAbstract in interface JavaTypepublic boolean isInterface()
isInterface in interface JavaTypepublic Scope getDeclaredScope()
Scoped
getDeclaredScope in interface Scopedpublic Scope getEffectiveScope()
Scoped
getEffectiveScope in interface Scopedpublic 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 | |||||||||