public class ClassItemWrapper extends Object implements IClassItem
| Modifier | Constructor and Description |
|---|---|
protected |
ClassItemWrapper(IClass clas,
ClassItem item)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getAccessFlags()
Get access flags.
|
int |
getArgumentCount()
Get number of arguments for method.
|
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.
|
String |
getExceptionJavaDoc(int index)
Get method throws JavaDoc description, if available.
|
String[] |
getExceptions()
Get names of exceptions thrown by method.
|
String |
getGenericsSignature()
Get the generics signature information for item.
|
String |
getJavaDoc()
Get item JavaDoc description, if available.
|
String |
getName()
Get item name.
|
IClass |
getOwningClass()
Get owning class information.
|
String |
getParameterJavaDoc(int index)
Get method parameter JavaDoc description, if available.
|
String |
getParameterName(int index)
Get method parameter name, if available.
|
String |
getReturnJavaDoc()
Get return JavaDoc description for method, if available.
|
String |
getSignature()
Get field or method signature.
|
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 String getName()
IClassItemgetName in interface IClassItempublic String getJavaDoc()
IClassItemgetJavaDoc in interface IClassItemnull if not available)public String getTypeName()
IClassItemgetTypeName in interface IClassItempublic String getReturnJavaDoc()
IClassItemgetReturnJavaDoc in interface IClassItemnull if not available)public int getArgumentCount()
IClassItemgetArgumentCount in interface IClassItem-1 if not a methodpublic String getArgumentType(int index)
IClassItemgetArgumentType in interface IClassItemindex - argument numberpublic String getParameterJavaDoc(int index)
IClassItemgetParameterJavaDoc in interface IClassItemindex - parameter numbernull if not available)public String getParameterName(int index)
IClassItemgetParameterName in interface IClassItemindex - parameter numbernull if not available)public int getAccessFlags()
IClassItemgetAccessFlags in interface IClassItempublic 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 String[] getExceptions()
IClassItemgetExceptions in interface IClassItemnull if
a fieldpublic String getExceptionJavaDoc(int index)
IClassItemgetExceptionJavaDoc in interface IClassItemindex - exception index (into array returned by
IClassItem.getExceptions()null if not available)public String getGenericsSignature()
IClassItemgetGenericsSignature in interface IClassItemnull if none)Copyright © 2005–2016 jibx.org. All rights reserved.