public interface IlrMutableMethod extends IlrMutableMemberWithParameter, IlrMethod
IlrMethod.IlrGenericMethodInfoMETHOD_KIND_PROPERTY, RAW_METHOD_KIND| Modifier and Type | Method and Description |
|---|---|
void |
addException(IlrClass aClass)
Adds a class to the 'throws' clause of this method.
|
void |
setAbstract(boolean flag)
Sets the 'abstract' property of this method.
|
void |
setOperator(boolean flag)
Sets the 'operator' property of this method.
|
void |
setReturnType(IlrType returnType)
Sets the return type of this method.
|
void |
setSynchronized(boolean flag)
Sets the 'synchronized' property of this method.
|
void |
setVarArgs(boolean flag)
Sets the
varArgs property of this method. |
addParameter, removeParameter, setParameterssetDomain, setFinal, setMemberType, setPackageVisibility, setPrivate, setProtected, setPublic, setStaticgetMutableObjectModelgetGenericInfo, getJavaMethod, getMethodExceptions, getNativeMethod, getReturnType, isAbstract, isConstructor, isMethod, isSynchronized, visitgetParametersgetDeclaringClass, getDomain, getMemberType, isFinal, isPrivate, isProtected, isPublic, isStaticgetEnclosingNamespace, getFullyQualifiedName, getName, getObjectModelisPropertyPersistent, setPersistentProperty, setPersistentPropertygetPropertyValue, getPropertyValue, propertyNames, removeProperty, setPropertyValuevoid setAbstract(boolean flag)
false.flag - the new value of the 'static' property.void setSynchronized(boolean flag)
false.flag - the new value of the 'synchronized' property.void setOperator(boolean flag)
false.flag - the new value of the 'operator' property.void setVarArgs(boolean flag)
varArgs property of this method.
Initially, this property is false.flag - the new value of the 'varArgs' property.void addException(IlrClass aClass)
aClass - the class that is added to the exceptions list.void setReturnType(IlrType returnType)
© Copyright IBM Corp. 1987, 2017