Top Description Fields Constructors Methods
jdk.internal.org.objectweb.asm.tree

public Class ParameterNode

extends Object
Class Inheritance
Imports
jdk.internal.org.objectweb.asm.MethodVisitor

A node that represents a parameter of a method.
Author
Remi Forax

Field Summary

Modifier and TypeField and Description
public int
access

The parameter's access flags (see jdk.internal.org.objectweb.asm.Opcodes).

public String
name

The parameter's name.

Constructor Summary

AccessConstructor and Description
public
ParameterNode(final String
the parameter's name.
name
,
final int
The parameter's access flags. Valid values are ACC_FINAL, ACC_SYNTHETIC or/and ACC_MANDATED (see jdk.internal.org.objectweb.asm.Opcodes).
access
)

Constructs a new ParameterNode.

Method Summary

Modifier and TypeMethod and Description
public void
accept(final MethodVisitor
a method visitor.
methodVisitor
)

Makes the given visitor visit this parameter declaration.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

accessback to summary
public int access

The parameter's access flags (see jdk.internal.org.objectweb.asm.Opcodes). Valid values are ACC_FINAL, ACC_SYNTHETIC and ACC_MANDATED.

nameback to summary
public String name

The parameter's name.

Constructor Detail

ParameterNodeback to summary
public ParameterNode(final String name, final int access)

Constructs a new ParameterNode.

Parameters
name:String

the parameter's name.

access:int

The parameter's access flags. Valid values are ACC_FINAL, ACC_SYNTHETIC or/and ACC_MANDATED (see jdk.internal.org.objectweb.asm.Opcodes).

Method Detail

acceptback to summary
public void accept(final MethodVisitor methodVisitor)

Makes the given visitor visit this parameter declaration.

Parameters
methodVisitor:MethodVisitor

a method visitor.