org.mvel2.asm.tree
Class ModuleRequireNode

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

public class ModuleRequireNode
extends Object

A node that represents a required module with its name and access of a module descriptor.

Author:
Remi Forax

Field Summary
 int access
          The access flags (see org.objectweb.asm.Opcodes).
 String module
          The name of the required module.
 String version
          Version at compile time of the required module or null.
 
Constructor Summary
ModuleRequireNode(String module, int access, String version)
          Constructs a new ModuleRequireNode.
 
Method Summary
 void accept(ModuleVisitor mv)
          Makes the given module visitor visit this require directive.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

module

public String module
The name of the required module.


access

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


version

public String version
Version at compile time of the required module or null.

Constructor Detail

ModuleRequireNode

public ModuleRequireNode(String module,
                         int access,
                         String version)
Constructs a new ModuleRequireNode.

Parameters:
module - the name of the required module.
access - The access flags. Valid values are ACC_TRANSITIVE, ACC_STATIC_PHASE, ACC_SYNTHETIC and ACC_MANDATED (see org.objectweb.asm.Opcodes).
version - Version of the required module at compile time, null if not defined.
Method Detail

accept

public void accept(ModuleVisitor mv)
Makes the given module visitor visit this require directive.

Parameters:
mv - a module visitor.


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