Class SourceMethodInfo
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.JavaElementInfo
org.aspectj.org.eclipse.jdt.internal.core.AnnotatableInfo
org.aspectj.org.eclipse.jdt.internal.core.SourceMethodElementInfo
org.aspectj.org.eclipse.jdt.internal.core.SourceMethodInfo
- All Implemented Interfaces:
Cloneable
,IElementInfo
,IGenericMethod
,ISourceMethod
- Direct Known Subclasses:
SourceAnnotationMethodInfo
,SourceMethodWithChildrenInfo
-
Field Summary
Modifier and TypeFieldDescriptionprotected int
The modifiers associated with this member.protected char[]
protected int
protected int
Fields inherited from class org.aspectj.org.eclipse.jdt.internal.core.SourceMethodElementInfo
argumentNames, arguments, exceptionTypes, isCanonicalConstructor, typeParameters
Fields inherited from class org.aspectj.org.eclipse.jdt.internal.core.AnnotatableInfo
annotations, nameEnd, nameStart
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
int
char[]
Answer the unresolved name of the return type or null if receiver is a constructor or clinit.protected ISourceRange
boolean
boolean
protected void
setFlags
(int flags) protected void
setReturnType
(char[] type) protected void
setSourceRangeEnd
(int end) protected void
setSourceRangeStart
(int start) Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.SourceMethodElementInfo
getArgumentNames, getExceptionTypeNames, getExtendedChildren, getTypeParameterBounds, getTypeParameterNames, isCanonicalConstructor, setArgumentNames, setExceptionTypeNames
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.AnnotatableInfo
getNameRange, getNameSourceEnd, getNameSourceStart, setNameSourceEnd, setNameSourceStart
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.JavaElementInfo
clone, getChildren
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.aspectj.org.eclipse.jdt.internal.compiler.env.IGenericMethod
getModifiers
Methods inherited from interface org.aspectj.org.eclipse.jdt.internal.compiler.env.ISourceMethod
getDeclarationSourceEnd, getDeclarationSourceStart, getNameSourceEnd, getNameSourceStart
-
Field Details
-
returnType
protected char[] returnType -
flags
protected int flagsThe modifiers associated with this member.- See Also:
-
sourceRangeStart
protected int sourceRangeStart -
sourceRangeEnd
protected int sourceRangeEnd
-
-
Constructor Details
-
SourceMethodInfo
public SourceMethodInfo()
-
-
Method Details
-
isAnnotationMethod
public boolean isAnnotationMethod()- Specified by:
isAnnotationMethod
in classSourceMethodElementInfo
-
isConstructor
public boolean isConstructor()- Specified by:
isConstructor
in interfaceIGenericMethod
- Specified by:
isConstructor
in classSourceMethodElementInfo
-
getReturnTypeName
public char[] getReturnTypeName()Description copied from interface:ISourceMethod
Answer the unresolved name of the return type or null if receiver is a constructor or clinit. The name is a simple name or a qualified, dot separated name. For example, Hashtable or java.util.Hashtable.- Specified by:
getReturnTypeName
in interfaceISourceMethod
- Specified by:
getReturnTypeName
in classSourceMethodElementInfo
-
setReturnType
protected void setReturnType(char[] type) - Specified by:
setReturnType
in classSourceMethodElementInfo
-
getModifiers
public int getModifiers()- See Also:
-
setFlags
protected void setFlags(int flags) -
getDeclarationSourceEnd
public int getDeclarationSourceEnd()- See Also:
-
getDeclarationSourceStart
public int getDeclarationSourceStart()- See Also:
-
getSourceRange
-
setSourceRangeEnd
protected void setSourceRangeEnd(int end) -
setSourceRangeStart
protected void setSourceRangeStart(int start)
-