Klasse SourceMethodElementInfo

Alle implementierten Schnittstellen:
Cloneable, IGenericMethod, ISourceMethod
Bekannte direkte Unterklassen:
SourceConstructorInfo, SourceMethodInfo

public abstract class SourceMethodElementInfo extends AnnotatableInfo implements ISourceMethod
Element info for IMethod elements.
  • Felddetails

    • argumentNames

      protected char[][] argumentNames
      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. For a binary method (that is, a method declared in a binary type), these names are invented as "arg"i where i starts at 1. This is an empty array if this method has no parameters.
    • exceptionTypes

      protected char[][] exceptionTypes
      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. A name is a simple name or a qualified, dot separated name. For example, Hashtable or java.util.Hashtable.
    • arguments

      protected ILocalVariable[] arguments
    • typeParameters

      protected ITypeParameter[] typeParameters
    • isCanonicalConstructor

      protected boolean isCanonicalConstructor
    • flags

      protected int flags
      The modifiers associated with this member.
      Siehe auch:
      • Ungültige Referenz
        org.eclipse.jdt.internal.compiler.classfmt.ClassFileConstants
    • sourceRangeStart

      protected int sourceRangeStart
    • sourceRangeEnd

      protected int sourceRangeEnd
  • Konstruktordetails

    • SourceMethodElementInfo

      public SourceMethodElementInfo()
  • Methodendetails

    • getArgumentNames

      public char[][] getArgumentNames()
      Beschreibung aus Schnittstelle kopiert: IGenericMethod
      Answer the names of the argument or null if the argument names are not available.
      Angegeben von:
      getArgumentNames in Schnittstelle IGenericMethod
    • getExceptionTypeNames

      public char[][] getExceptionTypeNames()
      Beschreibung aus Schnittstelle kopiert: ISourceMethod
      Answer the unresolved names of the exception types or null if the array is empty. A name is a simple name or a qualified, dot separated name. For example, Hashtable or java.util.Hashtable.
      Angegeben von:
      getExceptionTypeNames in Schnittstelle ISourceMethod
    • getReturnTypeName

      public abstract char[] getReturnTypeName()
      Beschreibung aus Schnittstelle kopiert: 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.
      Angegeben von:
      getReturnTypeName in Schnittstelle ISourceMethod
    • getTypeParameterBounds

      public char[][][] getTypeParameterBounds()
      Beschreibung aus Schnittstelle kopiert: ISourceMethod
      Answer the array of bound names of the receiver's type parameters or null if the array is empty.
      Angegeben von:
      getTypeParameterBounds in Schnittstelle ISourceMethod
    • getTypeParameterNames

      public char[][] getTypeParameterNames()
      Beschreibung aus Schnittstelle kopiert: ISourceMethod
      Answer the names of the receiver's type parameters or null if the array is empty.
      Angegeben von:
      getTypeParameterNames in Schnittstelle ISourceMethod
    • isConstructor

      public abstract boolean isConstructor()
      Angegeben von:
      isConstructor in Schnittstelle IGenericMethod
    • isCanonicalConstructor

      public boolean isCanonicalConstructor()
    • isAnnotationMethod

      public abstract boolean isAnnotationMethod()
    • setArgumentNames

      protected void setArgumentNames(char[][] names)
    • setExceptionTypeNames

      protected void setExceptionTypeNames(char[][] types)
    • setReturnType

      protected abstract void setReturnType(char[] type)
    • getExtendedChildren

      public IJavaElement[] getExtendedChildren()
      Setzt außer Kraft:
      getExtendedChildren in Klasse JavaElementInfo
    • getModifiers

      public int getModifiers()
      Siehe auch:
      • Ungültige Referenz
        org.eclipse.jdt.internal.compiler.env.IGenericType#getModifiers()
      • Ungültige Referenz
        org.eclipse.jdt.internal.compiler.env.IGenericMethod#getModifiers()
      • Ungültige Referenz
        org.eclipse.jdt.internal.compiler.env.IGenericField#getModifiers()
    • setFlags

      protected void setFlags(int flags)
    • getDeclarationSourceEnd

      public int getDeclarationSourceEnd()
      Siehe auch:
      • Ungültige Referenz
        org.eclipse.jdt.internal.compiler.env.ISourceType#getDeclarationSourceEnd()
      • Ungültige Referenz
        org.eclipse.jdt.internal.compiler.env.ISourceMethod#getDeclarationSourceEnd()
      • Ungültige Referenz
        org.eclipse.jdt.internal.compiler.env.ISourceField#getDeclarationSourceEnd()
    • getDeclarationSourceStart

      public int getDeclarationSourceStart()
      Siehe auch:
      • Ungültige Referenz
        org.eclipse.jdt.internal.compiler.env.ISourceType#getDeclarationSourceStart()
      • Ungültige Referenz
        org.eclipse.jdt.internal.compiler.env.ISourceMethod#getDeclarationSourceStart()
      • Ungültige Referenz
        org.eclipse.jdt.internal.compiler.env.ISourceField#getDeclarationSourceStart()
    • getSourceRange

      protected ISourceRange getSourceRange()
    • setSourceRangeEnd

      protected void setSourceRangeEnd(int end)
    • setSourceRangeStart

      protected void setSourceRangeStart(int start)