Class SourceConstructorInfo
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.SourceConstructorInfo
- All Implemented Interfaces:
Cloneable, IElementInfo, IGenericMethod, ISourceMethod
- Direct Known Subclasses:
SourceConstructorWithChildrenInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intThe modifiers associated with this member.protected intprotected intFields inherited from class SourceMethodElementInfo
argumentNames, arguments, exceptionTypes, isCanonicalConstructor, typeParametersModifier and TypeFieldDescriptionprotected char[][]For a source method (that is, a method contained in a compilation unit) this is a collection of the names of the parameters for this method, in the order the parameters are delcared.protected ILocalVariable[]protected char[][]A collection of type names of the exceptions this method throws, or an empty collection if this method does not declare to throw any exceptions.protected booleanprotected ITypeParameter[]Fields inherited from class AnnotatableInfo
annotations, nameEnd, nameStartModifier and TypeFieldDescriptionprotected IAnnotation[]protected intThe last position of this member's name in the its openable's buffer.protected intThe start position of this member's name in the its openable's buffer. -
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 SourceMethodElementInfo
getArgumentNames, getExceptionTypeNames, getExtendedChildren, getTypeParameterBounds, getTypeParameterNames, isCanonicalConstructor, setArgumentNames, setExceptionTypeNamesModifier and TypeMethodDescriptionchar[][]Answer the names of the argument or null if the argument names are not available.char[][]Answer the unresolved names of the exception types or null if the array is empty.char[][][]Answer the array of bound names of the receiver's type parameters or null if the array is empty.char[][]Answer the names of the receiver's type parameters or null if the array is empty.booleanprotected voidsetArgumentNames(char[][] names) protected voidsetExceptionTypeNames(char[][] types) Methods inherited from class AnnotatableInfo
getNameRange, getNameSourceEnd, getNameSourceStart, setNameSourceEnd, setNameSourceStartModifier and TypeMethodDescriptionprotected ISourceRangeintintprotected voidsetNameSourceEnd(int end) Sets the last position of this member's name, relative to its openable's source buffer.protected voidsetNameSourceStart(int start) Sets the start position of this member's name, relative to its openable's source buffer.Methods inherited from class JavaElementInfo
clone, getChildrenMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IGenericMethod
getModifiersModifier and TypeMethodDescriptionintAnswer an int whose bits are set according the access constants defined by the VM spec.Methods inherited from interface ISourceMethod
getDeclarationSourceEnd, getDeclarationSourceStart, getNameSourceEnd, getNameSourceStartModifier and TypeMethodDescriptionintAnswer the source end position of the method's declaration.intAnswer the source start position of the method's declaration.intAnswer the source end position of the method's selector.intAnswer the source start position of the method's selector.
-
Field Details
-
flags
protected int flagsThe modifiers associated with this member.- See Also:
-
sourceRangeStart
protected int sourceRangeStart -
sourceRangeEnd
protected int sourceRangeEnd
-
-
Constructor Details
-
SourceConstructorInfo
public SourceConstructorInfo()
-
-
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)
-