|
||||||||||
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 Class<?> |
clazz
The compiled class. |
protected com.thoughtworks.qdox.model.JavaClass |
javaClass
|
protected JavaClassDescriptorManager |
manager
|
Fields inherited from interface org.apache.felix.scrplugin.tags.JavaClassDescription |
---|
EMPTY_RESULT |
Constructor Summary | |
---|---|
QDoxJavaClassDescription(Class<?> clazz,
com.thoughtworks.qdox.model.JavaClass javaClass,
JavaClassDescriptorManager m)
|
Method Summary | |
---|---|
void |
addMethods(String propertyName,
String className,
boolean createBind,
boolean createUnbind)
|
protected void |
createMethod(org.objectweb.asm.ClassWriter cw,
String propertyName,
String typeName,
boolean bind)
|
Class<?> |
getCompiledClass()
|
JavaField |
getExternalFieldByName(String name)
|
JavaField |
getFieldByName(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(String name,
String[] parameters)
Search for a method with the given signature. |
JavaMethod[] |
getMethods()
Return all methods of this class |
String |
getName()
Get the name of the described class. |
JavaClassDescription |
getReferencedClass(String referencedName)
Search for the class. |
JavaClassDescription |
getSuperClass()
Get the description for the parent class. |
JavaTag |
getTagByName(String name)
Get the java class tag with the name. |
JavaTag[] |
getTagsByName(String name,
boolean inherited)
Get all class tags with this name. |
boolean |
isA(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 String |
searchImport(String name)
|
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 Class<?> clazz
Constructor Detail |
---|
public QDoxJavaClassDescription(Class<?> clazz, com.thoughtworks.qdox.model.JavaClass javaClass, JavaClassDescriptorManager m)
Method Detail |
---|
public JavaClassDescription getSuperClass() throws SCRDescriptorException
JavaClassDescription
getSuperClass
in interface JavaClassDescription
null
if this class is the
Object class.
SCRDescriptorException
JavaClassDescription.getSuperClass()
public JavaTag getTagByName(String name)
JavaClassDescription
getTagByName
in interface JavaClassDescription
JavaClassDescription.getTagByName(java.lang.String)
public String getName()
JavaClassDescription
getName
in interface JavaClassDescription
JavaClassDescription.getName()
public JavaTag[] getTagsByName(String name, boolean inherited) throws SCRDescriptorException
JavaClassDescription
getTagsByName
in interface JavaClassDescription
inherited
- If true, parent classes are searched as well.
SCRDescriptorException
JavaClassDescription.getTagsByName(java.lang.String, boolean)
public JavaField[] getFields()
JavaClassDescription
getFields
in interface JavaClassDescription
JavaClassDescription.getFields()
public JavaField getFieldByName(String name) throws SCRDescriptorException
JavaClassDescription
getFieldByName
in interface JavaClassDescription
name
- The name of the field
SCRDescriptorException
JavaClassDescription.getFieldByName(java.lang.String)
public JavaField getExternalFieldByName(String name) throws SCRDescriptorException
getExternalFieldByName
in interface JavaClassDescription
SCRDescriptorException
JavaClassDescription.getExternalFieldByName(java.lang.String)
protected String searchImport(String name)
public JavaClassDescription getReferencedClass(String referencedName)
JavaClassDescription
getReferencedClass
in interface JavaClassDescription
JavaClassDescription.getReferencedClass(java.lang.String)
public JavaClassDescription[] getImplementedInterfaces() throws SCRDescriptorException
JavaClassDescription
getImplementedInterfaces
in interface JavaClassDescription
SCRDescriptorException
JavaClassDescription.getImplementedInterfaces()
public JavaMethod getMethodBySignature(String name, String[] parameters) throws SCRDescriptorException
JavaClassDescription
getMethodBySignature
in interface JavaClassDescription
null
SCRDescriptorException
JavaClassDescription.getMethodBySignature(java.lang.String, java.lang.String[])
public JavaMethod[] getMethods()
JavaClassDescription
getMethods
in interface JavaClassDescription
JavaClassDescription.getMethods()
public boolean isA(String type) throws SCRDescriptorException
JavaClassDescription
isA
in interface JavaClassDescription
SCRDescriptorException
JavaClassDescription.isA(java.lang.String)
public boolean isAbstract()
JavaClassDescription
isAbstract
in interface JavaClassDescription
JavaClassDescription.isAbstract()
public boolean isInterface()
JavaClassDescription
isInterface
in interface JavaClassDescription
JavaClassDescription.isInterface()
public boolean isPublic()
JavaClassDescription
isPublic
in interface JavaClassDescription
JavaClassDescription.isPublic()
public void addMethods(String propertyName, String className, boolean createBind, boolean createUnbind) throws SCRDescriptorException
addMethods
in interface ModifiableJavaClassDescription
SCRDescriptorException
ModifiableJavaClassDescription.addMethods(java.lang.String, java.lang.String, boolean, boolean)
protected void createMethod(org.objectweb.asm.ClassWriter cw, String propertyName, String typeName, boolean bind)
public String toString()
toString
in class Object
Object.toString()
public Class<?> getCompiledClass()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |