org.aspectj.org.eclipse.jdt.internal.core
Class AnnotatableInfo

java.lang.Object
  extended by org.aspectj.org.eclipse.jdt.internal.core.JavaElementInfo
      extended by org.aspectj.org.eclipse.jdt.internal.core.AnnotatableInfo
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
SourceFieldElementInfo, SourceMethodElementInfo, SourceTypeElementInfo

public class AnnotatableInfo
extends JavaElementInfo


Field Summary
protected  IAnnotation[] annotations
           
protected  int flags
          The modifiers associated with this member.
protected  int nameEnd
          The last position of this member's name in the its openable's buffer.
protected  int nameStart
          The start position of this member's name in the its openable's buffer.
protected  int sourceRangeEnd
           
protected  int sourceRangeStart
           
 
Constructor Summary
AnnotatableInfo()
           
 
Method Summary
 int getDeclarationSourceEnd()
           
 int getDeclarationSourceStart()
           
 int getModifiers()
           
protected  ISourceRange getNameRange()
           
 int getNameSourceEnd()
           
 int getNameSourceStart()
           
protected  ISourceRange getSourceRange()
           
protected  void setFlags(int flags)
           
protected  void setNameSourceEnd(int end)
          Sets the last position of this member's name, relative to its openable's source buffer.
protected  void setNameSourceStart(int start)
          Sets the start position of this member's name, relative to its openable's source buffer.
protected  void setSourceRangeEnd(int end)
           
protected  void setSourceRangeStart(int start)
           
 
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
 

Field Detail

annotations

protected IAnnotation[] annotations

nameStart

protected int nameStart
The start position of this member's name in the its openable's buffer.


nameEnd

protected int nameEnd
The last position of this member's name in the its openable's buffer.


flags

protected int flags
The modifiers associated with this member.

See Also:
ClassFileConstants

sourceRangeStart

protected int sourceRangeStart

sourceRangeEnd

protected int sourceRangeEnd
Constructor Detail

AnnotatableInfo

public AnnotatableInfo()
Method Detail

getNameSourceEnd

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

getNameSourceStart

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

setNameSourceEnd

protected void setNameSourceEnd(int end)
Sets the last position of this member's name, relative to its openable's source buffer.


setNameSourceStart

protected void setNameSourceStart(int start)
Sets the start position of this member's name, relative to its openable's source buffer.


getNameRange

protected ISourceRange getNameRange()

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)