javassist.bytecode
Class SignatureAttribute
java.lang.Object
javassist.bytecode.AttributeInfo
javassist.bytecode.SignatureAttribute
- public class SignatureAttribute
- extends AttributeInfo
Signature_attribute.
|
Field Summary |
static java.lang.String |
tag
The name of this attribute "Signature". |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tag
public static final java.lang.String tag
- The name of this attribute
"Signature".
- See Also:
- Constant Field Values
SignatureAttribute
public SignatureAttribute(ConstPool cp,
java.lang.String signature)
- Constructs a Signature attribute.
- Parameters:
cp - a constant pool table.signature - the signature represented by this attribute.
getSignature
public java.lang.String getSignature()
- Returns the signature indicated by
signature_index.
copy
public AttributeInfo copy(ConstPool newCp,
java.util.Map classnames)
- Makes a copy. Class names are replaced according to the
given
Map object.
- Overrides:
copy in class AttributeInfo
- Parameters:
newCp - the constant pool table used by the new copy.classnames - pairs of replaced and substituted
class names.
Javassist, a Java-bytecode translator toolkit.
Copyright (C) 1999-2005 Shigeru Chiba. All Rights Reserved.