public class ModuleAttribute extends AttributeInfo
Modifier and Type | Class and Description |
---|---|
static class |
ModuleAttribute.Export |
static class |
ModuleAttribute.Open |
static class |
ModuleAttribute.Provide |
static class |
ModuleAttribute.Require |
static class |
ModuleAttribute.Use |
AttributeInfo.AttributeContext
Modifier and Type | Field and Description |
---|---|
static int |
ACC_MANDATED |
static int |
ACC_OPEN |
static int |
ACC_STATIC_PHASE |
static int |
ACC_SYNTHETIC |
static int |
ACC_TRANSITIVE |
Constructor and Description |
---|
ModuleAttribute(String name,
DataInputStream is,
ConstantPool constantPool) |
Modifier and Type | Method and Description |
---|---|
ModuleAttribute.Export[] |
getExports() |
int |
getModuleFlags() |
String |
getModuleName() |
String |
getModuleVersion() |
ModuleAttribute.Open[] |
getOpens() |
ModuleAttribute.Provide[] |
getProvides() |
ModuleAttribute.Require[] |
getRequires() |
ModuleAttribute.Use[] |
getUses() |
boolean |
isMandated() |
boolean |
isOpen() |
boolean |
isSynthetic() |
String |
toString() |
addDependentClassNames, getContext, getName, readAttributes, readClassNames, skipLength
public static final int ACC_OPEN
public static final int ACC_SYNTHETIC
public static final int ACC_MANDATED
public static final int ACC_TRANSITIVE
public static final int ACC_STATIC_PHASE
public ModuleAttribute(String name, DataInputStream is, ConstantPool constantPool) throws IOException
IOException
public String getModuleName()
public int getModuleFlags()
public String getModuleVersion()
public ModuleAttribute.Require[] getRequires()
public ModuleAttribute.Export[] getExports()
public ModuleAttribute.Open[] getOpens()
public ModuleAttribute.Use[] getUses()
public ModuleAttribute.Provide[] getProvides()
public boolean isOpen()
public boolean isSynthetic()
public boolean isMandated()
public String toString()
toString
in class AttributeInfo
Copyright © 2017–2023 Hans Jörg Heßmann. All rights reserved.