public abstract class FeatureManagerTypeInfoBase<T extends CharSequence> extends TypeInfoBase implements IRelativeTypeInfo
IRelativeTypeInfo.AccessibilityITypeInfo.FINDIAnnotatedFeatureInfo.IAnnotationInfoHelperAccessibility_SizeTYPEINFO_EXTANNOTATION_HELPER| Modifier | Constructor and Description |
|---|---|
protected |
FeatureManagerTypeInfoBase(IType ownersType) |
| Modifier and Type | Method and Description |
|---|---|
IRelativeTypeInfo.Accessibility |
getAccessibilityForType(IType whosaskin) |
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.
|
IType |
getCompilingClass() |
IConstructorInfo |
getConstructor(IType... params)
Returns a IConstructorInfo that has parameter types that produce the best match.
|
IConstructorInfo |
getConstructor(IType whosAskin,
IType[] params) |
List<? extends IConstructorInfo> |
getConstructors() |
List<? extends IConstructorInfo> |
getConstructors(IType whosAskin) |
List<IAnnotationInfo> |
getDeclaredAnnotations() |
abstract List<? extends IConstructorInfo> |
getDeclaredConstructors()
Returns a list of
IConstructorInfo objects reflecting all the
constructors declared by the class represented by this
IType object. |
abstract List<? extends IMethodInfo> |
getDeclaredMethods()
Returns a list of
IMethodInfo objects reflecting all the
methods declared by the class or interface represented by this
IType object. |
abstract List<? extends IPropertyInfo> |
getDeclaredProperties()
Returns a list of
IPropertyInfo objects reflecting all the
properties declared by the class or interface represented by this
IType object. |
IMethodInfo |
getMethod(CharSequence methodName,
IType... params)
Returns a IMethodInfo matching the specified name and parameter types or
null if no match is found.
|
IMethodInfo |
getMethod(IType whosaskin,
CharSequence methodName,
IType... params) |
MethodList |
getMethods() |
MethodList |
getMethods(IType whosAskin) |
IType |
getOwnersType()
Get this feature's owner's type.
|
List<? extends IPropertyInfo> |
getProperties() |
List<IPropertyInfo> |
getProperties(IType whosAskin) |
IPropertyInfo |
getProperty(CharSequence propName)
Get a property mapped to the specified name.
|
IPropertyInfo |
getProperty(IType whosAskin,
CharSequence propName) |
boolean |
hasAnnotation(IType type) |
getAnnotation, getAnnotations, getAnnotationsOfType, getContainer, getDeprecatedReason, getDescription, getDisplayName, getEvent, getEvents, getName, hasDeclaredAnnotation, isDefaultImpl, isDeprecatedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAnnotation, getAnnotations, getAnnotationsOfType, getDeprecatedReason, hasDeclaredAnnotation, isDefaultImpl, isDeprecatedgetContainer, getDescription, getDisplayName, getLocationInfo, getNameprotected FeatureManagerTypeInfoBase(IType ownersType)
public final IType getOwnersType()
IFeatureInfogetOwnersType in interface IFeatureInfopublic final IRelativeTypeInfo.Accessibility getAccessibilityForType(IType whosaskin)
getAccessibilityForType in interface IRelativeTypeInfopublic final 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 final List<IPropertyInfo> getProperties(IType whosAskin)
getProperties in interface IRelativeTypeInfopublic final IPropertyInfo getProperty(CharSequence propName)
ITypeInfogetProperty in interface ITypeInfopropName - The property name.public final IPropertyInfo getProperty(IType whosAskin, CharSequence propName)
getProperty in interface IRelativeTypeInfopublic final MethodList getMethods()
getMethods in interface ITypeInfoIMethodInfo
instances. The list is sorted ascending by name. Returns an empty list if
there are no methods.public final MethodList getMethods(IType whosAskin)
getMethods in interface IRelativeTypeInfopublic final List<? extends IConstructorInfo> getConstructors()
getConstructors in interface ITypeInfoIConstructorInfo
instances. The list is sorted ascending by name. Returns an empty list if
there are no constructors.public final List<? extends IConstructorInfo> getConstructors(IType whosAskin)
getConstructors in interface IRelativeTypeInfopublic final 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.getMethod in interface ITypeInfogetMethod in class TypeInfoBasemethodName - 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 final IMethodInfo getMethod(IType whosaskin, CharSequence methodName, IType... params)
getMethod in interface IRelativeTypeInfopublic final IConstructorInfo getConstructor(IType... params)
ITypeInfogetConstructor in interface ITypeInfogetConstructor in class TypeInfoBaseparams - Represents the exact number, order, and type of parameters
in the constructor. A null value here is treated as an empty array.public final IConstructorInfo getConstructor(IType whosAskin, IType[] params)
getConstructor in interface IRelativeTypeInfopublic final List<IAnnotationInfo> getDeclaredAnnotations()
getDeclaredAnnotations in interface IAnnotatedFeatureInfopublic final boolean hasAnnotation(IType type)
hasAnnotation in interface IAnnotatedFeatureInfohasAnnotation in class TypeInfoBasetype - The type of the annotation to test for existence.public abstract List<? extends IPropertyInfo> getDeclaredProperties()
IRelativeTypeInfoIPropertyInfo objects reflecting all the
properties declared by the class or interface represented by this
IType object. This includes public, protected, internal
access, and private properties, but excludes inherited properties.
The elements in the list are ordered by declaration order in the file.
This method returns an empty list if the type does not contain any propertiesgetDeclaredProperties in interface IRelativeTypeInfoIPropertyInfo objects representing all the
declared properties of this classpublic abstract List<? extends IMethodInfo> getDeclaredMethods()
IRelativeTypeInfoIMethodInfo objects reflecting all the
methods declared by the class or interface represented by this
IType object. This includes public, protected, internal
access, and private methods, but excludes inherited methods.
The elements in the list are ordered by declaration order in the file.
This method returns an empty list if the type does not contain any methodsgetDeclaredMethods in interface IRelativeTypeInfoIMethodInfo objects representing all the
declared methods of this classpublic abstract List<? extends IConstructorInfo> getDeclaredConstructors()
IRelativeTypeInfoIConstructorInfo objects reflecting all the
constructors declared by the class represented by this
IType object. This includes public, protected, internal
access, and private constructors. Interfaces and arrays always return an empty list.
The elements in the list are ordered by declaration order in the file.
This method returns an empty list if the type does not contain any methodsgetDeclaredConstructors in interface IRelativeTypeInfoIConstructorInfo objects representing all the
declared methods of this classpublic final IType getCompilingClass()
public IMethodInfo getCallableMethod(CharSequence strMethod, IType... params)
ITypeInfogetCallableMethod in interface ITypeInfogetCallableMethod in class TypeInfoBasestrMethod - 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 ITypeInfogetCallableConstructor in class TypeInfoBaseparams - Represents the exact number, order, and type of parameters
in the constructor. A null value here is treated as an empty array.Copyright © 2016. All rights reserved.