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