org.eclipse.jdt.internal.core
Class SourceMethodInfo
java.lang.Object
org.eclipse.jdt.internal.core.JavaElementInfo
org.eclipse.jdt.internal.core.AnnotatableInfo
org.eclipse.jdt.internal.core.SourceMethodElementInfo
org.eclipse.jdt.internal.core.SourceMethodInfo
- All Implemented Interfaces:
- IGenericMethod, ISourceMethod
- Direct Known Subclasses:
- SourceAnnotationMethodInfo
public class SourceMethodInfo
- extends SourceMethodElementInfo
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SourceMethodInfo
public SourceMethodInfo()
isAnnotationMethod
public boolean isAnnotationMethod()
- Specified by:
isAnnotationMethod
in class SourceMethodElementInfo
isConstructor
public boolean isConstructor()
- Specified by:
isConstructor
in interface IGenericMethod
- Specified by:
isConstructor
in class SourceMethodElementInfo
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 interface ISourceMethod
- Specified by:
getReturnTypeName
in class SourceMethodElementInfo
getModifiers
public int getModifiers()
- See Also:
IGenericType.getModifiers()
,
IGenericMethod.getModifiers()
,
IGenericField.getModifiers()
getNameSourceEnd
public int getNameSourceEnd()
- See Also:
ISourceType.getNameSourceEnd()
,
ISourceMethod.getNameSourceEnd()
,
ISourceField.getNameSourceEnd()
getNameSourceStart
public int getNameSourceStart()
- See Also:
ISourceType.getNameSourceStart()
,
ISourceMethod.getNameSourceStart()
,
ISourceField.getNameSourceStart()
getDeclarationSourceEnd
public int getDeclarationSourceEnd()
- See Also:
ISourceType.getDeclarationSourceEnd()
,
ISourceMethod.getDeclarationSourceEnd()
,
ISourceField.getDeclarationSourceEnd()
getDeclarationSourceStart
public int getDeclarationSourceStart()
- See Also:
ISourceType.getDeclarationSourceStart()
,
ISourceMethod.getDeclarationSourceStart()
,
ISourceField.getDeclarationSourceStart()