use of edu.umd.cs.findbugs.OpcodeStack in project fb-contrib by mebigfatguy.
the class StaticMethodInstanceInvocation method visitClassContext.
@Override
public void visitClassContext(ClassContext classContext) {
try {
stack = new OpcodeStack();
popStack = new ArrayList<>();
super.visitClassContext(classContext);
} finally {
stack = null;
popStack = null;
}
}
use of edu.umd.cs.findbugs.OpcodeStack in project fb-contrib by mebigfatguy.
the class StringifiedTypes method visitClassContext.
@Override
public void visitClassContext(ClassContext classContext) {
try {
stack = new OpcodeStack();
toStringStringBuilders = new BitSet();
super.visitClassContext(classContext);
} finally {
stack = null;
toStringStringBuilders = null;
}
}
use of edu.umd.cs.findbugs.OpcodeStack in project fb-contrib by mebigfatguy.
the class SuspiciousClusteredSessionSupport method visitClassContext.
/**
* implements the visitor to setup the opcode stack and attribute maps
*
* @param classContext
* the currently parsed class
*/
@Override
public void visitClassContext(ClassContext classContext) {
try {
stack = new OpcodeStack();
changedAttributes = new HashMap<>();
savedAttributes = new HashMap<>();
super.visitClassContext(classContext);
} finally {
stack = null;
changedAttributes = null;
savedAttributes = null;
}
}
use of edu.umd.cs.findbugs.OpcodeStack in project fb-contrib by mebigfatguy.
the class SuspiciousLoopSearch method visitClassContext.
/**
* overrides the visitor to initialize and tear down the opcode stack
*
* @param classContext
* the context object of the currently parsed class
*/
@Override
public void visitClassContext(ClassContext classContext) {
try {
ifBlocks = new ArrayList<>();
loadedRegs = new HashMap<>();
loopLocations = new BitSet();
stack = new OpcodeStack();
super.visitClassContext(classContext);
} finally {
ifBlocks = null;
loadedRegs = null;
loopLocations = null;
stack = null;
}
}
use of edu.umd.cs.findbugs.OpcodeStack in project fb-contrib by mebigfatguy.
the class SuspiciousNullGuard method visitClassContext.
/**
* overrides the visitor to initialize and tear down the opcode stack
*
* @param classContext
* the context object of the currently parsed class
*/
@Override
public void visitClassContext(ClassContext classContext) {
try {
stack = new OpcodeStack();
nullGuards = new HashMap<>();
super.visitClassContext(classContext);
} finally {
stack = null;
}
}
Aggregations