| org.aspectj.apache.bcel.classfile.Signature
Signature | final public class Signature extends Attribute (Code) | | This class is derived from Attribute and represents a reference to
a GJ attribute.
version: $Id: Signature.java,v 1.2 2006-07-05 15:22:56 ebruneton Exp $ author: M. Dahm See Also: Attribute |
Constructor Summary | |
public | Signature(Signature c) Initialize from another object. | | Signature(int name_index, int length, DataInputStream file, ConstantPool constant_pool) Construct object from file stream. | public | Signature(int name_index, int length, int signature_index, ConstantPool constant_pool) |
Signature | public Signature(Signature c)(Code) | | Initialize from another object. Note that both objects use the same
references (shallow copy). Use clone() for a physical copy.
Parameters: c - |
Signature | Signature(int name_index, int length, DataInputStream file, ConstantPool constant_pool) throws IOException(Code) | | Construct object from file stream.
Parameters: name_index - Index in constant pool to CONSTANT_Utf8 Parameters: length - Content length in bytes Parameters: file - Input stream Parameters: constant_pool - Array of constants throws: IOException - |
Signature | public Signature(int name_index, int length, int signature_index, ConstantPool constant_pool)(Code) | | Parameters: name_index - Index in constant pool to CONSTANT_Utf8 Parameters: length - Content length in bytes Parameters: constant_pool - Array of constants Parameters: signature_index - Index in constant pool to CONSTANT_Utf8 |
accept | public void accept(Visitor v)(Code) | | Called by objects that are traversing the nodes of the tree implicitely
defined by the contents of a Java class. I.e., the hierarchy of methods,
fields, attributes, etc. spawns a tree of objects.
Parameters: v - Visitor object |
copy | public Attribute copy(ConstantPool constant_pool)(Code) | | Parameters: constant_pool - deep copy of this attribute |
getSignature | final public String getSignature()(Code) | | GJ signature. |
getSignatureIndex | final public int getSignatureIndex()(Code) | | Index in constant pool of source file name. |
isActualParameterList | final public static boolean isActualParameterList(String s)(Code) | | |
isFormalParameterList | final public static boolean isFormalParameterList(String s)(Code) | | |
setSignatureIndex | final public void setSignatureIndex(int signature_index)(Code) | | Parameters: signature_index - |
toString | final public String toString()(Code) | | String representation |
|
|