|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.felix.scrplugin.tags.qdox.QDoxJavaClassDescription
public class QDoxJavaClassDescription
QDoxJavaClassDescription.java...
| Field Summary | |
|---|---|
protected java.lang.Class |
clazz
The compiled class. |
protected com.thoughtworks.qdox.model.JavaClass |
javaClass
|
protected JavaClassDescriptorManager |
manager
|
protected com.thoughtworks.qdox.model.JavaSource |
source
|
| Fields inherited from interface org.apache.felix.scrplugin.tags.JavaClassDescription |
|---|
EMPTY_RESULT |
| Constructor Summary | |
|---|---|
QDoxJavaClassDescription(java.lang.Class clazz,
com.thoughtworks.qdox.model.JavaSource source,
JavaClassDescriptorManager m)
|
|
| Method Summary | |
|---|---|
void |
addMethods(java.lang.String propertyName,
java.lang.String className,
boolean createBind,
boolean createUnbind)
|
protected void |
createMethod(org.objectweb.asm.ClassWriter cw,
java.lang.String propertyName,
java.lang.String typeName,
boolean bind)
|
java.lang.Class |
getCompiledClass()
|
JavaField |
getExternalFieldByName(java.lang.String name)
|
JavaField |
getFieldByName(java.lang.String name)
Get the field with the name. |
JavaField[] |
getFields()
Get the fields of this class |
JavaClassDescription[] |
getImplementedInterfaces()
Returns an array of the implemented interfaces of this class. |
JavaMethod |
getMethodBySignature(java.lang.String name,
java.lang.String[] parameters)
Search for a method with the given signature. |
JavaMethod[] |
getMethods()
Return all methods of this class |
java.lang.String |
getName()
Get the name of the described class. |
JavaClassDescription |
getReferencedClass(java.lang.String referencedName)
Search for the class. |
JavaClassDescription |
getSuperClass()
Get the description for the parent class. |
JavaTag |
getTagByName(java.lang.String name)
Get the java class tag with the name. |
JavaTag[] |
getTagsByName(java.lang.String name,
boolean inherited)
Get all class tags with this name. |
boolean |
isA(java.lang.String type)
Is this class of the type? |
boolean |
isAbstract()
Is this class abstract? |
boolean |
isInterface()
Is this class an interface? |
boolean |
isPublic()
Is this class public? |
protected java.lang.String |
searchImport(java.lang.String name)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final com.thoughtworks.qdox.model.JavaClass javaClass
protected final JavaClassDescriptorManager manager
protected final com.thoughtworks.qdox.model.JavaSource source
protected final java.lang.Class clazz
| Constructor Detail |
|---|
public QDoxJavaClassDescription(java.lang.Class clazz,
com.thoughtworks.qdox.model.JavaSource source,
JavaClassDescriptorManager m)
| Method Detail |
|---|
public JavaClassDescription getSuperClass()
throws org.apache.maven.plugin.MojoExecutionException
JavaClassDescription
getSuperClass in interface JavaClassDescriptionnull if this class is the
Object class.
org.apache.maven.plugin.MojoExecutionExceptionJavaClassDescription.getSuperClass()public JavaTag getTagByName(java.lang.String name)
JavaClassDescription
getTagByName in interface JavaClassDescriptionJavaClassDescription.getTagByName(java.lang.String)public java.lang.String getName()
JavaClassDescription
getName in interface JavaClassDescriptionJavaClassDescription.getName()
public JavaTag[] getTagsByName(java.lang.String name,
boolean inherited)
throws org.apache.maven.plugin.MojoExecutionException
JavaClassDescription
getTagsByName in interface JavaClassDescriptioninherited - If true, parent classes are searched as well.
org.apache.maven.plugin.MojoExecutionExceptionJavaClassDescription.getTagsByName(java.lang.String, boolean)public JavaField[] getFields()
JavaClassDescription
getFields in interface JavaClassDescriptionJavaClassDescription.getFields()
public JavaField getFieldByName(java.lang.String name)
throws org.apache.maven.plugin.MojoExecutionException
JavaClassDescription
getFieldByName in interface JavaClassDescriptionname - The name of the field
org.apache.maven.plugin.MojoExecutionExceptionJavaClassDescription.getFieldByName(java.lang.String)
public JavaField getExternalFieldByName(java.lang.String name)
throws org.apache.maven.plugin.MojoExecutionException
getExternalFieldByName in interface JavaClassDescriptionorg.apache.maven.plugin.MojoExecutionExceptionJavaClassDescription.getExternalFieldByName(java.lang.String)protected java.lang.String searchImport(java.lang.String name)
public JavaClassDescription getReferencedClass(java.lang.String referencedName)
JavaClassDescription
getReferencedClass in interface JavaClassDescriptionJavaClassDescription.getReferencedClass(java.lang.String)
public JavaClassDescription[] getImplementedInterfaces()
throws org.apache.maven.plugin.MojoExecutionException
JavaClassDescription
getImplementedInterfaces in interface JavaClassDescriptionorg.apache.maven.plugin.MojoExecutionExceptionJavaClassDescription.getImplementedInterfaces()
public JavaMethod getMethodBySignature(java.lang.String name,
java.lang.String[] parameters)
throws org.apache.maven.plugin.MojoExecutionException
JavaClassDescription
getMethodBySignature in interface JavaClassDescriptionnull
org.apache.maven.plugin.MojoExecutionExceptionJavaClassDescription.getMethodBySignature(java.lang.String, java.lang.String[])public JavaMethod[] getMethods()
JavaClassDescription
getMethods in interface JavaClassDescriptionJavaClassDescription.getMethods()
public boolean isA(java.lang.String type)
throws org.apache.maven.plugin.MojoExecutionException
JavaClassDescription
isA in interface JavaClassDescriptionorg.apache.maven.plugin.MojoExecutionExceptionJavaClassDescription.isA(java.lang.String)public boolean isAbstract()
JavaClassDescription
isAbstract in interface JavaClassDescriptionJavaClassDescription.isAbstract()public boolean isInterface()
JavaClassDescription
isInterface in interface JavaClassDescriptionJavaClassDescription.isInterface()public boolean isPublic()
JavaClassDescription
isPublic in interface JavaClassDescriptionJavaClassDescription.isPublic()
public void addMethods(java.lang.String propertyName,
java.lang.String className,
boolean createBind,
boolean createUnbind)
throws org.apache.maven.plugin.MojoExecutionException
addMethods in interface ModifiableJavaClassDescriptionorg.apache.maven.plugin.MojoExecutionExceptionModifiableJavaClassDescription.addMethods(java.lang.String, java.lang.String, boolean, boolean)
protected void createMethod(org.objectweb.asm.ClassWriter cw,
java.lang.String propertyName,
java.lang.String typeName,
boolean bind)
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public java.lang.Class getCompiledClass()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||