public abstract class TypeInfoBase extends Object implements ITypeInfo
ITypeInfo.FINDIAnnotatedFeatureInfo.IAnnotationInfoHelperTYPEINFO_EXTANNOTATION_HELPER| Constructor and Description |
|---|
TypeInfoBase() |
| Modifier and Type | Method and Description |
|---|---|
IAnnotationInfo |
getAnnotation(IType type) |
List<IAnnotationInfo> |
getAnnotations() |
List<IAnnotationInfo> |
getAnnotationsOfType(IType type) |
IConstructorInfo |
getCallableConstructor(IType... params)
Returns a IConstructorInfo matching the specified parameter types or null
if no match is found.
|
IMethodInfo |
getCallableMethod(CharSequence method,
IType... params)
Returns a IMethodInfo matching the specified name and has parameter types that
produce the best match.
|
IConstructorInfo |
getConstructor(IType... params)
Returns a IConstructorInfo that has parameter types that produce the best match.
|
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.
|
IEventInfo |
getEvent(CharSequence event)
Get an event mapped to the specified name.
|
List<? extends IEventInfo> |
getEvents() |
IMethodInfo |
getMethod(CharSequence methodName,
IType... params)
Returns a IMethodInfo matching the specified name and parameter types or
null if no match is found.
|
String |
getName()
Gets the programmatic name or identifier of this feature.
|
boolean |
hasAnnotation(IType type) |
boolean |
hasDeclaredAnnotation(IType type) |
boolean |
isDefaultImpl() |
boolean |
isDeprecated() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConstructors, getMethods, getProperties, getPropertygetDeclaredAnnotationsgetLocationInfo, getOwnersTypepublic IMethodInfo getMethod(CharSequence methodName, IType... params)
ITypeInfoparams must exactly match those of the target
method in number, order, and type. If null, params is treated
as an empty array.public IMethodInfo getCallableMethod(CharSequence method, IType... params)
ITypeInfogetCallableMethod in interface ITypeInfomethod - The name of the method to find.params - Represents the exact number, order, and type of parameters
in the method. A null value here is treated as an empty array.public IConstructorInfo getConstructor(IType... params)
ITypeInfogetConstructor in interface ITypeInfoparams - Represents the exact number, order, and type of parameters
in the constructor. A null value here is treated as an empty array.public IConstructorInfo getCallableConstructor(IType... params)
ITypeInfogetCallableConstructor in interface ITypeInfoparams - Represents the exact number, order, and type of parameters
in the constructor. A null value here is treated as an empty array.public List<? extends IEventInfo> getEvents()
public IEventInfo getEvent(CharSequence event)
ITypeInfopublic List<IAnnotationInfo> getAnnotations()
getAnnotations in interface IAnnotatedFeatureInfopublic List<IAnnotationInfo> getAnnotationsOfType(IType type)
getAnnotationsOfType in interface IAnnotatedFeatureInfopublic IAnnotationInfo getAnnotation(IType type)
getAnnotation in interface IAnnotatedFeatureInfopublic boolean hasAnnotation(IType type)
hasAnnotation in interface IAnnotatedFeatureInfotype - The type of the annotation to test for existence.public boolean hasDeclaredAnnotation(IType type)
hasDeclaredAnnotation in interface IAnnotatedFeatureInfotype - The type of the annotation to test for existence.public boolean isDeprecated()
isDeprecated in interface IAnnotatedFeatureInfopublic String getDeprecatedReason()
getDeprecatedReason in interface IAnnotatedFeatureInfopublic boolean isDefaultImpl()
isDefaultImpl in interface IAnnotatedFeatureInfopublic IFeatureInfo getContainer()
IFeatureInfogetContainer in interface IFeatureInfopublic String getName()
IFeatureInfogetName in interface IFeatureInfopublic String getDisplayName()
IFeatureInfogetDisplayName in interface IFeatureInfopublic String getDescription()
IFeatureInfogetDescription in interface IFeatureInfoCopyright © 2018. All rights reserved.