Java Code Examples for org.springframework.asm.Opcodes#ACC_ABSTRACT

The following examples show how to use org.springframework.asm.Opcodes#ACC_ABSTRACT . 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: ClassMetadataReadingVisitor.java    From spring-analysis-note with MIT License 6 votes vote down vote up
@Override
public void visit(
		int version, int access, String name, String signature, @Nullable String supername, String[] interfaces) {

	this.className = ClassUtils.convertResourcePathToClassName(name);
	this.isInterface = ((access & Opcodes.ACC_INTERFACE) != 0);
	this.isAnnotation = ((access & Opcodes.ACC_ANNOTATION) != 0);
	this.isAbstract = ((access & Opcodes.ACC_ABSTRACT) != 0);
	this.isFinal = ((access & Opcodes.ACC_FINAL) != 0);
	if (supername != null && !this.isInterface) {
		this.superClassName = ClassUtils.convertResourcePathToClassName(supername);
	}
	this.interfaces = new String[interfaces.length];
	for (int i = 0; i < interfaces.length; i++) {
		this.interfaces[i] = ClassUtils.convertResourcePathToClassName(interfaces[i]);
	}
}
 
Example 2
Source File: ClassMetadataReadingVisitor.java    From java-technology-stack with MIT License 6 votes vote down vote up
@Override
public void visit(
		int version, int access, String name, String signature, @Nullable String supername, String[] interfaces) {

	this.className = ClassUtils.convertResourcePathToClassName(name);
	this.isInterface = ((access & Opcodes.ACC_INTERFACE) != 0);
	this.isAnnotation = ((access & Opcodes.ACC_ANNOTATION) != 0);
	this.isAbstract = ((access & Opcodes.ACC_ABSTRACT) != 0);
	this.isFinal = ((access & Opcodes.ACC_FINAL) != 0);
	if (supername != null && !this.isInterface) {
		this.superClassName = ClassUtils.convertResourcePathToClassName(supername);
	}
	this.interfaces = new String[interfaces.length];
	for (int i = 0; i < interfaces.length; i++) {
		this.interfaces[i] = ClassUtils.convertResourcePathToClassName(interfaces[i]);
	}
}
 
Example 3
Source File: ClassMetadataReadingVisitor.java    From thinking-in-spring-boot-samples with Apache License 2.0 5 votes vote down vote up
public void visit(int version, int access, String name, String signature, String supername, String[] interfaces) {
    this.className = ClassUtils.convertResourcePathToClassName(name);
    this.isInterface = ((access & Opcodes.ACC_INTERFACE) != 0);
    this.isAbstract = ((access & Opcodes.ACC_ABSTRACT) != 0);
    this.isFinal = ((access & Opcodes.ACC_FINAL) != 0);
    if (supername != null) {
        this.superClassName = ClassUtils.convertResourcePathToClassName(supername);
    }
    this.interfaces = new String[interfaces.length];
    for (int i = 0; i < interfaces.length; i++) {
        this.interfaces[i] = ClassUtils.convertResourcePathToClassName(interfaces[i]);
    }
}
 
Example 4
Source File: ClassMetadataReadingVisitor.java    From lams with GNU General Public License v2.0 5 votes vote down vote up
@Override
public void visit(int version, int access, String name, String signature, String supername, String[] interfaces) {
	this.className = ClassUtils.convertResourcePathToClassName(name);
	this.isInterface = ((access & Opcodes.ACC_INTERFACE) != 0);
	this.isAnnotation = ((access & Opcodes.ACC_ANNOTATION) != 0);
	this.isAbstract = ((access & Opcodes.ACC_ABSTRACT) != 0);
	this.isFinal = ((access & Opcodes.ACC_FINAL) != 0);
	if (supername != null && !this.isInterface) {
		this.superClassName = ClassUtils.convertResourcePathToClassName(supername);
	}
	this.interfaces = new String[interfaces.length];
	for (int i = 0; i < interfaces.length; i++) {
		this.interfaces[i] = ClassUtils.convertResourcePathToClassName(interfaces[i]);
	}
}
 
Example 5
Source File: ClassMetadataReadingVisitor.java    From spring4-understanding with Apache License 2.0 5 votes vote down vote up
@Override
public void visit(int version, int access, String name, String signature, String supername, String[] interfaces) {
	this.className = ClassUtils.convertResourcePathToClassName(name);
	this.isInterface = ((access & Opcodes.ACC_INTERFACE) != 0);
	this.isAnnotation = ((access & Opcodes.ACC_ANNOTATION) != 0);
	this.isAbstract = ((access & Opcodes.ACC_ABSTRACT) != 0);
	this.isFinal = ((access & Opcodes.ACC_FINAL) != 0);
	if (supername != null && !this.isInterface) {
		this.superClassName = ClassUtils.convertResourcePathToClassName(supername);
	}
	this.interfaces = new String[interfaces.length];
	for (int i = 0; i < interfaces.length; i++) {
		this.interfaces[i] = ClassUtils.convertResourcePathToClassName(interfaces[i]);
	}
}
 
Example 6
Source File: SimpleAnnotationMetadata.java    From spring-analysis-note with MIT License 4 votes vote down vote up
@Override
public boolean isAbstract() {
	return (this.access & Opcodes.ACC_ABSTRACT) != 0;
}
 
Example 7
Source File: MethodMetadataReadingVisitor.java    From spring-analysis-note with MIT License 4 votes vote down vote up
@Override
public boolean isAbstract() {
	return ((this.access & Opcodes.ACC_ABSTRACT) != 0);
}
 
Example 8
Source File: SimpleMethodMetadata.java    From spring-analysis-note with MIT License 4 votes vote down vote up
@Override
public boolean isAbstract() {
	return (this.access & Opcodes.ACC_ABSTRACT) != 0;
}
 
Example 9
Source File: MethodMetadataReadingVisitor.java    From java-technology-stack with MIT License 4 votes vote down vote up
@Override
public boolean isAbstract() {
	return ((this.access & Opcodes.ACC_ABSTRACT) != 0);
}
 
Example 10
Source File: MethodMetadataReadingVisitor.java    From lams with GNU General Public License v2.0 4 votes vote down vote up
@Override
public boolean isAbstract() {
	return ((this.access & Opcodes.ACC_ABSTRACT) != 0);
}
 
Example 11
Source File: MethodMetadataReadingVisitor.java    From spring4-understanding with Apache License 2.0 4 votes vote down vote up
@Override
public boolean isAbstract() {
	return ((this.access & Opcodes.ACC_ABSTRACT) != 0);
}