Class SignatureParser.ClassTypeSignature
java.lang.Object
org.codehaus.janino.util.signature.SignatureParser.ClassTypeSignature
- All Implemented Interfaces:
SignatureParser.FieldTypeSignature
,SignatureParser.ThrowsSignature
,SignatureParser.TypeSignature
- Enclosing class:
SignatureParser
public static class SignatureParser.ClassTypeSignature
extends Object
implements SignatureParser.ThrowsSignature, SignatureParser.FieldTypeSignature
Representation of the "ClassTypeSignature" clause, e.g. '
pkg.Outer<T>.Inner<U>
'.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final SignatureParser.Options
final String
{ identifier '/' }final String
identifierThe nested types.final List
<SignatureParser.TypeArgument> TheSignatureParser.TypeArgument
s of this class. -
Constructor Summary
ConstructorsConstructorDescriptionClassTypeSignature
(String packageSpecifier, String simpleClassName, List<SignatureParser.TypeArgument> typeArguments, List<SignatureParser.SimpleClassTypeSignature> suffixes, SignatureParser.Options options) -
Method Summary
Modifier and TypeMethodDescription<T,
EX extends Throwable>
Taccept
(SignatureParser.FieldTypeSignatureVisitor<T, EX> visitor) toString()
Converts this class type signature into a nice, human-readable string, e.g.
-
Field Details
-
packageSpecifier
{ identifier '/' }
-
simpleClassName
identifier
-
typeArguments
TheSignatureParser.TypeArgument
s of this class. -
suffixes
The nested types. -
options
-
-
Constructor Details
-
ClassTypeSignature
public ClassTypeSignature(String packageSpecifier, String simpleClassName, List<SignatureParser.TypeArgument> typeArguments, List<SignatureParser.SimpleClassTypeSignature> suffixes, SignatureParser.Options options) - Parameters:
packageSpecifier
-{ identifier '/' }
-
-
Method Details
-
accept
public <T,EX extends Throwable> T accept(SignatureParser.FieldTypeSignatureVisitor<T, EX> visitor) throws EX- Specified by:
accept
in interfaceSignatureParser.FieldTypeSignature
- Throws:
EX
-
toString
Converts this class type signature into a nice, human-readable string, e.g."pkg.Outer<T>.Inner<U>"
.- Specified by:
toString
in interfaceSignatureParser.FieldTypeSignature
- Specified by:
toString
in interfaceSignatureParser.TypeSignature
- Overrides:
toString
in classObject
-