!7
static void print_append(StringBuffer buf, String s, int max) {
x30.print_append(buf, s, max);
}
// vararg fixer
static Object callMC(S method, S[] arg) {
ret callMC(method, new O[] {arg});
}
static O callMC(S method, O... args) {
ret call(mc(), method, args);
}
static S fixNewLines(S s) {
ret x30.fixNewLines(s);
}
ifclass F0
static A callF(F0 f) {
ret f == null ? null : f.get();
}
endif
ifclass F1
static B callF(F1 f, A a) {
ret f == null ? null : f.get(a);
}
endif
ifclass F2
static C callF(F2 f, A a, B b) {
ret f == null ? null : f.get(a, b);
}
endif
static O callF(O f, O... args) ctex {
if (f instanceof S)
ret callMC((S) f, args);
ifclass DynamicCallable
if (f instanceof DynamicCallable)
ret f/DynamicCallable._dyn(args);
endif
ret x30.callF(f, args);
}
static A get(L l, int idx) {
ret x30.get(l, idx);
}
static A get(A[] l, int idx) {
ret x30.get(l, idx);
}
static bool get(bool[] l, int idx) {
ret x30.get(l, idx);
}
static Object get(Object o, String field) {
ret x30.get(o, field);
}
static Object get_raw(Object o, String field) {
ret x30.get_raw(o, field);
}
static Object get(Class c, String field) {
ret x30.get(c, field);
}
static Field get_findStaticField(Class> c, String field) {
ret x30.get_findStaticField(c, field);
}
static Field get_findField(Class> c, String field) {
ret x30.get_findField(c, field);
}
static O call(O o) {
ret callF(o);
}
static O call(O o, S method, O... args) {
ret x30.call(o, method, args);
}
static bool call_checkArgs(Method m, O[] args, bool debug) {
ret x30.call_checkArgs(m, args, debug);
}
static Map newWeakHashMap() {
ret x30.newWeakHashMap();
}
p {
print("Hello world!");
}