WatchedMixin_Chromattic.java
package org.exoplatform.wiki.mow.core.api.wiki;
import org.chromattic.apt.Invoker;
import org.chromattic.apt.Instrumented;
public class WatchedMixin_Chromattic extends WatchedMixin implements Instrumented {
public final org.chromattic.spi.instrument.MethodHandler handler;
public WatchedMixin_Chromattic(org.chromattic.spi.instrument.MethodHandler handler) {
this.handler = handler;
}
private static final Invoker method_0 = Invoker.getDeclaredMethod(org.exoplatform.wiki.mow.core.api.wiki.WatchedMixin.class,"getEntity");
public final org.exoplatform.wiki.mow.core.api.wiki.PageImpl getEntity() {
try {
return (org.exoplatform.wiki.mow.core.api.wiki.PageImpl)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.wiki.mow.core.api.wiki.WatchedMixin.class,"setEntity",org.exoplatform.wiki.mow.core.api.wiki.PageImpl.class);
public final void setEntity(org.exoplatform.wiki.mow.core.api.wiki.PageImpl arg_0) {
try {
handler.invoke(this,method_1.getMethod(),(Object)arg_0);
} 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.wiki.mow.core.api.wiki.WatchedMixin.class,"getWatchersByChromattic");
public final java.util.List getWatchersByChromattic() {
try {
return (java.util.List)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);
}
}
private static final Invoker method_3 = Invoker.getDeclaredMethod(org.exoplatform.wiki.mow.core.api.wiki.WatchedMixin.class,"setWatchersByChromattic",java.util.List.class);
public final void setWatchersByChromattic(java.util.List arg_0) {
try {
handler.invoke(this,method_3.getMethod(),(Object)arg_0);
} 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);
}
}
}