public class SimpleMethodInfo extends BaseFeatureInfo implements IMethodInfo
IAttributedFeatureInfo.MODIFIERIAnnotatedFeatureInfo.IAnnotationInfoHelperANNOTATION_HELPER| Constructor and Description |
|---|
SimpleMethodInfo(ScriptabilityModifier modifier,
IJavaClassInfo clazz,
String methodName,
IJavaClassInfo... paramTypes) |
| Modifier and Type | Method and Description |
|---|---|
IMethodCallHandler |
getCallHandler() |
List<IAnnotationInfo> |
getDeclaredAnnotations() |
List<IExceptionInfo> |
getExceptions() |
String |
getName()
Gets the programmatic name or identifier of this feature.
|
IParameterInfo[] |
getParameters() |
String |
getReturnDescription() |
IType |
getReturnType() |
boolean |
isStatic()
True if this feature is static, meaning the feature is not specific to a
particular instance of the feature's containing type.
|
boolean |
isVisible(IScriptabilityModifier constraint)
Determine if this feature is visible given a visibility constraint.
|
getAnnotation, getAnnotations, getAnnotationsOfType, getContainer, getDeprecatedReason, getDescription, getDisplayName, getOwnersType, getParamTypes, getSuperAnnotatedElements, hasAnnotation, hasDeclaredAnnotation, isAbstract, isDefaultImpl, isDeprecated, isFinal, isHidden, isInternal, isInternalAPI, isPrivate, isProtected, isPublic, isReified, isScriptable, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisAbstract, isFinal, isHidden, isInternal, isPrivate, isProtected, isPublic, isReified, isScriptablegetAnnotation, getAnnotations, getAnnotationsOfType, getDeprecatedReason, hasAnnotation, hasDeclaredAnnotation, isDefaultImpl, isDeprecatedgetContainer, getDescription, getDisplayName, getLocationInfo, getOwnersTypepublic SimpleMethodInfo(ScriptabilityModifier modifier, IJavaClassInfo clazz, String methodName, IJavaClassInfo... paramTypes)
public List<IAnnotationInfo> getDeclaredAnnotations()
getDeclaredAnnotations in interface IAnnotatedFeatureInfopublic boolean isVisible(IScriptabilityModifier constraint)
IAttributedFeatureInfoNOTE: implementers of this method are responsible for handling the null case, taken to mean that there are not scriptability constraints.
isVisible in interface IAttributedFeatureInfoisVisible in class BaseFeatureInfopublic boolean isStatic()
IAttributedFeatureInfoisStatic in interface IAttributedFeatureInfopublic String getName()
IFeatureInfogetName in interface IFeatureInfogetName in interface IMethodInfopublic IParameterInfo[] getParameters()
getParameters in interface IHasParameterInfosgetParameters in interface IMethodInfopublic IType getReturnType()
getReturnType in interface IMethodInfopublic IMethodCallHandler getCallHandler()
getCallHandler in interface IMethodInfopublic String getReturnDescription()
getReturnDescription in interface IMethodInfopublic List<IExceptionInfo> getExceptions()
getExceptions in interface IMethodInfoCopyright © 2021. All rights reserved.