List of usage examples for org.objectweb.asm Opcodes interface-usage
From source file org.diorite.inject.impl.controller.TransformerInjectTracker.java
final class TransformerInjectTracker implements Opcodes { private final Transformer transformer; private final FieldInsnNode fieldInsnNode; private final boolean isStatic; private InsnList resultNodeList; private final InsnList initNodeList;
From source file org.diorite.inject.impl.controller.TransformerInvokerGenerator.java
final class TransformerInvokerGenerator implements ClassFileTransformer, Opcodes { public static final String INJECTOR_CLASS = Constants.INJECTOR.getInternalName(); public static final String INJECTOR_FIELD = "injectField"; public static final String INJECTOR_FIELD_DESC = "(Ljava/lang/Object;IIZ)Ljava/lang/Object;"; public static final String INJECTOR_METHOD = "injectMethod"; public static final String INJECTOR_METHOD_DESC = "(Ljava/lang/Object;IIIZ)Ljava/lang/Object;";
From source file org.diorite.inject.impl.utils.AsmUtils.java
@SuppressWarnings("Duplicates") public final class AsmUtils implements Opcodes { public static final TypeDescription.ForLoadedType VOID = new TypeDescription.ForLoadedType(Void.class); public static final TypeDescription.ForLoadedType BOOLEAN = new TypeDescription.ForLoadedType(Boolean.class); public static final TypeDescription.ForLoadedType BYTE = new TypeDescription.ForLoadedType(Byte.class); public static final TypeDescription.ForLoadedType SHORT = new TypeDescription.ForLoadedType(Short.class);
From source file org.diorite.unsafe.AsmUtils.java
public final class AsmUtils implements Opcodes { private AsmUtils() { } public static void printBytecodeSource(ClassWriter classWriter, OutputStream outputStream) { ClassReader cr = new ClassReader(classWriter.toByteArray());
From source file org.eclipse.b3.build.internal.BuildUtilsDynamicClassLoader.java
class BuildUtilsDynamicClassLoader extends ClassLoader implements Opcodes { public BuildUtilsDynamicClassLoader(ClassLoader parent) { super(parent); } public Class<?> defineClass(String name, byte[] b) {
From source file org.eclipse.core.databinding.pojo.bindable.internal.asm.ClassBindable.java
/** * ASM {@link ClassVisitor} to change bytecode of POJO to implements * {@link BindableAware}. * */ public class ClassBindable extends ClassAdapter
From source file org.eclipse.core.databinding.pojo.bindable.internal.asm.FireEventsMethodBindable.java
/**
* Method wich defines @Bindable(fireEvents={"property1", "property2"}) must
* generated method to get old values of property1, property2 and fire events
* changes for property1, property2.
*
*/
From source file org.eclipse.core.databinding.pojo.bindable.internal.asm.GetterMethodBindable.java
/** * Getter method wich defined {@link Bindable} annotation to manage dependsOn. * */ public class GetterMethodBindable extends MethodAdapter implements Opcodes, BindableSignatureConstants, AnnotationBindableAware {
From source file org.eclipse.core.databinding.pojo.bindable.internal.util.ASMUtils.java
/** * Utilities for ASM bytecode. * */ public class ASMUtils implements Opcodes, BindableSignatureConstants {
From source file org.eclipse.core.databinding.pojo.bindable.internal.util.ClassUtils.java
/** * Utilities for Class name, package name. * */ public class ClassUtils implements Opcodes {