ScopeEntity_Chromattic.java

package org.exoplatform.settings.chromattic;
import org.chromattic.apt.Invoker;
import org.chromattic.apt.Instrumented;
public class ScopeEntity_Chromattic extends ScopeEntity implements Instrumented {
public final org.chromattic.spi.instrument.MethodHandler handler;
public ScopeEntity_Chromattic(org.chromattic.spi.instrument.MethodHandler handler) {
this.handler = handler;
}
private static final Invoker method_0 = Invoker.getDeclaredMethod(org.exoplatform.settings.chromattic.ScopeEntity.class,"getInstances");
public final java.util.Map getInstances() {
try {
return (java.util.Map)handler.invoke(this,method_0.getMethod());
} catch(Throwable t) {
if (t instanceof java.lang.RuntimeException) throw (java.lang.RuntimeException)t;
if (t instanceof java.lang.Error) throw (java.lang.Error)t;
throw new java.lang.reflect.UndeclaredThrowableException(t);
}
}
private static final Invoker method_1 = Invoker.getDeclaredMethod(org.exoplatform.settings.chromattic.ScopeEntity.class,"getProperties");
public final java.util.Map getProperties() {
try {
return (java.util.Map)handler.invoke(this,method_1.getMethod());
} catch(Throwable t) {
if (t instanceof java.lang.RuntimeException) throw (java.lang.RuntimeException)t;
if (t instanceof java.lang.Error) throw (java.lang.Error)t;
throw new java.lang.reflect.UndeclaredThrowableException(t);
}
}
private static final Invoker method_2 = Invoker.getDeclaredMethod(org.exoplatform.settings.chromattic.ScopeEntity.class,"remove");
public final void remove() {
try {
handler.invoke(this,method_2.getMethod());
} catch(Throwable t) {
if (t instanceof java.lang.RuntimeException) throw (java.lang.RuntimeException)t;
if (t instanceof java.lang.Error) throw (java.lang.Error)t;
throw new java.lang.reflect.UndeclaredThrowableException(t);
}
}
}