org.fife.rsta.ac.java.classreader.attributes
Class Signature

java.lang.Object
  extended by org.fife.rsta.ac.java.classreader.attributes.AttributeInfo
      extended by org.fife.rsta.ac.java.classreader.attributes.Signature

public class Signature
extends AttributeInfo

The Signature attribute is an optional fixed-length attribute in the attribute table of the ClassFile, field_info and method_info structures.

WARNING: This code is a complete mess.

Version:
1.0
Author:
Robert Futrell

Field Summary
 
Fields inherited from class org.fife.rsta.ac.java.classreader.attributes.AttributeInfo
attributeNameIndex
 
Constructor Summary
Signature(ClassFile cf, String signature)
           
 
Method Summary
 List getClassParamTypes()
           
 List getMethodParamTypes(MethodInfo mi, ClassFile cf)
           
 String getMethodReturnType(MethodInfo mi, ClassFile cf)
           
 String getSignature()
           
 String toString()
           
 
Methods inherited from class org.fife.rsta.ac.java.classreader.attributes.AttributeInfo
getClassFile, getName, readUnsupportedAttribute, skipBytes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Signature

public Signature(ClassFile cf,
                 String signature)
Method Detail

getClassParamTypes

public List getClassParamTypes()

getMethodParamTypes

public List getMethodParamTypes(MethodInfo mi,
                                ClassFile cf)

getMethodReturnType

public String getMethodReturnType(MethodInfo mi,
                                  ClassFile cf)

getSignature

public String getSignature()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2003-2011. All Rights Reserved.