org.eclipse.jdt.internal.core
Class SourceConstructorInfo

java.lang.Object
  extended by org.eclipse.jdt.internal.core.JavaElementInfo
      extended by org.eclipse.jdt.internal.core.AnnotatableInfo
          extended by org.eclipse.jdt.internal.core.SourceMethodElementInfo
              extended by org.eclipse.jdt.internal.core.SourceConstructorInfo
All Implemented Interfaces:
java.lang.Cloneable, IGenericMethod, ISourceMethod
Direct Known Subclasses:
SourceConstructorWithChildrenInfo

public class SourceConstructorInfo
extends SourceMethodElementInfo


Field Summary
protected  int flags
          The modifiers associated with this member.
protected  int sourceRangeEnd
           
protected  int sourceRangeStart
           
 
Fields inherited from class org.eclipse.jdt.internal.core.SourceMethodElementInfo
argumentNames, arguments, exceptionTypes, typeParameters
 
Fields inherited from class org.eclipse.jdt.internal.core.AnnotatableInfo
annotations, nameEnd, nameStart
 
Constructor Summary
SourceConstructorInfo()
           
 
Method Summary
 int getDeclarationSourceEnd()
           
 int getDeclarationSourceStart()
           
 int getModifiers()
           
 char[] getReturnTypeName()
          Answer the unresolved name of the return type or null if receiver is a constructor or clinit.
protected  ISourceRange getSourceRange()
           
 boolean isAnnotationMethod()
           
 boolean isConstructor()
           
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.eclipse.jdt.internal.core.SourceMethodElementInfo
getArgumentNames, getExceptionTypeNames, getTypeParameterBounds, getTypeParameterNames, setArgumentNames, setExceptionTypeNames
 
Methods inherited from class org.eclipse.jdt.internal.core.AnnotatableInfo
getNameRange, getNameSourceEnd, getNameSourceStart, setNameSourceEnd, setNameSourceStart
 
Methods inherited from class 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.eclipse.jdt.internal.compiler.env.ISourceMethod
getDeclarationSourceEnd, getDeclarationSourceStart, getNameSourceEnd, getNameSourceStart
 
Methods inherited from interface org.eclipse.jdt.internal.compiler.env.IGenericMethod
getModifiers
 

Field Detail

flags

protected int flags
The modifiers associated with this member.

See Also:
ClassFileConstants

sourceRangeStart

protected int sourceRangeStart

sourceRangeEnd

protected int sourceRangeEnd
Constructor Detail

SourceConstructorInfo

public SourceConstructorInfo()
Method Detail

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

setReturnType

protected void setReturnType(char[] type)
Specified by:
setReturnType in class SourceMethodElementInfo

getModifiers

public int getModifiers()
See Also:
IGenericType.getModifiers(), IGenericMethod.getModifiers(), IGenericField.getModifiers()

setFlags

protected void setFlags(int flags)

getDeclarationSourceEnd

public int getDeclarationSourceEnd()
See Also:
ISourceType.getDeclarationSourceEnd(), ISourceMethod.getDeclarationSourceEnd(), ISourceField.getDeclarationSourceEnd()

getDeclarationSourceStart

public int getDeclarationSourceStart()
See Also:
ISourceType.getDeclarationSourceStart(), ISourceMethod.getDeclarationSourceStart(), ISourceField.getDeclarationSourceStart()

getSourceRange

protected ISourceRange getSourceRange()

setSourceRangeEnd

protected void setSourceRangeEnd(int end)

setSourceRangeStart

protected void setSourceRangeStart(int start)