com.thoughtworks.qdox.parser.structs.ModuleDef Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.apache.fop Show documentation
Show all versions of org.apache.fop Show documentation
The core maven build properties
The newest version!
package com.thoughtworks.qdox.parser.structs;
import java.util.LinkedHashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Set;
public class ModuleDef extends LocatedDef
{
private boolean open;
private String name;
public ModuleDef( String name )
{
super();
this.name = name;
}
public String getName()
{
return name;
}
public void setOpen( boolean open )
{
this.open = open;
}
public boolean isOpen()
{
return open;
}
public static class ExportsDef extends LocatedDef
{
private String source;
private Set targets = new LinkedHashSet();
public ExportsDef( String source )
{
this.source = source;
}
public ExportsDef( String source, Set modifiers )
{
this.source = source;
}
public String getSource()
{
return source;
}
public Set getTargets()
{
return targets;
}
}
public static class OpensDef extends LocatedDef
{
private String source;
private Set targets = new LinkedHashSet();
public OpensDef( String source )
{
this.source = source;
}
public OpensDef( String source, Set modifiers )
{
this.source = source;
}
public String getSource()
{
return source;
}
public Set getTargets()
{
return targets;
}
}
public static class ProvidesDef extends LocatedDef
{
private TypeDef service;
private List implementations = new LinkedList();
public ProvidesDef( TypeDef service )
{
this.service = service;
}
public TypeDef getService()
{
return service;
}
public List getImplementations()
{
return implementations;
}
}
public static class RequiresDef extends LocatedDef
{
private String name;
private Set modifiers;
public RequiresDef( String name, Set modifiers )
{
super();
this.name = name;
this.modifiers = modifiers;
}
public String getName()
{
return name;
}
public Set getModifiers()
{
return modifiers;
}
}
public static class UsesDef extends LocatedDef
{
private TypeDef service;
public UsesDef( TypeDef service )
{
this.service = service;
}
public TypeDef getService()
{
return service;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy