import edu.umd.cs.findbugs.BugReporter;
import edu.umd.cs.findbugs.BytecodeScanningDetector;
import edu.umd.cs.findbugs.OpcodeStack;
import edu.umd.cs.findbugs.ba.ClassContext;
public class CharsetIssues extends BytecodeScanningDetector {
<BUG>private static final String CHARSET_SIG = "Ljava/nio/charset/Charset;";
</BUG>
private static final Map<FQMethod, Integer> REPLACEABLE_ENCODING_METHODS;
private static final Map<FQMethod, Integer> UNREPLACEABLE_ENCODING_METHODS;
public static final Set<String> STANDARD_JDK7_ENCODINGS = UnmodifiableSet.create("US-ASCII", "ISO-8859-1", "UTF-8", "UTF-16BE", "UTF-16LE", "UTF-16");

import edu.umd.cs.findbugs.BugReporter;
import edu.umd.cs.findbugs.BytecodeScanningDetector;
import edu.umd.cs.findbugs.OpcodeStack;
import edu.umd.cs.findbugs.ba.ClassContext;
public class CharsetIssues extends BytecodeScanningDetector {
private static final String CHARSET_SIG = SignatureUtils.classToSignature("java/nio/charset/Charset");
private static final Map<FQMethod, Integer> REPLACEABLE_ENCODING_METHODS;
private static final Map<FQMethod, Integer> UNREPLACEABLE_ENCODING_METHODS;
public static final Set<String> STANDARD_JDK7_ENCODINGS = UnmodifiableSet.create("US-ASCII", "ISO-8859-1", "UTF-8", "UTF-16BE", "UTF-16LE", "UTF-16");
