public interface JavaType extends Named, Scoped
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.
|
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() |
getDeclaredScope, getEffectiveScope
java.lang.String getName()
JavaType getContainingClass()
null
if this JavaType does not represent an inner class.JavaType[] getSuperClasses()
java.lang.Object
.JavaType[] getAllInterfaces()
this
if this JavaType represents an interface itself.JavaType[] getInnerClasses()
Method[] getMethods()
Field[] getFields()
boolean isPrimitive()
boolean isArray()
boolean isFinal()
boolean isAbstract()
boolean isInterface()
Copyright © 2003-2012 Lars K??hne. All Rights Reserved.