|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JavaClassDescription
JavaClassDescription.java
...
Description of a java class
Field Summary | |
---|---|
static JavaClassDescription[] |
EMPTY_RESULT
|
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? |
Field Detail |
---|
static final JavaClassDescription[] EMPTY_RESULT
Method Detail |
---|
JavaTag getTagByName(java.lang.String name)
name
-
JavaTag[] getTagsByName(java.lang.String name, boolean inherited) throws org.apache.maven.plugin.MojoExecutionException
name
- inherited
- If true, parent classes are searched as well.
org.apache.maven.plugin.MojoExecutionException
JavaClassDescription getSuperClass() throws org.apache.maven.plugin.MojoExecutionException
null
if this class is the
Object class.
org.apache.maven.plugin.MojoExecutionException
java.lang.String getName()
JavaField[] getFields()
JavaField getFieldByName(java.lang.String name) throws org.apache.maven.plugin.MojoExecutionException
name
- The name of the field
org.apache.maven.plugin.MojoExecutionException
JavaField getExternalFieldByName(java.lang.String name) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
JavaClassDescription[] getImplementedInterfaces() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
JavaMethod getMethodBySignature(java.lang.String name, java.lang.String[] parameters) throws org.apache.maven.plugin.MojoExecutionException
name
- parameters
-
null
org.apache.maven.plugin.MojoExecutionException
boolean isPublic()
boolean isAbstract()
boolean isInterface()
JavaMethod[] getMethods()
boolean isA(java.lang.String type) throws org.apache.maven.plugin.MojoExecutionException
type
-
org.apache.maven.plugin.MojoExecutionException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |