/** * Obtains the string representation of this object. */ public String toString() { return "\"" + getValue() + "\""; }
Object getValue(ClassLoader cl, ClassPool cp, Method m) { return getValue(); }
/** * Obtains the string representation of this object. */ @Override public String toString() { return "\"" + getValue() + "\""; }
@Override Object getValue(ClassLoader cl, ClassPool cp, Method m) { return getValue(); }
@Override public void visitStringMemberValue(StringMemberValue node) { values.add(node.getValue()); }
/** * Writes the value. */ public void write(AnnotationsWriter writer) throws IOException { writer.constValueIndex(getValue()); }
/** * Writes the value. */ @Override public void write(AnnotationsWriter writer) throws IOException { writer.constValueIndex(getValue()); }
if (key.equalsIgnoreCase("name")) { StringMemberValue value = (StringMemberValue) annotation.getMemberValue(key); String oldTableName = value.getValue(); value.setValue(tableName); if (LOG.isDebugEnabled()) { LOG.debug("Altering " + classFile.getName() + " table name from: " + oldTableName + "" + " to: " + value.getValue());
List<String> addedTemplates = new ArrayList<>(); for (MemberValue memberValue : annot.getValue()) { String val = ((StringMemberValue) memberValue).getValue(); addedTemplates.addAll(reviewTemplateTokens(matchedPatterns, val));
if (typeName.equals(Type.class.getName())) { StringMemberValue annot = (StringMemberValue) annotation.getMemberValue("type"); if (annot != null && annot.getValue().equals(StringClobType.class.getName())) { Annotation clobType = new Annotation(Type.class.getName(), constantPool); StringMemberValue type = new StringMemberValue(constantPool);
/** * Obtains the string representation of this object. */ public String toString() { return "\"" + getValue() + "\""; }
/** * Obtains the string representation of this object. */ public String toString() { return "\"" + getValue() + "\""; }
/** * Obtains the string representation of this object. */ public String toString() { return "\"" + getValue() + "\""; }
/** * Obtains the string representation of this object. */ public String toString() { return "\"" + getValue() + "\""; }
@Override public void visitStringMemberValue(StringMemberValue node) { values.add(node.getValue()); }
/** * Writes the value. */ public void write(AnnotationsWriter writer) throws IOException { writer.constValueIndex(getValue()); }
/** * Writes the value. */ public void write(AnnotationsWriter writer) throws IOException { writer.constValueIndex(getValue()); }
/** * Writes the value. */ public void write(AnnotationsWriter writer) throws IOException { writer.constValueIndex(getValue()); }
/** * Writes the value. */ public void write(AnnotationsWriter writer) throws IOException { writer.constValueIndex(getValue()); }
private String tryExtractFromParamTypeAnnotation(Object[] annotations) { for (Object o : annotations) { AnnotationImpl annotation = (AnnotationImpl) Proxy.getInvocationHandler(o); if (annotation.getTypeName().equals(ParamType.class.getName())) { String value = ((StringMemberValue) annotation.getAnnotation().getMemberValue("value")).getValue(); return value.equals("") ? null : value; } } return null; } }