Package org.openrewrite.java.tree
Class JavaType.Variable
java.lang.Object
org.openrewrite.java.tree.JavaType.Variable
- All Implemented Interfaces:
JavaType,org.openrewrite.rpc.RpcCodec<JavaType.Variable>
- Enclosing interface:
JavaType
public static class JavaType.Variable
extends Object
implements JavaType, org.openrewrite.rpc.RpcCodec<JavaType.Variable>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.openrewrite.java.tree.JavaType
JavaType.Annotation, JavaType.Array, JavaType.Class, JavaType.FullyQualified, JavaType.GenericTypeVariable, JavaType.Intersection, JavaType.Method, JavaType.MultiCatch, JavaType.Parameterized, JavaType.Primitive, JavaType.ShallowClass, JavaType.Unknown, JavaType.Variable -
Field Summary
Fields inherited from interface org.openrewrite.java.tree.JavaType
EMPTY_ANNOTATION_VALUE_ARRAY, EMPTY_FULLY_QUALIFIED_ARRAY, EMPTY_JAVA_TYPE_ARRAY, EMPTY_METHOD_ARRAY, EMPTY_STRING_ARRAY, EMPTY_VARIABLE_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetFlags()@Nullable JavaTypegetOwner()booleanrpcReceive(JavaType.Variable before, org.openrewrite.rpc.RpcReceiveQueue q) voidrpcSend(JavaType.Variable after, org.openrewrite.rpc.RpcSendQueue q) toString()unsafeSet(JavaType owner, @Nullable JavaType type, @Nullable List<JavaType.FullyQualified> annotations) unsafeSet(JavaType owner, @Nullable JavaType type, JavaType.FullyQualified @Nullable [] annotations) withAnnotations(@Nullable List<JavaType.FullyQualified> annotations) Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.openrewrite.java.tree.JavaType
getManagedReference, isAssignableFrom, withManagedReference
-
Constructor Details
-
Variable
-
-
Method Details
-
getOwner
-
getAnnotations
-
withAnnotations
-
hasFlags
-
getFlags
-
withFlags
-
unsafeSetManagedReference
- Specified by:
unsafeSetManagedReferencein interfaceJavaType
-
unsafeSet
public JavaType.Variable unsafeSet(JavaType owner, @Nullable JavaType type, @Nullable List<JavaType.FullyQualified> annotations) -
unsafeSet
public JavaType.Variable unsafeSet(JavaType owner, @Nullable JavaType type, JavaType.FullyQualified @Nullable [] annotations) -
equals
-
toString
-
rpcSend
- Specified by:
rpcSendin interfaceorg.openrewrite.rpc.RpcCodec<JavaType.Variable>
-
rpcReceive
public JavaType.Variable rpcReceive(JavaType.Variable before, org.openrewrite.rpc.RpcReceiveQueue q) - Specified by:
rpcReceivein interfaceorg.openrewrite.rpc.RpcCodec<JavaType.Variable>
-