Package org.openrewrite.java.tree
Class JavaType.GenericTypeVariable
- java.lang.Object
-
- org.openrewrite.java.tree.JavaType.GenericTypeVariable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJavaType.GenericTypeVariable.Variance-
Nested classes/interfaces inherited from interface org.openrewrite.java.tree.JavaType
JavaType.Array, JavaType.Class, JavaType.FullyQualified, JavaType.GenericTypeVariable, JavaType.Method, JavaType.MultiCatch, JavaType.Parameterized, JavaType.Primitive, JavaType.ShallowClass, JavaType.Unknown, JavaType.Variable
-
-
Constructor Summary
Constructors Constructor Description GenericTypeVariable(@Nullable java.lang.Integer managedReference, java.lang.String name, JavaType.GenericTypeVariable.Variance variance, @Nullable java.util.List<JavaType> bounds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.util.List<JavaType>getBounds()java.lang.StringtoString()JavaType.GenericTypeVariableunsafeSet(JavaType.GenericTypeVariable.Variance variance, @Nullable java.util.List<JavaType> bounds)JavaType.GenericTypeVariableunsafeSetManagedReference(java.lang.Integer id)JavaType.GenericTypeVariablewithBounds(@Nullable java.util.List<JavaType> bounds)-
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.openrewrite.java.tree.JavaType
getJacksonPolymorphicTypeTag, getManagedReference, withManagedReference
-
-
-
-
Constructor Detail
-
GenericTypeVariable
public GenericTypeVariable(@Nullable @Nullable java.lang.Integer managedReference, java.lang.String name, JavaType.GenericTypeVariable.Variance variance, @Nullable @Nullable java.util.List<JavaType> bounds)
-
-
Method Detail
-
getBounds
public java.util.List<JavaType> getBounds()
-
withBounds
public JavaType.GenericTypeVariable withBounds(@Nullable @Nullable java.util.List<JavaType> bounds)
-
unsafeSetManagedReference
public JavaType.GenericTypeVariable unsafeSetManagedReference(java.lang.Integer id)
- Specified by:
unsafeSetManagedReferencein interfaceJavaType
-
unsafeSet
public JavaType.GenericTypeVariable unsafeSet(JavaType.GenericTypeVariable.Variance variance, @Nullable @Nullable java.util.List<JavaType> bounds)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-