Class SignatureParser.SimpleClassTypeSignature

  • Enclosing class:
    SignatureParser

    public static class SignatureParser.SimpleClassTypeSignature
    extends java.lang.Object
    Representation of the "SimpleClassTypeSignature" clause, e.g. 'MyMap<K, V>'.
    • Field Detail

      • simpleClassName

        public final java.lang.String simpleClassName
        The simple name of the class.
      • typeArguments

        public final java.util.List<SignatureParser.TypeArgument> typeArguments
        The type arguments of the class, e.g. '<A extends x, B super x, *, x>'.
    • Constructor Detail

      • SimpleClassTypeSignature

        public SimpleClassTypeSignature​(java.lang.String simpleClassName,
                                        java.util.List<SignatureParser.TypeArgument> typeArguments)
    • Method Detail

      • toString

        public java.lang.String toString()
        Converts this simple class type signature into a nice, human-readable string like 'MyClass<U>'.
        Overrides:
        toString in class java.lang.Object