public interface IlrMethod extends IlrMemberWithParameter
| Modifier and Type | Interface and Description |
|---|---|
static interface |
IlrMethod.IlrGenericMethodInfo
This interface provides the information for generic methods
and instantiations of these generic methods.
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
METHOD_KIND_PROPERTY |
static java.lang.String |
RAW_METHOD_KIND |
| Modifier and Type | Method and Description |
|---|---|
IlrMethod.IlrGenericMethodInfo |
getGenericInfo()
Returns the generic information about this method,
or
null if the method is neither a generic
nor an instantiation of a generic method. |
java.lang.reflect.Method |
getJavaMethod()
Deprecated.
use getNativeMethod instead.
|
java.util.List |
getMethodExceptions()
Returns a list of classes that are exceptions that may be thrown
by this method.
|
java.lang.reflect.Method |
getNativeMethod()
Returns the native method represented by this
IlrMethod or null if otherwise. |
IlrType |
getReturnType()
Returns the return type of the method.
|
boolean |
isAbstract()
Returns
true if the method is abstract. |
boolean |
isConstructor()
Returns
true if the method is a constructor. |
boolean |
isMethod()
Returns
true if the method is not a constructor. |
boolean |
isSynchronized()
Returns
true if the method is synchronized. |
boolean |
visit(IlrObjectModel.Visitor visitor)
Deprecated.
use IlrVisitor instead.
|
getParametersgetDeclaringClass, getDomain, getMemberType, isFinal, isPrivate, isProtected, isPublic, isStaticgetEnclosingNamespace, getFullyQualifiedName, getName, getObjectModelisPropertyPersistent, setPersistentProperty, setPersistentPropertygetPropertyValue, getPropertyValue, propertyNames, removeProperty, setPropertyValuestatic final java.lang.String METHOD_KIND_PROPERTY
static final java.lang.String RAW_METHOD_KIND
IlrMethod.IlrGenericMethodInfo getGenericInfo()
null if the method is neither a generic
nor an instantiation of a generic method.null.boolean isAbstract()
true if the method is abstract.boolean isSynchronized()
true if the method is synchronized.boolean isMethod()
true if the method is not a constructor.boolean isConstructor()
true if the method is a constructor.IlrType getReturnType()
java.util.List getMethodExceptions()
Note: If the method throws no exceptions, the
return value may be null, or it may be an empty list.
boolean visit(IlrObjectModel.Visitor visitor)
visitXXX methods for the types
referred to by this method (the return type, the parameter types and the exceptions)
If a call to one of the visitor's visitXXX methods returns
false then this method immediately returns the value
false. Otherwise true is returned after all of the
elements have been visited.visitor - A visitor.true if the method has been entirely visited.java.lang.reflect.Method getJavaMethod()
null.java.lang.reflect.Method getNativeMethod()
IlrMethod or null if otherwise.© Copyright IBM Corp. 1987, 2024