public class

MethodInfo

extends MemberInfo
implements AbstractMethodInfo
java.lang.Object
   ↳ com.google.doclava.DocInfo
     ↳ com.google.doclava.MemberInfo
       ↳ com.google.doclava.MethodInfo

Summary

Fields
public static final Comparator<MethodInfo> comparator
Public Constructors
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 Methods
void addException(String exec)
void addParameter(ParameterInfo p)
MethodInfo cloneForClass(ClassInfo newContainingClass)
AnnotationValueInfo defaultAnnotationElementValue()
TagInfo[] deprecatedTags()
MethodInfo findOverriddenMethod(String name, String signature)
ClassInfo findRealOverriddenClass(String name, String signature)
MethodInfo findRealOverriddenMethod(MethodInfo other, HashSet<ClassInfo> notStrippable)
MethodInfo findSuperclassImplementation(HashSet notStrippable)
InheritedTags firstSentenceTags()
String flatSignature()
String getHashableName()
Returns a name consistent with the getHashableName().
String getReason()
TypeInfo[] getTypeParameters()
void init(AnnotationValueInfo defaultAnnotationElementValue)
InheritedTags inlineTags()
boolean isAbstract()
boolean isAnnotationElement()
boolean isConsistent(MethodInfo mInfo)
boolean isDeprecated()
boolean isExecutable()
boolean isNative()
boolean isSynchronized()
boolean isVarArgs()
void makeHDF(Data data, String base)
boolean matches(MethodInfo other)
boolean matchesParams(String[] params, String[] dimensions, boolean varargs)
ParamTagInfo[] paramTags()
ParameterInfo[] parameters()
String prettyParameters()
Returns a printable version of the parameters of this method's signature.
String prettySignature()
String qualifiedName()
InheritedTags returnTags()
TypeInfo returnType()
SeeTagInfo[] seeTags()
void setDeprecated(boolean deprecated)
void setReason(String reason)
void setVarargs(boolean set)
String signature()
ClassInfo[] thrownExceptions()
boolean throwsException(ClassInfo exception)
ThrowsTagInfo[] throwsTags()
String toString()
String typeArgumentsName(HashSet<String> typeVars)
HashSet<String> typeVariables()
[Expand]
Inherited Methods
From class com.google.doclava.MemberInfo
From class com.google.doclava.DocInfo
From class java.lang.Object
From interface com.google.doclava.Scoped
From interface com.google.doclava.apicheck.AbstractMethodInfo
From interface java.lang.Comparable

Fields

public static final Comparator<MethodInfo> comparator

Public Constructors

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 Methods

public void addException (String exec)

public void addParameter (ParameterInfo p)

public MethodInfo cloneForClass (ClassInfo newContainingClass)

public AnnotationValueInfo defaultAnnotationElementValue ()

public TagInfo[] deprecatedTags ()

public MethodInfo findOverriddenMethod (String name, String signature)

public ClassInfo findRealOverriddenClass (String name, String signature)

public MethodInfo findRealOverriddenMethod (MethodInfo other, HashSet<ClassInfo> notStrippable)

public MethodInfo findSuperclassImplementation (HashSet notStrippable)

public InheritedTags firstSentenceTags ()

public String flatSignature ()

public String getHashableName ()

Returns a name consistent with the getHashableName().

public String getReason ()

public TypeInfo[] getTypeParameters ()

public void init (AnnotationValueInfo defaultAnnotationElementValue)

public InheritedTags inlineTags ()

public boolean isAbstract ()

public boolean isAnnotationElement ()

public boolean isConsistent (MethodInfo mInfo)

public boolean isDeprecated ()

public boolean isExecutable ()

public boolean isNative ()

public boolean isSynchronized ()

public boolean isVarArgs ()

public void makeHDF (Data data, String base)

public boolean matches (MethodInfo other)

public boolean matchesParams (String[] params, String[] dimensions, boolean varargs)

public ParamTagInfo[] paramTags ()

public ParameterInfo[] parameters ()

public String prettyParameters ()

Returns a printable version of the parameters of this method's signature.

public String prettySignature ()

public String qualifiedName ()

public InheritedTags returnTags ()

public TypeInfo returnType ()

public SeeTagInfo[] seeTags ()

public void setDeprecated (boolean deprecated)

public void setReason (String reason)

public void setVarargs (boolean set)

public String signature ()

public ClassInfo[] thrownExceptions ()

public boolean throwsException (ClassInfo exception)

public ThrowsTagInfo[] throwsTags ()

public String toString ()

public String typeArgumentsName (HashSet<String> typeVars)

public HashSet<String> typeVariables ()