use of org.apache.bcel.classfile.Visitor in project contribution by checkstyle.
the class VisitorSet method visitLocalVariableTable.
// /**
// * @see org.apache.bcel.classfile.Visitor
// */
// public void visitLocalVariable(LocalVariable aLocalVariable)
// {
// for (Iterator iter = mVisitors.iterator(); iter.hasNext();) {
// IDeepVisitor visitor = (IDeepVisitor) iter.next();
// Visitor v = visitor.getClassFileVisitor();
// aLocalVariable.accept(v);
// }
// }
//
/**
* @see org.apache.bcel.classfile.Visitor
*/
public void visitLocalVariableTable(LocalVariableTable aTable) {
for (Iterator iter = mVisitors.iterator(); iter.hasNext(); ) {
IDeepVisitor visitor = (IDeepVisitor) iter.next();
Visitor v = visitor.getClassFileVisitor();
aTable.accept(v);
}
}
use of org.apache.bcel.classfile.Visitor in project contribution by checkstyle.
the class VisitorSet method visitJavaClass.
/**
* @see org.apache.bcel.classfile.Visitor
*/
public void visitJavaClass(JavaClass aJavaClass) {
for (Iterator iter = mVisitors.iterator(); iter.hasNext(); ) {
IDeepVisitor visitor = (IDeepVisitor) iter.next();
Visitor v = visitor.getClassFileVisitor();
aJavaClass.accept(v);
}
}
use of org.apache.bcel.classfile.Visitor in project contribution by checkstyle.
the class VisitorSet method visitField.
/**
* @see org.apache.bcel.classfile.Visitor
*/
public void visitField(Field aField) {
for (Iterator iter = mVisitors.iterator(); iter.hasNext(); ) {
IDeepVisitor visitor = (IDeepVisitor) iter.next();
Visitor v = visitor.getClassFileVisitor();
aField.accept(v);
}
}
use of org.apache.bcel.classfile.Visitor in project contribution by checkstyle.
the class VisitorSet method visitMethod.
/**
* @see org.apache.bcel.classfile.Visitor
*/
public void visitMethod(Method aMethod) {
for (Iterator iter = mVisitors.iterator(); iter.hasNext(); ) {
IDeepVisitor visitor = (IDeepVisitor) iter.next();
Visitor v = visitor.getClassFileVisitor();
aMethod.accept(v);
}
}
use of org.apache.bcel.classfile.Visitor in project contribution by checkstyle.
the class VisitorSet method visitConstantPool.
/**
* @see org.apache.bcel.classfile.Visitor
*/
public void visitConstantPool(ConstantPool aConstantPool) {
for (Iterator iter = mVisitors.iterator(); iter.hasNext(); ) {
IDeepVisitor visitor = (IDeepVisitor) iter.next();
Visitor v = visitor.getClassFileVisitor();
aConstantPool.accept(v);
}
}
Aggregations