Apply formatting
This commit is contained in:
parent
eeaa27af83
commit
1b38fcc8b4
|
@ -41,9 +41,10 @@ public class ExceptionHandlers {
|
|||
final Label logEnd = new Label();
|
||||
final Label eatException = new Label();
|
||||
final Label handlerExit = new Label();
|
||||
|
||||
|
||||
// Frames are only meaningful for class files in version 6 or later.
|
||||
final boolean frames = context.getClassFileVersion().isAtLeast(ClassFileVersion.JAVA_V6);
|
||||
final boolean frames =
|
||||
context.getClassFileVersion().isAtLeast(ClassFileVersion.JAVA_V6);
|
||||
|
||||
mv.visitTryCatchBlock(logStart, logEnd, eatException, "java/lang/Throwable");
|
||||
|
||||
|
|
|
@ -621,7 +621,8 @@ public class FieldBackedProvider implements InstrumentationContextProvider {
|
|||
getFieldAccessorInterface(keyClassName, contextClassName);
|
||||
private final String accessorInterfaceInternalName = accessorInterface.getInternalName();
|
||||
private final String instrumentedTypeInternalName = instrumentedType.getInternalName();
|
||||
private final boolean frames = implementationContext.getClassFileVersion().isAtLeast(ClassFileVersion.JAVA_V6);
|
||||
private final boolean frames =
|
||||
implementationContext.getClassFileVersion().isAtLeast(ClassFileVersion.JAVA_V6);
|
||||
|
||||
@Override
|
||||
public MethodVisitor visitMethod(
|
||||
|
|
|
@ -47,13 +47,15 @@ public class MuzzleVisitor implements AsmVisitorWrapper {
|
|||
MethodList<?> methods,
|
||||
int writerFlags,
|
||||
int readerFlags) {
|
||||
return new InsertSafetyMatcher(classVisitor, implementationContext.getClassFileVersion().isAtLeast(ClassFileVersion.JAVA_V6));
|
||||
return new InsertSafetyMatcher(
|
||||
classVisitor,
|
||||
implementationContext.getClassFileVersion().isAtLeast(ClassFileVersion.JAVA_V6));
|
||||
}
|
||||
|
||||
public static class InsertSafetyMatcher extends ClassVisitor {
|
||||
|
||||
|
||||
private final boolean frames;
|
||||
|
||||
|
||||
private String instrumentationClassName;
|
||||
private Instrumenter.Default instrumenter;
|
||||
|
||||
|
|
Loading…
Reference in New Issue