public class InnerClassesInfo extends Object implements VisitorAccepter
| Modifier and Type | Field and Description |
|---|---|
int |
u2innerClassAccessFlags |
int |
u2innerClassIndex |
int |
u2innerNameIndex |
int |
u2outerClassIndex |
Object |
visitorInfo
An extra field in which visitors can store information.
|
| Constructor and Description |
|---|
InnerClassesInfo() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getInnerClassIndex()
Returns the inner class index.
|
protected int |
getInnerNameIndex()
Returns the name index.
|
Object |
getVisitorInfo()
Gets the visitor information of the visitor accepter.
|
void |
innerClassConstantAccept(Clazz clazz,
ConstantVisitor constantVisitor)
Applies the given constant pool visitor to the class constant of the
inner class, if any.
|
void |
innerNameConstantAccept(Clazz clazz,
ConstantVisitor constantVisitor)
Applies the given constant pool visitor to the Utf8 constant of the
inner name, if any.
|
void |
outerClassConstantAccept(Clazz clazz,
ConstantVisitor constantVisitor)
Applies the given constant pool visitor to the class constant of the
outer class, if any.
|
protected void |
setInnerNameIndex(int index)
Sets the name index.
|
void |
setVisitorInfo(Object visitorInfo)
Sets the visitor information of the visitor accepter.
|
public int u2innerClassIndex
public int u2outerClassIndex
public int u2innerNameIndex
public int u2innerClassAccessFlags
public Object visitorInfo
protected int getInnerClassIndex()
protected int getInnerNameIndex()
protected void setInnerNameIndex(int index)
public void innerClassConstantAccept(Clazz clazz, ConstantVisitor constantVisitor)
public void outerClassConstantAccept(Clazz clazz, ConstantVisitor constantVisitor)
public void innerNameConstantAccept(Clazz clazz, ConstantVisitor constantVisitor)
public Object getVisitorInfo()
VisitorAcceptergetVisitorInfo in interface VisitorAccepterpublic void setVisitorInfo(Object visitorInfo)
VisitorAcceptersetVisitorInfo in interface VisitorAccepterCopyright © 2015. All Rights Reserved.