public class JavaMethodInfo extends JavaBaseFeatureInfo implements IJavaMethodInfo
IAttributedFeatureInfo.MODIFIERIAnnotatedFeatureInfo.IAnnotationInfoHelperANNOTATION_HELPER| Constructor and Description |
|---|
JavaMethodInfo(IFeatureInfo container,
IJavaMethodDescriptor md,
boolean forceHidden) |
makeDeprecatedgetAnnotation, getAnnotations, getAnnotationsOfType, getContainer, getOwnersType, getParamTypes, getSuperAnnotatedElements, hasAnnotation, hasDeclaredAnnotation, isInternalAPI, isReified, isScriptableclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisReified, isScriptablegetAnnotation, getAnnotations, getAnnotationsOfType, hasAnnotation, hasDeclaredAnnotationgetContainer, getOwnersTypepublic JavaMethodInfo(IFeatureInfo container, IJavaMethodDescriptor md, boolean forceHidden)
container - Typically this will be the containing ITypeInfomd - The method descriptor (from BeanInfo)public IParameterInfo[] getParameters()
getParameters in interface IHasParameterInfosgetParameters in interface IMethodInfopublic IType getReturnType()
getReturnType in interface IMethodInfopublic static TypeVarToTypeMap addEnclosingTypeParams(IType declaringClass, TypeVarToTypeMap actualParamByVarName)
public List<IAnnotationInfo> getDeclaredAnnotations()
getDeclaredAnnotations in interface IAnnotatedFeatureInfogetDeclaredAnnotations in class JavaBaseFeatureInfopublic IGenericTypeVariable[] getTypeVariables()
getTypeVariables in interface IGenericMethodInfopublic IType getParameterizedReturnType(IType... typeParams)
getParameterizedReturnType in interface IGenericMethodInfopublic IType[] getParameterizedParameterTypes(IType... typeParams)
getParameterizedParameterTypes in interface IGenericMethodInfopublic IType[] getParameterizedParameterTypes2(IType ownersType, IType... typeParams)
getParameterizedParameterTypes2 in interface IGenericMethodInfopublic TypeVarToTypeMap inferTypeParametersFromArgumentTypes(IType... argTypes)
inferTypeParametersFromArgumentTypes in interface IGenericMethodInfopublic TypeVarToTypeMap inferTypeParametersFromArgumentTypes2(IType owningParameterizedType, IType... argTypes)
inferTypeParametersFromArgumentTypes2 in interface IGenericMethodInfopublic IMethodCallHandler getCallHandler()
getCallHandler in interface IMethodInfopublic String getReturnDescription()
getReturnDescription in interface IMethodInfopublic List<IExceptionInfo> getExceptions()
getExceptions in interface IMethodInfopublic String getName()
getName in interface IFeatureInfogetName in interface IMethodInfopublic String getDisplayName()
getDisplayName in interface IFeatureInfogetDisplayName in class BaseFeatureInfopublic String getShortDescription()
getShortDescription in interface IJavaMethodInfopublic String getDescription()
getDescription in interface IFeatureInfogetDescription in class BaseFeatureInfopublic boolean isHidden()
isHidden in interface IAttributedFeatureInfoisHidden in class JavaBaseFeatureInfoprotected boolean isDefaultEnumFeature()
isDefaultEnumFeature in class JavaBaseFeatureInfopublic boolean isVisible(IScriptabilityModifier constraint)
isVisible in interface IAttributedFeatureInfoisVisible in class JavaBaseFeatureInfopublic boolean isStatic()
isStatic in interface IAttributedFeatureInfopublic boolean isPrivate()
isPrivate in interface IAttributedFeatureInfoisPrivate in class BaseFeatureInfopublic boolean isInternal()
isInternal in interface IAttributedFeatureInfoisInternal in class BaseFeatureInfopublic boolean isProtected()
isProtected in interface IAttributedFeatureInfoisProtected in class BaseFeatureInfopublic boolean isPublic()
isPublic in interface IAttributedFeatureInfoisPublic in class BaseFeatureInfopublic boolean isAbstract()
isAbstract in interface IAttributedFeatureInfoisAbstract in class BaseFeatureInfopublic boolean isFinal()
isFinal in interface IAttributedFeatureInfoisFinal in class BaseFeatureInfopublic boolean isDefaultImpl()
isDefaultImpl in interface IAnnotatedFeatureInfoisDefaultImpl in class BaseFeatureInfopublic boolean isDeprecated()
isDeprecated in interface IAnnotatedFeatureInfoisDeprecated in class BaseFeatureInfopublic String getDeprecatedReason()
getDeprecatedReason in interface IAnnotatedFeatureInfogetDeprecatedReason in class BaseFeatureInfopublic boolean hasAnnotationDefault()
hasAnnotationDefault in interface ICanHaveAnnotationDefaultpublic Object getAnnotationDefault()
getAnnotationDefault in interface ICanHaveAnnotationDefaultpublic IExpression[] getDefaultValueExpressions()
getDefaultValueExpressions in interface IOptionalParamCapablepublic String[] getParameterNames()
getParameterNames in interface IOptionalParamCapablepublic IJavaClassMethod getMethod()
getMethod in interface IJavaMethodInfopublic String toString()
toString in class BaseFeatureInfoprotected IJavaAnnotatedElement getAnnotatedElement()
getAnnotatedElement in class JavaBaseFeatureInfoprotected boolean isVisibleViaFeatureDescriptor(IScriptabilityModifier constraint)
isVisibleViaFeatureDescriptor in class JavaBaseFeatureInfoprotected boolean isHiddenViaFeatureDescriptor()
isHiddenViaFeatureDescriptor in class JavaBaseFeatureInfopublic IDocRef<IParamNode> getDocsForParam(int paramIndex)
getDocsForParam in interface JavaHasParamspublic IDocRef<IMethodNode> getMethodDocs()
getMethodDocs in interface IJavaMethodInfopublic Method getRawMethod()
getRawMethod in interface IJavaMethodInfopublic int getModifiers()
getModifiers in interface IJavaMethodInfopublic ILocationInfo getLocationInfo()
getLocationInfo in interface IFeatureInfoCopyright © 2018. All rights reserved.