PreferencesSyntax_Chromattic.java
package org.exoplatform.wiki.mow.core.api.wiki;
import org.chromattic.apt.Invoker;
import org.chromattic.apt.Instrumented;
public class PreferencesSyntax_Chromattic extends PreferencesSyntax implements Instrumented {
public final org.chromattic.spi.instrument.MethodHandler handler;
public PreferencesSyntax_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.PreferencesSyntax.class,"getDefaultSyntax");
public final java.lang.String getDefaultSyntax() {
try {
return (java.lang.String)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.PreferencesSyntax.class,"setDefaultSyntax",java.lang.String.class);
public final java.lang.String setDefaultSyntax(java.lang.String arg_0) {
try {
return (java.lang.String)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.PreferencesSyntax.class,"getAllowMutipleSyntaxes");
public final boolean getAllowMutipleSyntaxes() {
try {
return (java.lang.Boolean)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.PreferencesSyntax.class,"getPreferences");
public final org.exoplatform.wiki.mow.core.api.wiki.PreferencesImpl getPreferences() {
try {
return (org.exoplatform.wiki.mow.core.api.wiki.PreferencesImpl)handler.invoke(this,method_3.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_4 = Invoker.getDeclaredMethod(org.exoplatform.wiki.mow.core.api.wiki.PreferencesSyntax.class,"setAllowMutipleSyntaxes",boolean.class);
public final java.lang.String setAllowMutipleSyntaxes(boolean arg_0) {
try {
return (java.lang.String)handler.invoke(this,method_4.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);
}
}
}