addField
public void addField(JavaField javaField)
addMethodsFromSuperclassAndInterfaces
private void addMethodsFromSuperclassAndInterfaces(Set signatures,
List methodList,
JavaClass clazz)
addNewMethods
private void addNewMethods(Set signatures,
List methodList,
JavaMethod[] methods)
addNewTags
private void addNewTags(List list,
DocletTag[] tags)
addTagsRecursive
private void addTagsRecursive(List result,
JavaClass javaClass,
String name,
boolean superclasses)
asType
public Type asType()
compareTo
public int compareTo(Object o)
getBeanProperties
public BeanProperty[] getBeanProperties()
Gets bean properties without looking in superclasses or interfaces.
getBeanProperties
public BeanProperty[] getBeanProperties(boolean superclasses)
getBeanProperty
public BeanProperty getBeanProperty(String propertyName)
Gets bean property without looking in superclasses or interfaces.
getBeanProperty
public BeanProperty getBeanProperty(String propertyName,
boolean superclasses)
getBeanPropertyMap
private Map getBeanPropertyMap(boolean superclasses)
getDerivedClasses
public JavaClass[] getDerivedClasses()
Gets the known derived classes. That is, subclasses or implementing classes.
getFieldByName
public JavaField getFieldByName(String name)
getFullyQualifiedName
public String getFullyQualifiedName()
getImplementedInterfaces
public JavaClass[] getImplementedInterfaces()
getImplements
public Type[] getImplements()
getInnerClassByName
public JavaClass getInnerClassByName(String name)
getInnerClasses
public JavaClass[] getInnerClasses()
getMethodBySignature
public JavaMethod getMethodBySignature(String name,
Type[] parameterTypes)
name
- method nameparameterTypes
- parameter types or null if there are no parameters.
- the matching method or null if no match is found.
getMethodBySignature
public JavaMethod getMethodBySignature(String name,
Type[] parameterTypes,
boolean superclasses)
getMethods
public JavaMethod[] getMethods(boolean superclasses)
getMethodsBySignature
public JavaMethod[] getMethodsBySignature(String name,
Type[] parameterTypes,
boolean superclasses)
getOrCreateProperty
private BeanProperty getOrCreateProperty(Map beanPropertyMap,
String propertyName)
getPackage
public String getPackage()
getSuperClass
public Type getSuperClass()
getSuperJavaClass
public JavaClass getSuperJavaClass()
Shorthand for getSuperClass().getJavaClass() with null checking.
isA
public boolean isA(String fullClassName)
isInner
public boolean isInner()
isInterface
public boolean isInterface()
Interface or class?
setImplementz
public void setImplementz(Type[] implementz)
setInterface
public void setInterface(boolean interfce)
setJavaClassCache
public void setJavaClassCache(JavaClassCache javaClassCache)
setSuperClass
public void setSuperClass(Type type)