diff --git a/java/fury-core/src/main/java/org/apache/fury/reflect/TypeParameter.java b/java/fury-core/src/main/java/org/apache/fury/reflect/TypeParameter.java index 2823cbd77e..1612e65c3f 100644 --- a/java/fury-core/src/main/java/org/apache/fury/reflect/TypeParameter.java +++ b/java/fury-core/src/main/java/org/apache/fury/reflect/TypeParameter.java @@ -19,6 +19,8 @@ import java.lang.reflect.TypeVariable; import java.util.Objects; +// Derived from Guava 32.1.2 com.google.common.reflect.TypeParameter +// https://github.com/google/guava/blob/9f6a3840/guava/src/com/google/common/reflect/TypeParameter.java public abstract class TypeParameter { final TypeVariable typeVariable; diff --git a/java/fury-core/src/main/java/org/apache/fury/reflect/TypeRef.java b/java/fury-core/src/main/java/org/apache/fury/reflect/TypeRef.java index 9dae933ffc..9a41fa13ee 100644 --- a/java/fury-core/src/main/java/org/apache/fury/reflect/TypeRef.java +++ b/java/fury-core/src/main/java/org/apache/fury/reflect/TypeRef.java @@ -35,10 +35,8 @@ import java.util.stream.Stream; import org.apache.fury.type.TypeUtils; -/** - * Mostly derived from Guava 32.1.2 com.google.common.reflect.TypeToken - * https://github.com/google/guava/blob/master/guava/src/com/google/common/reflect/TypeToken.java - */ +// Mostly derived from Guava 32.1.2 com.google.common.reflect.TypeToken +// https://github.com/google/guava/blob/9f6a3840/guava/src/com/google/common/reflect/TypeToken.java public class TypeRef { private final Type type; diff --git a/java/fury-core/src/main/java/org/apache/fury/reflect/Types.java b/java/fury-core/src/main/java/org/apache/fury/reflect/Types.java index 1f35786344..cbfc7cdb7a 100644 --- a/java/fury-core/src/main/java/org/apache/fury/reflect/Types.java +++ b/java/fury-core/src/main/java/org/apache/fury/reflect/Types.java @@ -27,6 +27,8 @@ import java.util.Objects; import javax.annotation.CheckForNull; +// Derived from Guava 32.1.2 com.google.common.reflect.Types +// https://github.com/google/guava/blob/9f6a3840/guava/src/com/google/common/reflect/Types.java class Types { public static Type newArrayType(Type componentType) { if (componentType instanceof WildcardType) {