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