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) |
protected void |
checkAttributeLength(DataInputStream is,
int expectedLength,
String name) |
AttributeInfo[] |
getAttributes() |
AttributeInfo.AttributeContext |
getContext() |
String |
getName() |
static AttributeInfo[] |
readAttributes(DataInputStream is,
ConstantPool constantPool,
AttributeInfo.AttributeContext context) |
String |
toString() |
public AttributeInfo(String name)
public static AttributeInfo[] readAttributes(DataInputStream is, ConstantPool constantPool, AttributeInfo.AttributeContext context) throws IOException
IOExceptionpublic String getName()
protected final void checkAttributeLength(DataInputStream is, int expectedLength, String name) throws IOException
IOExceptionpublic void addDependentClassNames(Set<String> classNames)
addDependentClassNames in interface DependencyHolderpublic AttributeInfo.AttributeContext getContext()
public AttributeInfo[] getAttributes()
Copyright © 2017–2021 Hans Jörg Heßmann. All rights reserved.