com.google.common.reflect.Invokable



API Populatity

4 Client projects

Project: com.google

Project jclouds/jclouds in file ...java.org.jclouds.reflect.FunctionalReflection.java (2013-01-08)
@@ -38,6 +38,7 @@ import com.google.common.annotations.Beta;
 import com.google.common.base.Function;
 import com.google.common.base.Objects;
 import com.google.common.collect.ImmutableList;
+import com.google.common.reflect.Invokable;
 import com.google.common.reflect.TypeToken;
 
 /**
@@ -113,7 +114,7 @@ public final class FunctionalReflection {
             args = ImmutableList.copyOf(args);
          else
             args = Collections.unmodifiableList(args);
-         Invokable<T, ?> invokable = Invokable.from(enclosingType, invoked);
+         Invokable<?, Object> invokable = Invokable.from(invoked);
          // not yet support the proxy arg
          Invocation invocation = Invocation.create(invokable, args);
          Result result;
Project jclouds/jclouds in file ....src.main.java.org.jclouds.reflect.Invocation.java (2013-01-08)
@@ -28,9 +28,10 @@ import org.jclouds.javax.annotation.Nullable;
 import com.google.common.annotations.Beta;
 import com.google.common.base.Objects;
 import com.google.common.base.Optional;
+import com.google.common.reflect.Invokable;
 
 /**
- * Context needed to call {@link org.jclouds.reflect.Invokable#invoke(Object, Object...)}
+ * Context needed to call {@link com.google.common.reflect.Invokable#invoke(Object, Object...)}
  * 
  * @author Adrian Cole
  */
Project jclouds/legacy-jclouds in file ...java.org.jclouds.reflect.FunctionalReflection.java (2013-01-08)
@@ -38,6 +38,7 @@ import com.google.common.annotations.Beta;
 import com.google.common.base.Function;
 import com.google.common.base.Objects;
 import com.google.common.collect.ImmutableList;
+import com.google.common.reflect.Invokable;
 import com.google.common.reflect.TypeToken;
 
 /**
@@ -113,7 +114,7 @@ public final class FunctionalReflection {
             args = ImmutableList.copyOf(args);
          else
             args = Collections.unmodifiableList(args);
-         Invokable<T, ?> invokable = Invokable.from(enclosingType, invoked);
+         Invokable<?, Object> invokable = Invokable.from(invoked);
          // not yet support the proxy arg
          Invocation invocation = Invocation.create(invokable, args);
          Result result;