jas
Class Var
java.lang.Object
jas.Var
public class Var
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait |
Var
public Var(short vacc,
CP name,
CP desc,
ConstAttr cattr)
- Parameters:
vacc
- access permissions for the fieldname
- name of the fielddesc
- type of the fieldcattr
- Extra constant value information. Passing this as
null will not include this information for the record.- See Also:
RuntimeConstants
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.