Interface Java.TypeDeclaration

    • Method Detail

      • getModifierFlags

        short getModifierFlags()
        Returns:
        The or'ed modifier flags of the type, as defined in Mod
      • getMemberTypeDeclaration

        Java.MemberTypeDeclaration getMemberTypeDeclaration​(java.lang.String name)
        Return the member type with the given name.
        Returns:
        null if a member type with that name is not declared
      • getMethodDeclaration

        Java.MethodDeclarator getMethodDeclaration​(java.lang.String name)
        Return the first method declared with the given name. (Does not honor inherited methods.)
        Returns:
        null if a method with this name is not declared
      • getClassName

        java.lang.String getClassName()
        Determines the effective class name, e.g. "pkg.Outer$Inner".
      • createLocalTypeName

        java.lang.String createLocalTypeName​(java.lang.String localTypeName)
        Creates a unique name for a local class or interface.
      • createAnonymousClassName

        java.lang.String createAnonymousClassName()
        Creates a unique name for an anonymous class.