org.mvel2.asm.tree
Class ModuleOpenNode

java.lang.Object
  extended by org.mvel2.asm.tree.ModuleOpenNode

public class ModuleOpenNode
extends Object

A node that represents an opened package with its name and the module that can access to it.

Author:
Remi Forax

Field Summary
 int access
          The access flags (see org.objectweb.asm.Opcodes).
 List<String> modules
          A list of modules that can access to this exported package.
 String packaze
          The package name.
 
Constructor Summary
ModuleOpenNode(String packaze, int access, List<String> modules)
          Constructs a new ModuleOpenNode.
 
Method Summary
 void accept(ModuleVisitor mv)
          Makes the given module visitor visit this open declaration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

packaze

public String packaze
The package name.


access

public int access
The access flags (see org.objectweb.asm.Opcodes). Valid values are ACC_SYNTHETIC and ACC_MANDATED.


modules

public List<String> modules
A list of modules that can access to this exported package. May be null.

Constructor Detail

ModuleOpenNode

public ModuleOpenNode(String packaze,
                      int access,
                      List<String> modules)
Constructs a new ModuleOpenNode.

Parameters:
packaze - the parameter's name.
modules - a list of modules that can access to this open package.
Method Detail

accept

public void accept(ModuleVisitor mv)
Makes the given module visitor visit this open declaration.

Parameters:
mv - a module visitor.


Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.