public abstract class BaseFeatureInfo extends Object implements IAttributedFeatureInfo
IAttributedFeatureInfo.MODIFIERIAnnotatedFeatureInfo.IAnnotationInfoHelperANNOTATION_HELPER| Constructor and Description |
|---|
BaseFeatureInfo(IFeatureInfo container) |
BaseFeatureInfo(IType intrType) |
| Modifier and Type | Method and Description |
|---|---|
IAnnotationInfo |
getAnnotation(IType type) |
List<IAnnotationInfo> |
getAnnotations() |
List<IAnnotationInfo> |
getAnnotationsOfType(IType type)
Returns the list of annotations exactly matching the annotation passed in.
|
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.
|
IType |
getOwnersType()
Get this feature's owner's type.
|
static IType[] |
getParamTypes(IParameterInfo[] parameters) |
protected Collection<BaseFeatureInfo> |
getSuperAnnotatedElements() |
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 |
isInternalAPI() |
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 |
isVisible(IScriptabilityModifier constraint)
Determine if this feature is visible given a visibility constraint.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisStaticgetDeclaredAnnotationsgetLocationInfo, getNamepublic BaseFeatureInfo(IFeatureInfo container)
public BaseFeatureInfo(IType intrType)
public IFeatureInfo getContainer()
IFeatureInfogetContainer in interface IFeatureInfopublic String getDisplayName()
IFeatureInfogetDisplayName in interface IFeatureInfopublic String getDescription()
IFeatureInfogetDescription in interface IFeatureInfopublic IType getOwnersType()
IFeatureInfogetOwnersType in interface IFeatureInfopublic List<IAnnotationInfo> getAnnotationsOfType(IType type)
getAnnotationsOfType in interface IAnnotatedFeatureInfotype - the type to look forpublic boolean hasAnnotation(IType type)
hasAnnotation in interface IAnnotatedFeatureInfotype - The type of the annotation to test for existence.public 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> getAnnotations()
getAnnotations 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 isScriptable()
IAttributedFeatureInfoisScriptable in interface IAttributedFeatureInfopublic boolean isHidden()
IAttributedFeatureInfoisHidden in interface IAttributedFeatureInfopublic boolean isInternalAPI()
public boolean isAbstract()
isAbstract in interface IAttributedFeatureInfopublic boolean isFinal()
isFinal in interface IAttributedFeatureInfopublic boolean isDefaultImpl()
isDefaultImpl in interface IAnnotatedFeatureInfopublic boolean isDeprecated()
isDeprecated in interface IAnnotatedFeatureInfopublic String getDeprecatedReason()
getDeprecatedReason in interface IAnnotatedFeatureInfopublic boolean isPrivate()
IAttributedFeatureInfoisPrivate in interface IAttributedFeatureInfopublic boolean isInternal()
IAttributedFeatureInfoisInternal in interface IAttributedFeatureInfopublic boolean isProtected()
IAttributedFeatureInfoisProtected in interface IAttributedFeatureInfopublic boolean isPublic()
IAttributedFeatureInfoisPublic in interface IAttributedFeatureInfoprotected Collection<BaseFeatureInfo> getSuperAnnotatedElements()
public static IType[] getParamTypes(IParameterInfo[] parameters)
Copyright © 2019. All rights reserved.