MarkupImpl_Chromattic.java
package org.exoplatform.wiki.mow.core.api.content;
import org.chromattic.apt.Invoker;
import org.chromattic.apt.Instrumented;
public class MarkupImpl_Chromattic extends MarkupImpl implements Instrumented {
public final org.chromattic.spi.instrument.MethodHandler handler;
public MarkupImpl_Chromattic(org.chromattic.spi.instrument.MethodHandler handler) {
this.handler = handler;
}
private static final Invoker method_0 = Invoker.getDeclaredMethod(org.exoplatform.wiki.mow.core.api.content.AbstractContentItem.class,"getText");
public final java.lang.String getText() {
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.content.AbstractContentItem.class,"getId");
public final java.lang.String getId() {
try {
return (java.lang.String)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.mow.core.api.content.AbstractContentItem.class,"getChildren");
public final java.util.List getChildren() {
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.api.content.ContentItem.class,"setText",java.lang.String.class);
public final void setText(java.lang.String 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);
}
}
}