public abstract class MethodInfoBase extends Object implements IMethodInfo
IAttributedFeatureInfo.MODIFIERIAnnotatedFeatureInfo.IAnnotationInfoHelperANNOTATION_HELPER| Modifier | Constructor and Description |
|---|---|
protected |
MethodInfoBase(ITypeInfo container) |
| Modifier and Type | Method and Description |
|---|---|
IAnnotationInfo |
getAnnotation(IType type) |
List<IAnnotationInfo> |
getAnnotations() |
List<IAnnotationInfo> |
getAnnotationsOfType(IType type) |
IFeatureInfo |
getContainer()
Get this feature's containing feature.
|
String |
getDeprecatedReason() |
String |
getDescription()
A full description of this feature.
|
String |
getDisplayName()
Gets the display name of this feature.
|
List<IExceptionInfo> |
getExceptions() |
IType |
getOwnersType()
Get this feature's owner's type.
|
String |
getReturnDescription() |
boolean |
hasAnnotation(IType type) |
boolean |
hasDeclaredAnnotation(IType type) |
boolean |
isAbstract() |
boolean |
isDefaultImpl() |
boolean |
isDeprecated() |
boolean |
isFinal() |
boolean |
isHidden()
True if this feature is hidden.
|
boolean |
isInternal()
True if this feature is internal.
|
boolean |
isPrivate()
True if this feature is private.
|
boolean |
isProtected()
True if this feature is protected.
|
boolean |
isPublic()
True if this feature is public.
|
boolean |
isScriptable()
True if this feature is exposed for scripting.
|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCallHandler, getName, getParameters, getReturnTypeisReifiedgetDeclaredAnnotationsgetLocationInfoprotected MethodInfoBase(ITypeInfo container)
public String getReturnDescription()
getReturnDescription in interface IMethodInfopublic List<IExceptionInfo> getExceptions()
getExceptions in interface IMethodInfopublic boolean isScriptable()
IAttributedFeatureInfoisScriptable in interface IAttributedFeatureInfopublic boolean isDeprecated()
isDeprecated in interface IAnnotatedFeatureInfopublic String getDeprecatedReason()
getDeprecatedReason in interface IAnnotatedFeatureInfopublic boolean isDefaultImpl()
isDefaultImpl 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 IAttributedFeatureInfopublic boolean isHidden()
IAttributedFeatureInfoisHidden in interface IAttributedFeatureInfopublic boolean isStatic()
IAttributedFeatureInfoisStatic in interface IAttributedFeatureInfopublic boolean isPrivate()
IAttributedFeatureInfoisPrivate in interface IAttributedFeatureInfopublic boolean isInternal()
IAttributedFeatureInfoisInternal in interface IAttributedFeatureInfopublic boolean isProtected()
IAttributedFeatureInfoisProtected in interface IAttributedFeatureInfopublic boolean isPublic()
IAttributedFeatureInfoisPublic in interface IAttributedFeatureInfopublic boolean isAbstract()
isAbstract in interface IAttributedFeatureInfopublic boolean isFinal()
isFinal in interface IAttributedFeatureInfopublic List<IAnnotationInfo> getAnnotations()
getAnnotations in interface IAnnotatedFeatureInfopublic IAnnotationInfo getAnnotation(IType type)
getAnnotation in interface IAnnotatedFeatureInfopublic boolean hasDeclaredAnnotation(IType type)
hasDeclaredAnnotation in interface IAnnotatedFeatureInfotype - The type of the annotation to test for existence.public List<IAnnotationInfo> getAnnotationsOfType(IType type)
getAnnotationsOfType in interface IAnnotatedFeatureInfopublic boolean hasAnnotation(IType type)
hasAnnotation in interface IAnnotatedFeatureInfotype - The type of the annotation to test for existence.public IFeatureInfo getContainer()
IFeatureInfogetContainer in interface IFeatureInfopublic IType getOwnersType()
IFeatureInfogetOwnersType in interface IFeatureInfopublic String getDisplayName()
IFeatureInfogetDisplayName in interface IFeatureInfopublic String getDescription()
IFeatureInfogetDescription in interface IFeatureInfoCopyright © 2017. All rights reserved.