| org.jibx.binding.model.IClassItem
All known Subclasses: org.jibx.binding.model.ClassItemWrapper,
IClassItem | public interface IClassItem (Code) | | Interface for field or method information. Provides the information needed
for access to the item.
author: Dennis M. Sosnoski version: 1.0 |
getAccessFlags | public int getAccessFlags()(Code) | | Get access flags.
flags for access type of field or method |
getArgumentCount | public int getArgumentCount()(Code) | | Get number of arguments for method.
argument count for method, or -1 if not a method |
getArgumentType | public String getArgumentType(int index)(Code) | | Get argument type as fully qualified class name. This method will throw a
runtime exception if called on a field.
Parameters: index - argument number argument type name |
getExceptionJavaDoc | public String getExceptionJavaDoc(int index)(Code) | | Get method throws JavaDoc description, if available. This method will
throw a runtime exception if called on a field.
Parameters: index - exception index (into array returned byIClassItem.getExceptions() non-empty JavaDoc text (null if not available) |
getExceptions | public String[] getExceptions()(Code) | | Get names of exceptions thrown by method.
array of exceptions thrown by method, or null ifa field |
getGenericsSignature | public String getGenericsSignature()(Code) | | Get the generics signature information for item.
generics signature (null if none) |
getJavaDoc | public String getJavaDoc()(Code) | | Get item JavaDoc description, if available.
non-empty JavaDoc text (null if not available) |
getName | public String getName()(Code) | | Get item name.
item name |
getOwningClass | public IClass getOwningClass()(Code) | | Get owning class information.
owning class information |
getParameterJavaDoc | public String getParameterJavaDoc(int index)(Code) | | Get method parameter JavaDoc description, if available. This method will
throw a runtime exception if called on a field.
Parameters: index - parameter number non-empty JavaDoc text (null if not available) |
getParameterName | public String getParameterName(int index)(Code) | | Get method parameter name, if available. This method will throw a
runtime exception if called on a field.
Parameters: index - parameter number parameter name (null if not available) |
getReturnJavaDoc | public String getReturnJavaDoc()(Code) | | Get return JavaDoc description for method, if available.
non-empty JavaDoc text (null if not available) |
getSignature | public String getSignature()(Code) | | Get field or method signature.
encoded method signature |
getTypeName | public String getTypeName()(Code) | | Get item type as fully qualified class name.
item type name |
isInitializer | public boolean isInitializer()(Code) | | Check if item is an initializer.
true if an initializer, false if afield or normal method |
isMethod | public boolean isMethod()(Code) | | Check if item is a method.
true if a method, false if a field |
|
|