Interface ASTAnyTypeDeclaration

    • Method Detail

      • getSimpleName

        String getSimpleName()
        Returns the simple name of this type declaration. Returns null if this is an anonymous class declaration.
      • getBinaryName

        String getBinaryName()
        Returns the binary name of this type declaration. This is like Class.getName().
      • getDeclarations

        List<ASTAnyTypeBodyDeclaration> getDeclarations()
        Retrieves the member declarations (fields, methods, classes, etc.) from the body of this type declaration.
        Returns:
        The member declarations declared in this type declaration
      • isNested

        boolean isNested()
        Returns true if this type declaration is nested inside an interface, class or annotation.