217749
From e1cc5f8e84ab071654d31a55f11db207188c7567 Mon Sep 17 00:00:00 2001
217749
From: Mikolaj Izdebski <mizdebsk@redhat.com>
217749
Date: Fri, 20 Jun 2014 09:29:44 +0200
217749
Subject: [PATCH] Implement reflection methods required by Java 8
217749
217749
---
217749
 guava/src/com/google/common/reflect/Types.java | 18 ++++++++++++++++++
217749
 1 file changed, 18 insertions(+)
217749
217749
diff --git a/guava/src/com/google/common/reflect/Types.java b/guava/src/com/google/common/reflect/Types.java
217749
index 0f05f78..d5bd950 100644
217749
--- a/guava/src/com/google/common/reflect/Types.java
217749
+++ b/guava/src/com/google/common/reflect/Types.java
217749
@@ -29,6 +29,8 @@ import com.google.common.collect.ImmutableList;
217749
 import com.google.common.collect.Iterables;
217749
 
217749
 import java.io.Serializable;
217749
+import java.lang.annotation.Annotation;
217749
+import java.lang.reflect.AnnotatedType;
11a4bd
 import java.lang.reflect.AnnotatedElement;
217749
 import java.lang.reflect.Array;
217749
 import java.lang.reflect.GenericArrayType;
11a4bd
@@ -371,6 +373,22 @@ final class Types {
217749
         return false;
217749
       }
217749
     }
217749
+
217749
+    @Override public <t extends="" annotation=""> T getAnnotation(Class<t> annotationClass) {
217749
+      return null;
217749
+    }
217749
+
217749
+    @Override public Annotation[] getAnnotations() {
217749
+      return new Annotation[0];
217749
+    }
217749
+
217749
+    @Override public Annotation[] getDeclaredAnnotations() {
217749
+      return new Annotation[0];
217749
+    }
217749
+
217749
+    @Override public AnnotatedType[] getAnnotatedBounds() {
217749
+      return new AnnotatedType[0];
217749
+    }
217749
   }
217749
 
217749
   static final class WildcardTypeImpl implements WildcardType, Serializable {