|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EnclosingMethodAttribute
This interface represents the EnclosingMethod
attribute defined
by the Java class file specification.
The EnclosingMethodattribute is an optional fixed-length attribute in the
attributes table of the ClassFile (�4.2) structure. Aclass must have an
EnclosingMethodattributeif andonlyif it isalocal classor ananonymous
class. A class may have no more than oneEnclosingMethod attribute.
Method Summary | |
---|---|
int |
getClassIndex()
Thevalue of theclass_index item must be a valid index into the constant_pool table. |
int |
getMethodIndex()
If the current class is not immediately enclosed by a method or constructor, then the value of themethod_index item must be zero. |
void |
setClassIndex(int cIndx)
Thevalue of theclass_index item must be a valid index into the constant_pool table. |
void |
setMethodIndex(int mIndx)
If the current class is not immediately enclosed by a method or constructor, then the value of themethod_index item must be zero. |
Methods inherited from interface jef.dna.attributes.Attribute |
---|
clone, fromStream, getDna, getLength, getNameIndex, setDna, setNameIndex, toStream, updateRefs, validate |
Methods inherited from interface jef.dna.util.BytesCountable |
---|
getBytesCount |
Method Detail |
---|
void setClassIndex(int cIndx)
int getClassIndex()
void setMethodIndex(int mIndx)
int getMethodIndex()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |