static StringAnnotation obfuscate(StringAnnotation m) { StringAnnotation result = new StringAnnotation("obfuscated: " + hashData(m.getValue())); result.setDescription(m.getDescription()); return result; }
if (location.getHandle().getInstruction() instanceof ACONST_NULL) { StringAnnotation nullConstant = new StringAnnotation("null"); nullConstant.setDescription(StringAnnotation.STRING_NONSTRING_CONSTANT_ROLE); return nullConstant;
private void addMessage(BugInstance bug, String role, String text) { StringAnnotation stringAnnotation = new StringAnnotation(text); stringAnnotation.setDescription(role); bug.add(stringAnnotation); }
private void addMessage(BugInstance bug, String role, String text) { StringAnnotation stringAnnotation = new StringAnnotation(text); stringAnnotation.setDescription(role); bug.add(stringAnnotation); }
static StringAnnotation obfuscate(StringAnnotation m) { StringAnnotation result = new StringAnnotation("obfuscated: " + hashData(m.getValue())); result.setDescription(m.getDescription()); return result; }
if (location.getHandle().getInstruction() instanceof ACONST_NULL) { StringAnnotation nullConstant = new StringAnnotation("null"); nullConstant.setDescription(StringAnnotation.STRING_NONSTRING_CONSTANT_ROLE); return nullConstant;