public abstract class BaseJavaTypeInfo extends BaseFeatureInfo implements ITypeInfo
ITypeInfo.FINDIAnnotatedFeatureInfo.IAnnotationInfoHelperIAttributedFeatureInfo.MODIFIERTYPEINFO_EXTANNOTATION_HELPER| Constructor and Description |
|---|
BaseJavaTypeInfo(Class javaClass) |
| 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<IAnnotationInfo> |
getDeclaredAnnotations() |
String |
getDescription()
A full description of this feature.
|
String |
getDisplayName()
Gets the display name of this feature.
|
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.
|
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, isReified, isScriptable, isVisible, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetConstructors, getEvent, getEvents, getMethods, getProperties, getPropertygetAnnotation, getAnnotations, getAnnotationsOfType, getDeprecatedReason, hasAnnotation, hasDeclaredAnnotation, isDefaultImpl, isDeprecatedgetContainer, getLocationInfo, getOwnersTypepublic BaseJavaTypeInfo(Class javaClass)
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 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 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.Copyright © 2020. All rights reserved.