Modifier.PUBLIC | Modifier.FINAL,
Types.Object,
Type.list(Type.of(Runnable.class))
);
final MethodBuilder powerMethod = typeBuilder.defineMethod(
"power",
Modifier.PUBLIC | Modifier.FINAL,
PrimitiveTypes.Integer,
Type.list(PrimitiveTypes.Integer, PrimitiveTypes.Integer)
);
final MethodBuilder runMethod = typeBuilder.defineMethod(
"run",
Modifier.PUBLIC | Modifier.FINAL,
PrimitiveTypes.Void
);