Class Type.Variable
- java.lang.Object
-
- org.immutables.value.processor.encode.Type.Variable
-
- All Implemented Interfaces:
Type,Type.Defined,Type.Nonprimitive
- Enclosing interface:
- Type
public static class Type.Variable extends java.lang.Object implements Type.Defined
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.immutables.value.processor.encode.Type
Type.Array, Type.Defined, Type.Factory, Type.Nonprimitive, Type.Parameterized, Type.Parameters, Type.Parser, Type.Primitive, Type.Print, Type.Producer, Type.Reference, Type.Template, Type.Transformer, Type.Variable, Type.VariableResolver, Type.Visitor<V>, Type.Wildcard
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.Stringnamebooleanrecursivejava.util.List<Type.Defined>upperBounds
-
Constructor Summary
Constructors Constructor Description Variable(java.lang.String name, java.util.List<Type.Defined> upperBounds, boolean recursive)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <V> Vaccept(Type.Visitor<V> visitor)(package private) booleanisUnbounded()java.lang.StringtoString()
-
-
-
Field Detail
-
name
public final java.lang.String name
-
upperBounds
public final java.util.List<Type.Defined> upperBounds
-
recursive
public final boolean recursive
-
-
Constructor Detail
-
Variable
Variable(java.lang.String name, java.util.List<Type.Defined> upperBounds, boolean recursive)
-
-
Method Detail
-
isUnbounded
boolean isUnbounded()
-
accept
public <V> V accept(Type.Visitor<V> visitor)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-