jodd-proxetta/src/main/java/jodd/proxetta/asm/TargetClassInfoReader.java
@Override
	public void visit(final int version, final int access, final String name, final String signature, final String superName, final String[] interfaces) {
		final int lastSlash = name.lastIndexOf('/');
		this.thisReference = name;
		this.superName = superName;
		this.nextSupername = superName;
		this.targetPackage = lastSlash == -1 ? StringPool.EMPTY : name.substring(0, lastSlash).replace('/', '.');
		this.targetClassname = name.substring(lastSlash + 1);

		this.isTargetInterface = (access & AsmUtil.ACC_INTERFACE) != 0;
		if (this.isTargetInterface) {
			nextInterfaces = new HashSet<>();
			if (interfaces != null) {
				Collections.addAll(nextInterfaces, interfaces);
			}
		}
		generics = new GenericsReader().parseSignatureForGenerics(signature, isTargetInterface);
	}
@Override
	public void visit(final int version, final int access, final String name, final String signature, final String superName, final String[] interfaces) {
		final int lastSlash = name.lastIndexOf('/');
		this.thisReference = name;
		this.superName = superName;
		this.nextSupername = superName;
		this.targetPackage = lastSlash == -1 ? StringPool.EMPTY : name.substring(0, lastSlash).replace('/', '.');
		this.targetClassname = name.substring(lastSlash + 1);

		this.isTargetInterface = (access & AsmUtil.ACC_INTERFACE) != 0;
		if (this.isTargetInterface) {
			nextInterfaces = new HashSet<>();
			if (interfaces != null) {
				Collections.addAll(nextInterfaces, interfaces);
			}
		}
		generics = new GenericsReader().parseSignatureForGenerics(signature, isTargetInterface);
	}
@ Override public void visit ( final int version , final int access , final String name , final String signature , final String superName , final String [ ] interfaces ) { final int lastSlash = name . lastIndexOf ( ' ' ) ; this . thisReference = name ; this . superName = superName ; this . nextSupername = superName ; this . targetPackage = lastSlash == - 1 ? StringPool . EMPTY : name . substring ( 0 , lastSlash ) . replace ( ' ' , ' ' ) ; this . targetClassname = name . substring ( lastSlash + 1 ) ; this . isTargetInterface = ( access & AsmUtil . ACC_INTERFACE ) != 0 ; if ( this . isTargetInterface ) { nextInterfaces = new HashSet <> ( ) ; if ( interfaces != null ) { Collections . addAll ( nextInterfaces , interfaces ) ; } } generics = new GenericsReader ( ) . parseSignatureForGenerics ( signature , isTargetInterface ) ; }
---------------------------------------------------------------- visits
---------------------------------------------------------------- visits