TemplateContainer_Chromattic.java
package org.exoplatform.wiki.mow.core.api.wiki;
import org.chromattic.apt.Invoker;
import org.chromattic.apt.Instrumented;
public class TemplateContainer_Chromattic extends TemplateContainer implements Instrumented {
public final org.chromattic.spi.instrument.MethodHandler handler;
public TemplateContainer_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.TemplateContainer.class,"createTemplatePage");
public final org.exoplatform.wiki.mow.core.api.wiki.TemplateImpl createTemplatePage() {
try {
return (org.exoplatform.wiki.mow.core.api.wiki.TemplateImpl)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.TemplateContainer.class,"setTemplates",java.util.Map.class);
public final void setTemplates(java.util.Map 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.TemplateContainer.class,"getTemplates");
public final java.util.Map getTemplates() {
try {
return (java.util.Map)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.TemplateContainer.class,"getPath");
public final java.lang.String getPath() {
try {
return (java.lang.String)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);
}
}
}