VersionableMixin_Chromattic.java

package org.exoplatform.wiki.chromattic.ext.ntdef;
import org.chromattic.apt.Invoker;
import org.chromattic.apt.Instrumented;
public class VersionableMixin_Chromattic extends VersionableMixin implements Instrumented {
public final org.chromattic.spi.instrument.MethodHandler handler;
public VersionableMixin_Chromattic(org.chromattic.spi.instrument.MethodHandler handler) {
this.handler = handler;
}
private static final Invoker method_0 = Invoker.getDeclaredMethod(org.exoplatform.wiki.chromattic.ext.ntdef.VersionableMixin.class,"isCheckedOut");
public final boolean isCheckedOut() {
try {
return (java.lang.Boolean)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.chromattic.ext.ntdef.VersionableMixin.class,"getBaseVersion");
public final org.exoplatform.wiki.chromattic.ext.ntdef.NTVersion getBaseVersion() {
try {
return (org.exoplatform.wiki.chromattic.ext.ntdef.NTVersion)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.wiki.chromattic.ext.ntdef.VersionableMixin.class,"getEntity");
public final org.exoplatform.wiki.mow.core.api.wiki.AttachmentImpl getEntity() {
try {
return (org.exoplatform.wiki.mow.core.api.wiki.AttachmentImpl)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.chromattic.ext.ntdef.VersionableMixin.class,"setEntity",org.exoplatform.wiki.mow.core.api.wiki.AttachmentImpl.class);
public final void setEntity(org.exoplatform.wiki.mow.core.api.wiki.AttachmentImpl 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);
}
}
private static final Invoker method_4 = Invoker.getDeclaredMethod(org.exoplatform.wiki.chromattic.ext.ntdef.VersionableMixin.class,"getVersionHistory");
public final org.exoplatform.wiki.chromattic.ext.ntdef.NTVersionHistory getVersionHistory() {
try {
return (org.exoplatform.wiki.chromattic.ext.ntdef.NTVersionHistory)handler.invoke(this,method_4.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_5 = Invoker.getDeclaredMethod(org.exoplatform.wiki.chromattic.ext.ntdef.VersionableMixin.class,"getPredecessors");
public final java.lang.String[] getPredecessors() {
try {
return (java.lang.String[])handler.invoke(this,method_5.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);
}
}
}