| java.lang.Object com.sun.tools.javadoc.DocImpl com.sun.tools.javadoc.ProgramElementDocImpl com.sun.tools.javadoc.MemberDocImpl com.sun.tools.javadoc.ExecutableMemberDocImpl
All known Subclasses: com.sun.tools.javadoc.ConstructorDocImpl, com.sun.tools.javadoc.MethodDocImpl,
ExecutableMemberDocImpl | abstract public class ExecutableMemberDocImpl extends MemberDocImpl implements ExecutableMemberDoc(Code) | | Represents a method or constructor of a java class.
since: 1.2 author: Robert Field author: Neal Gafter (rewrite) author: Scott Seligman (generics, annotations) |
Field Summary | |
final protected MethodSymbol | sym |
sym | final protected MethodSymbol sym(Code) | | |
ExecutableMemberDocImpl | public ExecutableMemberDocImpl(DocEnv env, MethodSymbol sym)(Code) | | Constructor.
|
flatSignature | public String flatSignature()(Code) | | Get flat signature. All types are not qualified.
Return a String, which is the flat signiture of this member.
It is the parameter list, type is not qualified.
For instance, for a method mymethod(String x, int y) ,
it will return (String, int) .
|
getContainingClass | protected ClassSymbol getContainingClass()(Code) | | Identify the containing class
|
getFlags | protected long getFlags()(Code) | | Returns the flags in terms of javac's flags
|
isIncluded | public boolean isIncluded()(Code) | | |
isNative | public boolean isNative()(Code) | | Return true if this method is native
|
isSynchronized | public boolean isSynchronized()(Code) | | Return true if this method is synchronized
|
isSynthetic | public boolean isSynthetic()(Code) | | Returns true if this field was synthesized by the compiler.
|
isVarArgs | public boolean isVarArgs()(Code) | | Return true if this method was declared to take a variable number
of arguments.
|
paramTags | public ParamTag[] paramTags()(Code) | | Return the param tags in this method, excluding the type
parameter tags.
an array of ParamTagImpl containing all @param tags. |
parameters | public Parameter[] parameters()(Code) | | Get argument information.
See Also: ParameterImpl an array of ParameterImpl, one element per argumentin the order the arguments are present. |
position | public SourcePosition position()(Code) | | Return the source position of the entity, or null if
no position is available.
|
signature | public String signature()(Code) | | Get the signature. It is the parameter list, type is qualified.
For instance, for a method mymethod(String x, int y) ,
it will return (java.lang.String,int) .
|
thrownExceptionTypes | public com.sun.javadoc.Type[] thrownExceptionTypes()(Code) | | Return exceptions this method or constructor throws.
Each array element is either a ClassDoc or a
TypeVariable .
|
thrownExceptions | public ClassDoc[] thrownExceptions()(Code) | | Return exceptions this method or constructor throws.
an array of ClassDoc[] representing the exceptionsthrown by this method. |
throwsTags | public ThrowsTag[] throwsTags()(Code) | | Return the throws tags in this method.
an array of ThrowTagImpl containing all @exception and @throws tags. |
typeParamTags | public ParamTag[] typeParamTags()(Code) | | Return the type parameter tags in this method.
|
typeParameters | public TypeVariable[] typeParameters()(Code) | | Return the formal type parameters of this method or constructor.
Return an empty array if there are none.
|
typeParametersString | protected String typeParametersString()(Code) | | |
Methods inherited from com.sun.tools.javadoc.MemberDocImpl | abstract public boolean isSynthetic()(Code)(Java Doc)
|
|
|