| Constructor and Description |
|---|
BcelJavaType(org.apache.bcel.classfile.JavaClass clazz) |
BcelJavaType(org.apache.bcel.generic.Type bcelType,
org.apache.bcel.util.Repository repository) |
| Modifier and Type | Method and Description |
|---|---|
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() |
public BcelJavaType(org.apache.bcel.generic.Type bcelType,
org.apache.bcel.util.Repository repository)
public BcelJavaType(org.apache.bcel.classfile.JavaClass clazz)
public java.lang.String getName()
JavaTypepublic JavaType getContainingClass()
JavaTypegetContainingClass in interface JavaTypenull
if this JavaType does not represent an inner class.public JavaType[] getSuperClasses()
JavaTypegetSuperClasses in interface JavaTypejava.lang.Object.public JavaType[] getAllInterfaces()
JavaTypegetAllInterfaces in interface JavaTypethis if this JavaType represents an interface itself.public JavaType[] getInnerClasses()
getInnerClasses in interface JavaTypepublic Method[] getMethods()
JavaTypegetMethods in interface JavaTypepublic Field[] getFields()
JavaTypepublic boolean isPrimitive()
isPrimitive in interface JavaTypepublic boolean isAbstract()
isAbstract in interface JavaTypepublic boolean isInterface()
isInterface in interface JavaTypepublic Scope getDeclaredScope()
ScopedgetDeclaredScope in interface Scopedpublic Scope getEffectiveScope()
ScopedgetEffectiveScope in interface Scopedpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2003-2012 Lars K??hne. All Rights Reserved.