Example usage for org.objectweb.asm.tree ParameterNode ParameterNode

List of usage examples for org.objectweb.asm.tree ParameterNode ParameterNode

Introduction

In this page you can find the example usage for org.objectweb.asm.tree ParameterNode ParameterNode.

Prototype

public ParameterNode(final String name, final int access) 

Source Link

Document

Constructs a new ParameterNode .

Usage

From source file:org.hua.ast.visitors.BytecodeGeneratorASTVisitor.java

@Override
public void visit(ParameterDeclaration node) throws ASTVisitorException {
    node.getType().accept(this);
    //is the access flag private?

    mn.parameters.add(new ParameterNode(node.getIdentifier(), Opcodes.ACC_PRIVATE));
    System.out.println("hereeeee " + node.getIdentifier());
}