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.lang.String
name
The name of the type variable.Java.ReferenceType[]
optionalBound
The optional bound of the type parameter.
-
Constructor Summary
Constructors Constructor Description TypeParameter(java.lang.String name, Java.ReferenceType[] optionalBound)
-
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.
-
optionalBound
public final Java.ReferenceType[] optionalBound
The optional bound of the type parameter.
-
-
Constructor Detail
-
TypeParameter
public TypeParameter(java.lang.String name, Java.ReferenceType[] optionalBound)
-
-