Interface Java.TypeDeclaration

    • Method Detail

      • getMemberTypeDeclaration

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

        @Nullable
        Java.MethodDeclarator getMethodDeclaration​(java.lang.String name)
        Returns 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.