Top Description Fields Constructors Methods
org.codehaus.commons.compiler.java9.java.lang.module

public Class ModuleReference

extends Object
Class Inheritance
Imports
java.io.IOException, java.lang.reflect.Method, java.net.URI, org.codehaus.commons.compiler.java8.java.util.Optional, org.codehaus.commons.compiler.util.reflect.Classes, .Methods, .NoException

Pre-Java-9-compatible facade for Java 9's java.lang.module.ModuleReference interface.

Field Summary

Modifier and TypeField and Description
private static final Class<?>
private final Object
private static final Method
private static final Method

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Optional<URI>
public ModuleReader
open()

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

CLASSback to summary
private static final Class<?> CLASS
delegateback to summary
private final Object delegate
METHOD_locationback to summary
private static final Method METHOD_location
METHOD_openback to summary
private static final Method METHOD_open

Constructor Detail

ModuleReferenceback to summary
public ModuleReference(Object delegate)

Method Detail

locationback to summary
public Optional<URI> location()
openback to summary
public ModuleReader open() throws IOException