List of usage examples for org.objectweb.asm Opcodes ASM5
int ASM5
To view the source code for org.objectweb.asm Opcodes ASM5.
Click Source Link
From source file:org.apache.felix.ipojo.manipulator.metadata.annotation.visitor.stereotype.FieldStereotypeVisitor.java
License:Apache License
public FieldStereotypeVisitor(final FieldVisitor delegate, AnnotationType annotationType) { super(Opcodes.ASM5); this.m_delegate = delegate; m_annotationType = annotationType;/*from w w w . j a v a2 s. c o m*/ }
From source file:org.apache.felix.ipojo.manipulator.metadata.annotation.visitor.stereotype.MethodStereotypeVisitor.java
License:Apache License
public MethodStereotypeVisitor(final MethodVisitor delegate, AnnotationType annotationType) { super(Opcodes.ASM5); this.m_delegate = delegate; m_annotationType = annotationType;// w w w . ja v a 2s. c o m }
From source file:org.apache.felix.ipojo.manipulator.metadata.annotation.visitor.stereotype.ParameterStereotypeVisitor.java
License:Apache License
public ParameterStereotypeVisitor(final MethodVisitor delegate, final int index, AnnotationType annotationType) { super(Opcodes.ASM5); this.m_delegate = delegate; this.index = index; m_annotationType = annotationType;//from w w w . java 2s .c o m }
From source file:org.apache.felix.ipojo.manipulator.metadata.annotation.visitor.stereotype.TypeStereotypeVisitor.java
License:Apache License
public TypeStereotypeVisitor(final ClassVisitor delegate, AnnotationType annotationType) { super(Opcodes.ASM5); this.m_delegate = delegate; m_annotationType = annotationType;// w w w .j a v a 2 s. c om }
From source file:org.apache.felix.ipojo.manipulator.metadata.annotation.visitor.UpdatedVisitor.java
License:Apache License
public UpdatedVisitor(ComponentWorkbench workbench, String name) { super(Opcodes.ASM5); this.workbench = workbench; this.name = name; }
From source file:org.apache.felix.ipojo.manipulator.util.ChainedAnnotationVisitor.java
License:Apache License
public ChainedAnnotationVisitor() { super(Opcodes.ASM5); }
From source file:org.apache.flink.api.java.ClosureCleaner.java
License:Apache License
public This0AccessFinder(String this0Name) { super(Opcodes.ASM5); this.this0Name = this0Name; }
From source file:org.apache.flink.api.java.ClosureCleaner.java
License:Apache License
@Override public MethodVisitor visitMethod(int access, String name, String desc, String sig, String[] exceptions) { return new MethodVisitor(Opcodes.ASM5) { @Override//from w w w . j ava 2 s.c o m public void visitFieldInsn(int op, String owner, String name, String desc) { if (op == Opcodes.GETFIELD && name.equals(this0Name)) { isThis0Accessed = true; } } }; }
From source file:org.apache.flink.runtime.util.DependencyVisitor.java
License:Apache License
@Override public AnnotationVisitor visitAnnotation(String desc, boolean visible) { addDesc(desc);/*from w w w. j a v a 2s.c o m*/ return new AnnotationVisitorImpl(Opcodes.ASM5); }
From source file:org.apache.flink.runtime.util.DependencyVisitor.java
License:Apache License
@Override public FieldVisitor visitField(int access, String name, String desc, String signature, Object value) { if (signature == null) { addDesc(desc);//from w w w .j a v a2 s . c o m } else { addTypeSignature(signature); } if (value instanceof Type) { addType((Type) value); } return new FieldVisitorImpl(Opcodes.ASM5); }