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
FieldsModifier and TypeFieldDescriptionprotected intThe modifiers associated with this member.protected char[]protected intprotected intFields inherited from class org.aspectj.org.eclipse.jdt.internal.core.SourceMethodElementInfo
argumentNames, arguments, exceptionTypes, isCanonicalConstructor, typeParametersFields inherited from class org.aspectj.org.eclipse.jdt.internal.core.AnnotatableInfo
annotations, nameEnd, nameStart -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintintchar[]Answer the unresolved name of the return type or null if receiver is a constructor or clinit.protected ISourceRangebooleanbooleanprotected voidsetFlags(int flags) protected voidsetReturnType(char[] type) protected voidsetSourceRangeEnd(int end) protected voidsetSourceRangeStart(int start) Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.SourceMethodElementInfo
getArgumentNames, getExceptionTypeNames, getExtendedChildren, getTypeParameterBounds, getTypeParameterNames, isCanonicalConstructor, setArgumentNames, setExceptionTypeNamesMethods inherited from class org.aspectj.org.eclipse.jdt.internal.core.AnnotatableInfo
getNameRange, getNameSourceEnd, getNameSourceStart, setNameSourceEnd, setNameSourceStartMethods inherited from class org.aspectj.org.eclipse.jdt.internal.core.JavaElementInfo
clone, getChildrenMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.aspectj.org.eclipse.jdt.internal.compiler.env.IGenericMethod
getModifiersMethods 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:
isAnnotationMethodin classSourceMethodElementInfo
-
isConstructor
public boolean isConstructor()- Specified by:
isConstructorin interfaceIGenericMethod- Specified by:
isConstructorin classSourceMethodElementInfo
-
getReturnTypeName
public char[] getReturnTypeName()Description copied from interface:ISourceMethodAnswer 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:
getReturnTypeNamein interfaceISourceMethod- Specified by:
getReturnTypeNamein classSourceMethodElementInfo
-
setReturnType
protected void setReturnType(char[] type) - Specified by:
setReturnTypein 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)
-