Package org.codehaus.janino
Class Java.TypeParameter
- java.lang.Object
-
- org.codehaus.janino.Java.TypeParameter
-
- Enclosing class:
- Java
public static class Java.TypeParameter extends java.lang.Object
Representation of a type parameter (which declares a type variable).
-
-
Field Summary
Fields Modifier and Type Field Description Java.ReferenceType[]
bound
The optional bound of the type parameter.java.lang.String
name
The name of the type variable.
-
Constructor Summary
Constructors Constructor Description TypeParameter(java.lang.String name, Java.ReferenceType[] bound)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-
-
-
Field Detail
-
name
public final java.lang.String name
The name of the type variable.
-
bound
@Nullable public final Java.ReferenceType[] bound
The optional bound of the type parameter.
-
-
Constructor Detail
-
TypeParameter
public TypeParameter(java.lang.String name, @Nullable Java.ReferenceType[] bound)
-
-