Class JavaSourceLoaderImpl.AbstractJavaMethod

All Implemented Interfaces:
IMember, IMethod, ContextItem, IClassHierarchyDweller
Enclosing class:
JavaSourceLoaderImpl

protected class JavaSourceLoaderImpl.AbstractJavaMethod extends JavaSourceLoaderImpl.JavaEntityMethod
DOMO representation of an abstract (body-less) method on a Java type that resides in a source file
Author:
rfuhrer
  • Constructor Details

    • AbstractJavaMethod

      public AbstractJavaMethod(CAstEntity methodEntity, IClass owner)
  • Method Details

    • getLocalVariableName

      public String getLocalVariableName(int bcIndex, int localNumber)
      Returns:
      the (source code) name of the local variable of a given number at the specified program counter, or null if the information is not available.
    • hasLocalVariableTable

      public boolean hasLocalVariableTable()
      Returns:
      true iff the local variable table information for this method is available
    • getParents

      public AstMethod.LexicalParent[] getParents()
      Specified by:
      getParents in class AstMethod
    • getClassHierarchy

      public IClassHierarchy getClassHierarchy()