ClassItemSourceWrapper
, ClassItemWrapper
public interface IClassItem
Modifier and Type | Method | Description |
---|---|---|
int |
getAccessFlags() |
Get access flags.
|
int |
getArgumentCount() |
Get number of arguments for method.
|
java.lang.String |
getArgumentType(int index) |
Get argument type as fully qualified class name.
|
java.lang.String |
getExceptionJavaDoc(int index) |
Get method throws JavaDoc description, if available.
|
java.lang.String[] |
getExceptions() |
Get names of exceptions thrown by method.
|
java.lang.String |
getGenericsSignature() |
Get the generics signature information for item.
|
java.lang.String |
getJavaDoc() |
Get item JavaDoc description, if available.
|
java.lang.String |
getName() |
Get item name.
|
IClass |
getOwningClass() |
Get owning class information.
|
java.lang.String |
getParameterJavaDoc(int index) |
Get method parameter JavaDoc description, if available.
|
java.lang.String |
getParameterName(int index) |
Get method parameter name, if available.
|
java.lang.String |
getReturnJavaDoc() |
Get return JavaDoc description for method, if available.
|
java.lang.String |
getSignature() |
Get field or method signature.
|
java.lang.String |
getTypeName() |
Get item type as fully qualified class name.
|
boolean |
isInitializer() |
Check if item is an initializer.
|
boolean |
isMethod() |
Check if item is a method.
|
IClass getOwningClass()
java.lang.String getName()
java.lang.String getJavaDoc()
null
if not available)java.lang.String getTypeName()
java.lang.String getReturnJavaDoc()
null
if not available)int getArgumentCount()
-1
if not a methodjava.lang.String getArgumentType(int index)
index
- argument numberjava.lang.String getParameterName(int index)
index
- parameter numbernull
if not available)java.lang.String getParameterJavaDoc(int index)
index
- parameter numbernull
if not available)int getAccessFlags()
java.lang.String getSignature()
boolean isMethod()
true
if a method, false
if a fieldboolean isInitializer()
true
if an initializer, false
if a
field or normal methodjava.lang.String[] getExceptions()
null
if
a fieldjava.lang.String getExceptionJavaDoc(int index)
index
- exception index (into array returned by
getExceptions()
null
if not available)java.lang.String getGenericsSignature()
null
if none)