/** * Returns the generic signature of the method. * It represents parameter types including type variables. * * @see SignatureAttribute#toMethodSignature(String) * @since 3.17 */ public String getGenericSignature() { SignatureAttribute sa = (SignatureAttribute)methodInfo.getAttribute(SignatureAttribute.tag); return sa == null ? null : sa.getSignature(); }
/** * Returns the generic signature of the field. * It represents a type including type variables. * * @see SignatureAttribute#toFieldSignature(String) * @since 3.17 */ public String getGenericSignature() { SignatureAttribute sa = (SignatureAttribute)fieldInfo.getAttribute(SignatureAttribute.tag); return sa == null ? null : sa.getSignature(); }
/** * Makes a copy. Class names are replaced according to the * given <code>Map</code> object. * * @param newCp the constant pool table used by the new copy. * @param classnames pairs of replaced and substituted * class names. */ public AttributeInfo copy(ConstPool newCp, Map classnames) { return new SignatureAttribute(newCp, getSignature()); }
/** * Makes a copy. Class names are replaced according to the * given <code>Map</code> object. * * @param newCp the constant pool table used by the new copy. * @param classnames pairs of replaced and substituted * class names. */ @Override public AttributeInfo copy(ConstPool newCp, Map<String,String> classnames) { return new SignatureAttribute(newCp, getSignature()); }
/** * Returns the generic signature of the method. * It represents parameter types including type variables. * * @see SignatureAttribute#toMethodSignature(String) * @since 3.17 */ @Override public String getGenericSignature() { SignatureAttribute sa = (SignatureAttribute)methodInfo.getAttribute(SignatureAttribute.tag); return sa == null ? null : sa.getSignature(); }
/** * Returns the generic signature of the field. * It represents a type including type variables. * * @see SignatureAttribute#toFieldSignature(String) * @since 3.17 */ @Override public String getGenericSignature() { SignatureAttribute sa = (SignatureAttribute)fieldInfo.getAttribute(SignatureAttribute.tag); return sa == null ? null : sa.getSignature(); }
public String getGenericSignature() { SignatureAttribute sa = (SignatureAttribute)getClassFile2().getAttribute(SignatureAttribute.tag); return sa == null ? null : sa.getSignature(); }
void renameClass(String oldname, String newname) { String sig = renameClass(getSignature(), oldname, newname); setSignature(sig); }
void renameClass(Map classnames) { String sig = renameClass(getSignature(), classnames); setSignature(sig); }
@Override public String getGenericSignature() { SignatureAttribute sa = (SignatureAttribute)getClassFile2().getAttribute(SignatureAttribute.tag); return sa == null ? null : sa.getSignature(); }
@Override void renameClass(Map<String,String> classnames) { String sig = renameClass(getSignature(), classnames); setSignature(sig); }
@Override void renameClass(String oldname, String newname) { String sig = renameClass(getSignature(), oldname, newname); setSignature(sig); }
String sig = sa.getSignature(); out.println("signature: " + sig); try {
String sig = sa.getSignature(); out.println("signature: " + sig); try {
/** * Makes a copy. Class names are replaced according to the * given <code>Map</code> object. * * @param newCp the constant pool table used by the new copy. * @param classnames pairs of replaced and substituted * class names. */ public AttributeInfo copy(ConstPool newCp, Map classnames) { return new SignatureAttribute(newCp, getSignature()); }
/** * Returns the generic signature of the method. * It represents parameter types including type variables. * * @see SignatureAttribute#toMethodSignature(String) * @since 3.17 */ public String getGenericSignature() { SignatureAttribute sa = (SignatureAttribute)methodInfo.getAttribute(SignatureAttribute.tag); return sa == null ? null : sa.getSignature(); }
/** * Makes a copy. Class names are replaced according to the * given <code>Map</code> object. * * @param newCp the constant pool table used by the new copy. * @param classnames pairs of replaced and substituted * class names. */ public AttributeInfo copy(ConstPool newCp, Map classnames) { return new SignatureAttribute(newCp, getSignature()); }
/** * Returns the generic signature of the field. * It represents a type including type variables. * * @see SignatureAttribute#toFieldSignature(String) * @since 3.17 */ public String getGenericSignature() { SignatureAttribute sa = (SignatureAttribute)fieldInfo.getAttribute(SignatureAttribute.tag); return sa == null ? null : sa.getSignature(); }
public String getGenericSignature() { SignatureAttribute sa = (SignatureAttribute)getClassFile2().getAttribute(SignatureAttribute.tag); return sa == null ? null : sa.getSignature(); }
public String getGenericSignature() { SignatureAttribute sa = (SignatureAttribute)getClassFile2().getAttribute(SignatureAttribute.tag); return sa == null ? null : sa.getSignature(); }