public class ModuleMainClassAttribute extends AttributeInfo
AttributeInfo.AttributeContext
Constructor and Description |
---|
ModuleMainClassAttribute(String name,
DataInputStream is,
ConstantPool constantPool) |
Modifier and Type | Method and Description |
---|---|
void |
addDependentClassNames(Set<String> classNames) |
String |
getMainClassName() |
String |
toString() |
getContext, getName, readAttributes, readClassNames, skipLength
public ModuleMainClassAttribute(String name, DataInputStream is, ConstantPool constantPool) throws IOException
IOException
public String getMainClassName()
public void addDependentClassNames(Set<String> classNames)
addDependentClassNames
in interface DependencyHolder
addDependentClassNames
in class AttributeInfo
public String toString()
toString
in class AttributeInfo
Copyright © 2017–2023 Hans Jörg Heßmann. All rights reserved.