jas
Class Var

java.lang.Object
  extended by jas.Var

public class Var
extends Object


Constructor Summary
Var(short vacc, CP name, CP desc, ConstAttr cattr)
           
 
Method Summary
 Annotation addAnnotation(boolean visible, String clsname)
           
 void addGenericAttr(GenericAttr g)
          Add a generic attribute to the field.
 void setDeprecated(DeprecatedAttr depr)
           
 void setSignature(SignatureAttr sig)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait
 

Constructor Detail

Var

public Var(short vacc,
           CP name,
           CP desc,
           ConstAttr cattr)
Parameters:
vacc - access permissions for the field
name - name of the field
desc - type of the field
cattr - Extra constant value information. Passing this as null will not include this information for the record.
See Also:
RuntimeConstants
Method Detail

setSignature

public void setSignature(SignatureAttr sig)

setDeprecated

public void setDeprecated(DeprecatedAttr depr)

addGenericAttr

public void addGenericAttr(GenericAttr g)
Add a generic attribute to the field. A generic attribute contains a stream of uninterpreted bytes which is ignored by the VM (as long as its name doesn't conflict with other names for attributes that are understood by the VM)


addAnnotation

public Annotation addAnnotation(boolean visible,
                                String clsname)


Copyright © 2006 Jonathan Meyer, USA All rights reserved.