Skip to content

Instantly share code, notes, and snippets.

@DarkDimius
Created April 16, 2014 08:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DarkDimius/10830162 to your computer and use it in GitHub Desktop.
Save DarkDimius/10830162 to your computer and use it in GitHub Desktop.
import A.;
import A..anon;
import A..anon.1;
import java.lang.Class;
import java.lang.Object;
import java.lang.String;
import java.lang.Throwable;
import java.lang.ref.SoftReference;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import scala.reflect.ScalaSignature;
import scala.runtime.EmptyMethodCache;
import scala.runtime.MethodCache;
import scala.runtime.ScalaRunTime;
import scala.runtime.ScalaRunTime.;
public class A {
private final Object o1;
private final Object o2;
private static Class[] reflParams$Cache1 = new Class[0];
private static volatile SoftReference reflPoly$Cache1 = new SoftReference<EmptyMethodCache>(new EmptyMethodCache());
public static Method reflMethod$Method1(Class x$1) {
Method method1;
MethodCache methodCache1 = (MethodCache)(A.reflPoly$Cache1.get());
if (methodCache1 == null) {
methodCache1 = new EmptyMethodCache();
A.reflPoly$Cache1 = new SoftReference<MethodCache>(methodCache1);
}
if ((method1 = methodCache1.find(x$1)) != null) {
return method1;
}
method1 = ScalaRunTime..MODULE$.ensureAccessible(x$1.getMethod("color", A.reflParams$Cache1));
A.reflPoly$Cache1 = new SoftReference<MethodCache>(methodCache1.add(x$1, method1));
return method1;
}
public Object o1() {
return this.o1;
}
public Object o2() {
return this.o2;
}
public A() {
this.o1 = new 1(this);
this.o2 = this.o1();
Object qual1 = this.o2();
try {
(Color)(A.reflMethod$Method1(qual1.getClass()).invoke(qual1, new Object[0]));
return;
}
catch (InvocationTargetException var2_2) {
throw var2_2.getCause();
}
}
public class Color {
public /* synthetic */ A A$Color$$$outer() {
return A.this;
}
public Color() {
if (A.this == null) {
throw null;
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment