|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.scrplugin.tags.cl.ClassLoaderJavaClassDescription
public class ClassLoaderJavaClassDescription
ClassLoaderJavaClassDescription.java
...
Field Summary | |
---|---|
protected java.lang.Class |
clazz
|
protected Component |
component
|
protected static JavaTag[] |
EMPTY_TAGS
|
protected JavaClassDescriptorManager |
manager
|
Fields inherited from interface org.apache.felix.scrplugin.tags.JavaClassDescription |
---|
EMPTY_RESULT |
Constructor Summary | |
---|---|
ClassLoaderJavaClassDescription(java.lang.Class c,
Component comp,
JavaClassDescriptorManager m)
|
Method Summary | |
---|---|
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 |
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 boolean |
testClass(java.lang.Class c,
java.lang.String type)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static final JavaTag[] EMPTY_TAGS
protected final java.lang.Class clazz
protected final JavaClassDescriptorManager manager
protected final Component component
Constructor Detail |
---|
public ClassLoaderJavaClassDescription(java.lang.Class c, Component comp, JavaClassDescriptorManager m)
Method Detail |
---|
public JavaField[] getFields()
JavaClassDescription
getFields
in interface JavaClassDescription
JavaClassDescription.getFields()
public JavaField getFieldByName(java.lang.String name) throws org.apache.maven.plugin.MojoExecutionException
JavaClassDescription
getFieldByName
in interface JavaClassDescription
name
- The name of the field
org.apache.maven.plugin.MojoExecutionException
JavaClassDescription.getFieldByName(java.lang.String)
public JavaField getExternalFieldByName(java.lang.String name) throws org.apache.maven.plugin.MojoExecutionException
getExternalFieldByName
in interface JavaClassDescription
org.apache.maven.plugin.MojoExecutionException
JavaClassDescription.getExternalFieldByName(java.lang.String)
public JavaClassDescription[] getImplementedInterfaces() throws org.apache.maven.plugin.MojoExecutionException
JavaClassDescription
getImplementedInterfaces
in interface JavaClassDescription
org.apache.maven.plugin.MojoExecutionException
JavaClassDescription.getImplementedInterfaces()
public JavaMethod getMethodBySignature(java.lang.String name, java.lang.String[] parameters) throws org.apache.maven.plugin.MojoExecutionException
JavaClassDescription
getMethodBySignature
in interface JavaClassDescription
null
org.apache.maven.plugin.MojoExecutionException
JavaClassDescription.getMethodBySignature(java.lang.String, java.lang.String[])
public JavaMethod[] getMethods()
JavaClassDescription
getMethods
in interface JavaClassDescription
JavaClassDescription.getMethods()
public java.lang.String getName()
JavaClassDescription
getName
in interface JavaClassDescription
JavaClassDescription.getName()
public JavaClassDescription getSuperClass() throws org.apache.maven.plugin.MojoExecutionException
JavaClassDescription
getSuperClass
in interface JavaClassDescription
null
if this class is the
Object class.
org.apache.maven.plugin.MojoExecutionException
JavaClassDescription.getSuperClass()
public JavaTag getTagByName(java.lang.String name)
JavaClassDescription
getTagByName
in interface JavaClassDescription
JavaClassDescription.getTagByName(java.lang.String)
public JavaTag[] getTagsByName(java.lang.String name, boolean inherited) throws org.apache.maven.plugin.MojoExecutionException
JavaClassDescription
getTagsByName
in interface JavaClassDescription
inherited
- If true, parent classes are searched as well.
org.apache.maven.plugin.MojoExecutionException
JavaClassDescription.getTagsByName(java.lang.String, boolean)
public boolean isA(java.lang.String type)
JavaClassDescription
isA
in interface JavaClassDescription
JavaClassDescription.isA(java.lang.String)
protected boolean testClass(java.lang.Class c, java.lang.String type)
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 java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |