org.springframework.asm.SpringAsmInfo Java Examples
The following examples show how to use
org.springframework.asm.SpringAsmInfo.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: MergedAnnotationMetadataVisitorTests.java From spring-analysis-note with MIT License | 6 votes |
private void loadFrom(Class<?> type) { ClassVisitor visitor = new ClassVisitor(SpringAsmInfo.ASM_VERSION) { @Override public AnnotationVisitor visitAnnotation(String descriptor, boolean visible) { return MergedAnnotationReadingVisitor.get(getClass().getClassLoader(), null, descriptor, visible, annotation -> MergedAnnotationMetadataVisitorTests.this.annotation = annotation); } }; try { new ClassReader(type.getName()).accept(visitor, ClassReader.SKIP_DEBUG | ClassReader.SKIP_CODE | ClassReader.SKIP_FRAMES); } catch (IOException ex) { throw new IllegalStateException(ex); } }
Example #2
Source File: LocalVariableTableParameterNameDiscoverer.java From spring-analysis-note with MIT License | 5 votes |
public LocalVariableTableVisitor(Class<?> clazz, Map<Member, String[]> map, String name, String desc, boolean isStatic) { super(SpringAsmInfo.ASM_VERSION); this.clazz = clazz; this.memberMap = map; this.name = name; this.args = Type.getArgumentTypes(desc); this.parameterNames = new String[this.args.length]; this.isStatic = isStatic; this.lvtSlotIndex = computeLvtSlotIndices(isStatic, this.args); }
Example #3
Source File: MethodMetadataReadingVisitor.java From spring4-understanding with Apache License 2.0 | 5 votes |
public MethodMetadataReadingVisitor(String methodName, int access, String declaringClassName, String returnTypeName, ClassLoader classLoader, Set<MethodMetadata> methodMetadataSet) { super(SpringAsmInfo.ASM_VERSION); this.methodName = methodName; this.access = access; this.declaringClassName = declaringClassName; this.returnTypeName = returnTypeName; this.classLoader = classLoader; this.methodMetadataSet = methodMetadataSet; }
Example #4
Source File: LocalVariableTableParameterNameDiscoverer.java From spring4-understanding with Apache License 2.0 | 5 votes |
public LocalVariableTableVisitor(Class<?> clazz, Map<Member, String[]> map, String name, String desc, boolean isStatic) { super(SpringAsmInfo.ASM_VERSION); this.clazz = clazz; this.memberMap = map; this.name = name; this.args = Type.getArgumentTypes(desc); this.parameterNames = new String[this.args.length]; this.isStatic = isStatic; this.lvtSlotIndex = computeLvtSlotIndices(isStatic, this.args); }
Example #5
Source File: MethodMetadataReadingVisitor.java From lams with GNU General Public License v2.0 | 5 votes |
public MethodMetadataReadingVisitor(String methodName, int access, String declaringClassName, String returnTypeName, ClassLoader classLoader, Set<MethodMetadata> methodMetadataSet) { super(SpringAsmInfo.ASM_VERSION); this.methodName = methodName; this.access = access; this.declaringClassName = declaringClassName; this.returnTypeName = returnTypeName; this.classLoader = classLoader; this.methodMetadataSet = methodMetadataSet; }
Example #6
Source File: LocalVariableTableParameterNameDiscoverer.java From lams with GNU General Public License v2.0 | 5 votes |
public LocalVariableTableVisitor(Class<?> clazz, Map<Member, String[]> map, String name, String desc, boolean isStatic) { super(SpringAsmInfo.ASM_VERSION); this.clazz = clazz; this.memberMap = map; this.name = name; this.args = Type.getArgumentTypes(desc); this.parameterNames = new String[this.args.length]; this.isStatic = isStatic; this.lvtSlotIndex = computeLvtSlotIndices(isStatic, this.args); }
Example #7
Source File: MethodMetadataReadingVisitor.java From java-technology-stack with MIT License | 5 votes |
public MethodMetadataReadingVisitor(String methodName, int access, String declaringClassName, String returnTypeName, @Nullable ClassLoader classLoader, Set<MethodMetadata> methodMetadataSet) { super(SpringAsmInfo.ASM_VERSION); this.methodName = methodName; this.access = access; this.declaringClassName = declaringClassName; this.returnTypeName = returnTypeName; this.classLoader = classLoader; this.methodMetadataSet = methodMetadataSet; }
Example #8
Source File: LocalVariableTableParameterNameDiscoverer.java From java-technology-stack with MIT License | 5 votes |
public LocalVariableTableVisitor(Class<?> clazz, Map<Member, String[]> map, String name, String desc, boolean isStatic) { super(SpringAsmInfo.ASM_VERSION); this.clazz = clazz; this.memberMap = map; this.name = name; this.args = Type.getArgumentTypes(desc); this.parameterNames = new String[this.args.length]; this.isStatic = isStatic; this.lvtSlotIndex = computeLvtSlotIndices(isStatic, this.args); }
Example #9
Source File: MethodMetadataReadingVisitor.java From spring-analysis-note with MIT License | 5 votes |
public MethodMetadataReadingVisitor(String methodName, int access, String declaringClassName, String returnTypeName, @Nullable ClassLoader classLoader, Set<MethodMetadata> methodMetadataSet) { super(SpringAsmInfo.ASM_VERSION); this.methodName = methodName; this.access = access; this.declaringClassName = declaringClassName; this.returnTypeName = returnTypeName; this.classLoader = classLoader; this.methodMetadataSet = methodMetadataSet; }
Example #10
Source File: SimpleMethodMetadataReadingVisitor.java From spring-analysis-note with MIT License | 5 votes |
SimpleMethodMetadataReadingVisitor(@Nullable ClassLoader classLoader, String declaringClassName, int access, String name, String descriptor, Consumer<SimpleMethodMetadata> consumer) { super(SpringAsmInfo.ASM_VERSION); this.classLoader = classLoader; this.declaringClassName = declaringClassName; this.access = access; this.name = name; this.descriptor = descriptor; this.consumer = consumer; }
Example #11
Source File: MergedAnnotationReadingVisitor.java From spring-analysis-note with MIT License | 5 votes |
public MergedAnnotationReadingVisitor(@Nullable ClassLoader classLoader, @Nullable Object source, Class<A> annotationType, Consumer<MergedAnnotation<A>> consumer) { super(SpringAsmInfo.ASM_VERSION); this.classLoader = classLoader; this.source = source; this.annotationType = annotationType; this.consumer = consumer; }
Example #12
Source File: AbstractRecursiveAnnotationVisitor.java From lams with GNU General Public License v2.0 | 4 votes |
public AbstractRecursiveAnnotationVisitor(ClassLoader classLoader, AnnotationAttributes attributes) { super(SpringAsmInfo.ASM_VERSION); this.classLoader = classLoader; this.attributes = attributes; }
Example #13
Source File: LocalVariableTableParameterNameDiscoverer.java From spring-analysis-note with MIT License | 4 votes |
public ParameterNameDiscoveringVisitor(Class<?> clazz, Map<Member, String[]> memberMap) { super(SpringAsmInfo.ASM_VERSION); this.clazz = clazz; this.memberMap = memberMap; }
Example #14
Source File: ClassMetadataReadingVisitor.java From spring4-understanding with Apache License 2.0 | 4 votes |
public EmptyFieldVisitor() { super(SpringAsmInfo.ASM_VERSION); }
Example #15
Source File: ClassMetadataReadingVisitor.java From spring4-understanding with Apache License 2.0 | 4 votes |
public EmptyMethodVisitor() { super(SpringAsmInfo.ASM_VERSION); }
Example #16
Source File: ClassMetadataReadingVisitor.java From spring4-understanding with Apache License 2.0 | 4 votes |
public EmptyAnnotationVisitor() { super(SpringAsmInfo.ASM_VERSION); }
Example #17
Source File: ClassMetadataReadingVisitor.java From spring4-understanding with Apache License 2.0 | 4 votes |
public ClassMetadataReadingVisitor() { super(SpringAsmInfo.ASM_VERSION); }
Example #18
Source File: AbstractRecursiveAnnotationVisitor.java From spring4-understanding with Apache License 2.0 | 4 votes |
public AbstractRecursiveAnnotationVisitor(ClassLoader classLoader, AnnotationAttributes attributes) { super(SpringAsmInfo.ASM_VERSION); this.classLoader = classLoader; this.attributes = attributes; }
Example #19
Source File: SimpleAnnotationMetadataReadingVisitor.java From spring-analysis-note with MIT License | 4 votes |
SimpleAnnotationMetadataReadingVisitor(@Nullable ClassLoader classLoader) { super(SpringAsmInfo.ASM_VERSION); this.classLoader = classLoader; }
Example #20
Source File: LocalVariableTableParameterNameDiscoverer.java From spring4-understanding with Apache License 2.0 | 4 votes |
public ParameterNameDiscoveringVisitor(Class<?> clazz, Map<Member, String[]> memberMap) { super(SpringAsmInfo.ASM_VERSION); this.clazz = clazz; this.memberMap = memberMap; }
Example #21
Source File: ClassMetadataReadingVisitor.java From lams with GNU General Public License v2.0 | 4 votes |
public EmptyFieldVisitor() { super(SpringAsmInfo.ASM_VERSION); }
Example #22
Source File: ClassMetadataReadingVisitor.java From lams with GNU General Public License v2.0 | 4 votes |
public EmptyMethodVisitor() { super(SpringAsmInfo.ASM_VERSION); }
Example #23
Source File: ClassMetadataReadingVisitor.java From lams with GNU General Public License v2.0 | 4 votes |
public EmptyAnnotationVisitor() { super(SpringAsmInfo.ASM_VERSION); }
Example #24
Source File: ClassMetadataReadingVisitor.java From lams with GNU General Public License v2.0 | 4 votes |
public ClassMetadataReadingVisitor() { super(SpringAsmInfo.ASM_VERSION); }
Example #25
Source File: ClassMetadataReadingVisitor.java From spring-analysis-note with MIT License | 4 votes |
public EmptyMethodVisitor() { super(SpringAsmInfo.ASM_VERSION); }
Example #26
Source File: MergedAnnotationReadingVisitor.java From spring-analysis-note with MIT License | 4 votes |
ArrayVisitor(Consumer<Object[]> consumer) { super(SpringAsmInfo.ASM_VERSION); this.consumer = consumer; }
Example #27
Source File: LocalVariableTableParameterNameDiscoverer.java From lams with GNU General Public License v2.0 | 4 votes |
public ParameterNameDiscoveringVisitor(Class<?> clazz, Map<Member, String[]> memberMap) { super(SpringAsmInfo.ASM_VERSION); this.clazz = clazz; this.memberMap = memberMap; }
Example #28
Source File: AbstractRecursiveAnnotationVisitor.java From spring-analysis-note with MIT License | 4 votes |
public AbstractRecursiveAnnotationVisitor(@Nullable ClassLoader classLoader, AnnotationAttributes attributes) { super(SpringAsmInfo.ASM_VERSION); this.classLoader = classLoader; this.attributes = attributes; }
Example #29
Source File: ClassMetadataReadingVisitor.java From java-technology-stack with MIT License | 4 votes |
public EmptyFieldVisitor() { super(SpringAsmInfo.ASM_VERSION); }
Example #30
Source File: ClassMetadataReadingVisitor.java From java-technology-stack with MIT License | 4 votes |
public EmptyMethodVisitor() { super(SpringAsmInfo.ASM_VERSION); }