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

public Class ModuleProvideNode

extends Object
Class Inheritance
Imports
java.util.List, jdk.internal.org.objectweb.asm.ModuleVisitor

A node that represents a service and its implementation provided by the current module.
Author
Remi Forax

Field Summary

Modifier and TypeField and Description
public List<String>
providers

The internal names of the implementations of the service (there is at least one provider).

public String
service

The internal name of the service (see jdk.internal.org.objectweb.asm.Type#getInternalName()).

Constructor Summary

AccessConstructor and Description
public
ModuleProvideNode(final String
the internal name of the service.
service
,
final List<String>
the internal names of the implementations of the service (there is at least one provider). See jdk.internal.org.objectweb.asm.Type#getInternalName().
providers
)

Constructs a new ModuleProvideNode.

Method Summary

Modifier and TypeMethod and Description
public void
accept(final ModuleVisitor
a module visitor.
moduleVisitor
)

Makes the given module visitor visit this require declaration.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

providersback to summary
public List<String> providers

The internal names of the implementations of the service (there is at least one provider). See jdk.internal.org.objectweb.asm.Type#getInternalName().

serviceback to summary
public String service

The internal name of the service (see jdk.internal.org.objectweb.asm.Type#getInternalName()).

Constructor Detail

ModuleProvideNodeback to summary
public ModuleProvideNode(final String service, final List<String> providers)

Constructs a new ModuleProvideNode.

Parameters
service:String

the internal name of the service.

providers:List<String>

the internal names of the implementations of the service (there is at least one provider). See jdk.internal.org.objectweb.asm.Type#getInternalName().

Method Detail

acceptback to summary
public void accept(final ModuleVisitor moduleVisitor)

Makes the given module visitor visit this require declaration.

Parameters
moduleVisitor:ModuleVisitor

a module visitor.