Class SourceMethodInfo

All Implemented Interfaces:
Cloneable, IElementInfo, IGenericMethod, ISourceMethod
Direct Known Subclasses:
SourceAnnotationMethodInfo, SourceMethodWithChildrenInfo

public class SourceMethodInfo extends SourceMethodElementInfo
  • Field Details

    • returnType

      protected char[] returnType
    • flags

      protected int flags
      The modifiers associated with this member.
      See Also:
      • invalid reference
        org.eclipse.jdt.internal.compiler.classfmt.ClassFileConstants
    • sourceRangeStart

      protected int sourceRangeStart
    • sourceRangeEnd

      protected int sourceRangeEnd
  • Constructor Details

    • SourceMethodInfo

      public SourceMethodInfo()
  • Method Details

    • 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:
      • invalid reference
        org.eclipse.jdt.internal.compiler.env.IGenericType#getModifiers()
      • invalid reference
        org.eclipse.jdt.internal.compiler.env.IGenericMethod#getModifiers()
      • invalid reference
        org.eclipse.jdt.internal.compiler.env.IGenericField#getModifiers()
    • setFlags

      protected void setFlags(int flags)
    • getDeclarationSourceEnd

      public int getDeclarationSourceEnd()
      See Also:
      • invalid reference
        org.eclipse.jdt.internal.compiler.env.ISourceType#getDeclarationSourceEnd()
      • invalid reference
        org.eclipse.jdt.internal.compiler.env.ISourceMethod#getDeclarationSourceEnd()
      • invalid reference
        org.eclipse.jdt.internal.compiler.env.ISourceField#getDeclarationSourceEnd()
    • getDeclarationSourceStart

      public int getDeclarationSourceStart()
      See Also:
      • invalid reference
        org.eclipse.jdt.internal.compiler.env.ISourceType#getDeclarationSourceStart()
      • invalid reference
        org.eclipse.jdt.internal.compiler.env.ISourceMethod#getDeclarationSourceStart()
      • invalid reference
        org.eclipse.jdt.internal.compiler.env.ISourceField#getDeclarationSourceStart()
    • getSourceRange

      protected ISourceRange getSourceRange()
    • setSourceRangeEnd

      protected void setSourceRangeEnd(int end)
    • setSourceRangeStart

      protected void setSourceRangeStart(int start)