public interface ITypeInfo extends IAnnotatedFeatureInfo
| Modifier and Type | Interface and Description |
|---|---|
static class |
ITypeInfo.FIND
A general purpose class for finding methods and constructors.
|
IAnnotatedFeatureInfo.IAnnotationInfoHelper| Modifier and Type | Field and Description |
|---|---|
static String |
TYPEINFO_EXT |
ANNOTATION_HELPER| 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 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.
|
List<? extends IConstructorInfo> |
getConstructors() |
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.
|
MethodList |
getMethods() |
List<? extends IPropertyInfo> |
getProperties() |
IPropertyInfo |
getProperty(CharSequence propName)
Get a property mapped to the specified name.
|
getAnnotation, getAnnotations, getAnnotationsOfType, getDeclaredAnnotations, getDeprecatedReason, hasAnnotation, hasDeclaredAnnotation, isDefaultImpl, isDeprecatedgetContainer, getDescription, getDisplayName, getLocationInfo, getName, getOwnersTypestatic final String TYPEINFO_EXT
List<? extends IPropertyInfo> getProperties()
IPropertyInfo
instances. The list is sorted ascending by name. Returns an empty list if
there are no properties.IPropertyInfo getProperty(CharSequence propName)
propName - The property name.MethodList getMethods()
IMethodInfo
instances. The list is sorted ascending by name. Returns an empty list if
there are no methods.IMethodInfo getMethod(CharSequence methodName, IType... params)
params must exactly match those of the target
method in number, order, and type. If null, params is treated
as an empty array.methodName - 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.IMethodInfo getCallableMethod(CharSequence method, IType... params)
method - 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.List<? extends IConstructorInfo> getConstructors()
IConstructorInfo
instances. The list is sorted ascending by name. Returns an empty list if
there are no constructors.IConstructorInfo getConstructor(IType... params)
params - Represents the exact number, order, and type of parameters
in the constructor. A null value here is treated as an empty array.IConstructorInfo getCallableConstructor(IType... params)
params - Represents the exact number, order, and type of parameters
in the constructor. A null value here is treated as an empty array.List<? extends IEventInfo> getEvents()
IEventInfo
instances. The list is sorted ascending by name. Returns an empty list if
ther are no events.IEventInfo getEvent(CharSequence event)
event - The event name.Copyright © 2018. All rights reserved.