use of edu.umd.cs.findbugs.OpcodeStack in project fb-contrib by mebigfatguy.
the class LingeringGraphicsObjects method visitClassContext.
/**
* overrides the visitor to set up the opcode stack
*
* @param classContext
* the context object of the currently parsed class
*/
@Override
public void visitClassContext(ClassContext classContext) {
try {
stack = new OpcodeStack();
graphicsRegs = new HashMap<Integer, Integer>(5);
super.visitClassContext(classContext);
} finally {
stack = null;
graphicsRegs = null;
}
}
use of edu.umd.cs.findbugs.OpcodeStack in project fb-contrib by mebigfatguy.
the class ListIndexedIterating method visitClassContext.
/**
* overrides the interface to create and clear the stack and loops tracker
*
* @param classContext
* the context object for the currently parsed class
*/
@Override
public void visitClassContext(ClassContext classContext) {
try {
stack = new OpcodeStack();
possibleForLoops = new HashSet<>();
super.visitClassContext(classContext);
} finally {
stack = null;
possibleForLoops = null;
}
}
use of edu.umd.cs.findbugs.OpcodeStack in project fb-contrib by mebigfatguy.
the class LiteralStringComparison method visitClassContext.
/**
* implements the visitor to create and clear the stack
*
* @param classContext
* the context object for the currently parsed class
*/
@Override
public void visitClassContext(ClassContext classContext) {
try {
stack = new OpcodeStack();
lookupSwitches = new ArrayList<>();
super.visitClassContext(classContext);
} finally {
stack = null;
lookupSwitches = null;
}
}
use of edu.umd.cs.findbugs.OpcodeStack in project fb-contrib by mebigfatguy.
the class ConflatingResourcesAndFiles method visitClassContext.
/**
* overrides the visitor to reset the stack
*
* @param classContext
* the context object of the currently parsed class
*/
@Override
public void visitClassContext(ClassContext classContext) {
try {
stack = new OpcodeStack();
super.visitClassContext(classContext);
} finally {
stack = null;
}
}
use of edu.umd.cs.findbugs.OpcodeStack in project fb-contrib by mebigfatguy.
the class ConflictingTimeUnits method visitClassContext.
/**
* overrides the visitor to reset the stack
*
* @param classContext
* the context object of the currently parsed class
*/
@Override
public void visitClassContext(ClassContext classContext) {
try {
stack = new OpcodeStack();
super.visitClassContext(classContext);
} finally {
stack = null;
}
}
Aggregations