public class Method extends Object
| Constructor and Description |
|---|
Method(short macc,
CP name,
CP sig,
CodeAttr cd,
ExceptAttr ex) |
Method(short macc,
CP name,
CP sig,
CodeAttr cd,
ExceptAttr ex,
SyntheticAttr synth) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAnnotationDef(AnnotationDefaultAttr v) |
void |
addDeprecatedAttr(DeprecatedAttr d) |
void |
addGenericAttr(GenericAttr g) |
void |
addInvisAnnotationAttr(VisibilityAnnotationAttr v) |
void |
addInvisParamAnnotationAttr(ParameterVisibilityAnnotationAttr v) |
void |
addSignatureAttr(SignatureAttr s) |
void |
addVisAnnotationAttr(VisibilityAnnotationAttr v) |
void |
addVisParamAnnotationAttr(ParameterVisibilityAnnotationAttr v) |
public Method(short macc,
CP name,
CP sig,
CodeAttr cd,
ExceptAttr ex)
macc - method access permissions. It is a combination
of the constants provided from RuntimeConstantsname - CP item representing name of method.sig - CP item representing signature for objectcode - The actual code for the objectex - Any exceptions associated with objectpublic Method(short macc,
CP name,
CP sig,
CodeAttr cd,
ExceptAttr ex,
SyntheticAttr synth)
public void addGenericAttr(GenericAttr g)
public void addDeprecatedAttr(DeprecatedAttr d)
public void addSignatureAttr(SignatureAttr s)
public void addVisAnnotationAttr(VisibilityAnnotationAttr v)
public void addInvisAnnotationAttr(VisibilityAnnotationAttr v)
public void addVisParamAnnotationAttr(ParameterVisibilityAnnotationAttr v)
public void addInvisParamAnnotationAttr(ParameterVisibilityAnnotationAttr v)
public void addAnnotationDef(AnnotationDefaultAttr v)
Copyright © 2019 Sable. All rights reserved.