IClassItemClassItemSourceWrapperpublic class ClassItemWrapper extends java.lang.Object implements IClassItem
| Modifier and Type | Field | Description |
|---|---|---|
private IClass |
m_class |
|
private ClassItem |
m_item |
| Modifier | Constructor | Description |
|---|---|---|
protected |
ClassItemWrapper(IClass clas,
ClassItem item) |
Constructor.
|
| 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.
|
protected ClassItem |
getClassItem() |
Get class item information.
|
protected IClass |
getContainingClass() |
Get containing class information.
|
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.
|
protected IClass getContainingClass()
protected ClassItem getClassItem()
public IClass getOwningClass()
IClassItemgetOwningClass in interface IClassItempublic java.lang.String getName()
IClassItemgetName in interface IClassItempublic java.lang.String getJavaDoc()
IClassItemgetJavaDoc in interface IClassItemnull if not available)public java.lang.String getTypeName()
IClassItemgetTypeName in interface IClassItempublic java.lang.String getReturnJavaDoc()
IClassItemgetReturnJavaDoc in interface IClassItemnull if not available)public int getArgumentCount()
IClassItemgetArgumentCount in interface IClassItem-1 if not a methodpublic java.lang.String getArgumentType(int index)
IClassItemgetArgumentType in interface IClassItemindex - argument numberpublic java.lang.String getParameterJavaDoc(int index)
IClassItemgetParameterJavaDoc in interface IClassItemindex - parameter numbernull if not available)public java.lang.String getParameterName(int index)
IClassItemgetParameterName in interface IClassItemindex - parameter numbernull if not available)public int getAccessFlags()
IClassItemgetAccessFlags in interface IClassItempublic java.lang.String getSignature()
IClassItemgetSignature in interface IClassItempublic boolean isMethod()
IClassItemisMethod in interface IClassItemtrue if a method, false if a fieldpublic boolean isInitializer()
IClassItemisInitializer in interface IClassItemtrue if an initializer, false if a
field or normal methodpublic java.lang.String[] getExceptions()
IClassItemgetExceptions in interface IClassItemnull if
a fieldpublic java.lang.String getExceptionJavaDoc(int index)
IClassItemgetExceptionJavaDoc in interface IClassItemindex - exception index (into array returned by
IClassItem.getExceptions()null if not available)public java.lang.String getGenericsSignature()
IClassItemgetGenericsSignature in interface IClassItemnull if none)