public class MethodInfo extends MemberInfo implements AbstractMethodInfo
Modifier and Type | Field and Description |
---|---|
static Comparator<MethodInfo> |
comparator |
Constructor and Description |
---|
MethodInfo(String rawCommentText,
TypeInfo[] typeParameters,
String name,
String signature,
ClassInfo containingClass,
ClassInfo realContainingClass,
boolean isPublic,
boolean isProtected,
boolean isPackagePrivate,
boolean isPrivate,
boolean isFinal,
boolean isStatic,
boolean isSynthetic,
boolean isAbstract,
boolean isSynchronized,
boolean isNative,
boolean isAnnotationElement,
String kind,
String flatSignature,
MethodInfo overriddenMethod,
TypeInfo returnType,
ParameterInfo[] parameters,
ClassInfo[] thrownExceptions,
SourcePositionInfo position,
AnnotationInstanceInfo[] annotations) |
anchor, annotations, checkLevel, compareTo, containingClass, isDefinedLocally, isFinal, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isSynthetic, kind, name, parent, realContainingClass, relativePath, scope
addFederatedReference, comment, getFederatedReferences, getRawCommentText, getSince, htmlPage, isDocOnly, isHidden, position, setFederatedReferences, setSince
public static final Comparator<MethodInfo> comparator
public MethodInfo(String rawCommentText, TypeInfo[] typeParameters, String name, String signature, ClassInfo containingClass, ClassInfo realContainingClass, boolean isPublic, boolean isProtected, boolean isPackagePrivate, boolean isPrivate, boolean isFinal, boolean isStatic, boolean isSynthetic, boolean isAbstract, boolean isSynchronized, boolean isNative, boolean isAnnotationElement, String kind, String flatSignature, MethodInfo overriddenMethod, TypeInfo returnType, ParameterInfo[] parameters, ClassInfo[] thrownExceptions, SourcePositionInfo position, AnnotationInstanceInfo[] annotations)
public MethodInfo findOverriddenMethod(String name, String signature)
public MethodInfo findRealOverriddenMethod(MethodInfo other, HashSet<ClassInfo> notStrippable)
public MethodInfo findSuperclassImplementation(HashSet notStrippable)
public boolean isDeprecated()
public void setDeprecated(boolean deprecated)
setDeprecated
in interface AbstractMethodInfo
public TypeInfo[] getTypeParameters()
public MethodInfo cloneForClass(ClassInfo newContainingClass)
public void init(AnnotationValueInfo defaultAnnotationElementValue)
public boolean isAbstract()
public boolean isSynchronized()
public boolean isNative()
public String flatSignature()
public InheritedTags inlineTags()
public InheritedTags firstSentenceTags()
public InheritedTags returnTags()
public TypeInfo returnType()
public String prettySignature()
public String prettyParameters()
public String getHashableName()
getHashableName()
.public ThrowsTagInfo[] throwsTags()
public ParamTagInfo[] paramTags()
public SeeTagInfo[] seeTags()
public TagInfo[] deprecatedTags()
public ParameterInfo[] parameters()
public void makeHDF(com.google.clearsilver.jsilver.data.Data data, String base)
public boolean isExecutable()
isExecutable
in class MemberInfo
public ClassInfo[] thrownExceptions()
public boolean isAnnotationElement()
public AnnotationValueInfo defaultAnnotationElementValue()
public void setVarargs(boolean set)
setVarargs
in interface AbstractMethodInfo
public boolean isVarArgs()
isVarArgs
in interface AbstractMethodInfo
public void setReason(String reason)
public String getReason()
public void addException(String exec)
addException
in interface AbstractMethodInfo
public void addParameter(ParameterInfo p)
addParameter
in interface AbstractMethodInfo
public String qualifiedName()
public String signature()
signature
in class MemberInfo
public boolean matches(MethodInfo other)
public boolean throwsException(ClassInfo exception)
public boolean isConsistent(MethodInfo mInfo)
Copyright © 2010-2014 Google. All Rights Reserved.