public class FunctionTypeInfo extends BaseFeatureInfo implements ITypeInfo
ITypeInfo.FINDIAnnotatedFeatureInfo.IAnnotationInfoHelperIAttributedFeatureInfo.MODIFIERTYPEINFO_EXTANNOTATION_HELPER| Constructor and Description |
|---|
FunctionTypeInfo(IFunctionType functionType) |
| Modifier and Type | Method and Description |
|---|---|
IConstructorInfo |
getCallableConstructor(IType... params)
Returns a IConstructorInfo matching the specified parameter types or null
if no match is found.
|
IMethodInfo |
getCallableMethod(CharSequence strMethod,
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.
|
List<IConstructorInfo> |
getConstructors() |
List<IAnnotationInfo> |
getDeclaredAnnotations() |
String |
getDescription()
A full description of this feature.
|
String |
getDisplayName()
Gets the display name of this feature.
|
IEventInfo |
getEvent(CharSequence strEvent)
Get an event mapped to the specified name.
|
List<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.
|
MethodList |
getMethods() |
String |
getName()
Gets the programmatic name or identifier of this feature.
|
List<? extends IPropertyInfo> |
getProperties() |
IPropertyInfo |
getProperty(CharSequence property)
Get a property mapped to the specified name.
|
String |
getShortDescription() |
boolean |
isStatic()
True if this feature is static, meaning the feature is not specific to a
particular instance of the feature's containing type.
|
getAnnotation, getAnnotations, getAnnotationsOfType, getContainer, getDeprecatedReason, getOwnersType, getParamTypes, getSuperAnnotatedElements, hasAnnotation, hasDeclaredAnnotation, isAbstract, isDefaultImpl, isDeprecated, isFinal, isHidden, isInternal, isInternalAPI, isPrivate, isProtected, isPublic, isScriptable, isVisible, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAnnotation, getAnnotations, getAnnotationsOfType, getDeprecatedReason, hasAnnotation, hasDeclaredAnnotation, isDefaultImpl, isDeprecatedgetContainer, getLocationInfo, getOwnersTypepublic FunctionTypeInfo(IFunctionType functionType)
public List<? extends IPropertyInfo> getProperties()
getProperties in interface ITypeInfoIPropertyInfo
instances. The list is sorted ascending by name. Returns an empty list if
there are no properties.public IPropertyInfo getProperty(CharSequence property)
ITypeInfogetProperty in interface ITypeInfoproperty - The property name.public MethodList getMethods()
getMethods in interface ITypeInfoIMethodInfo
instances. The list is sorted ascending by name. Returns an empty list if
there are no methods.public 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 String getName()
IFeatureInfogetName in interface IFeatureInfopublic List<IAnnotationInfo> getDeclaredAnnotations()
getDeclaredAnnotations in interface IAnnotatedFeatureInfopublic String getDisplayName()
IFeatureInfogetDisplayName in interface IFeatureInfogetDisplayName in class BaseFeatureInfopublic String getShortDescription()
public String getDescription()
IFeatureInfogetDescription in interface IFeatureInfogetDescription in class BaseFeatureInfopublic boolean isStatic()
IAttributedFeatureInfoisStatic in interface IAttributedFeatureInfopublic List<IConstructorInfo> getConstructors()
getConstructors in interface ITypeInfoIConstructorInfo
instances. The list is sorted ascending by name. Returns an empty list if
there are no constructors.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 IMethodInfo getCallableMethod(CharSequence strMethod, IType... params)
ITypeInfogetCallableMethod in interface ITypeInfostrMethod - 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 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<IEventInfo> getEvents()
public IEventInfo getEvent(CharSequence strEvent)
ITypeInfoCopyright © 2019. All rights reserved.