| Modifier and Type | Method and Description |
|---|---|
void |
accept(Visitor v)
Called by objects that are traversing the nodes of the tree implicitly defined by the contents of a Java class.
|
ModuleProvides |
copy() |
void |
dump(DataOutputStream file)
Dump table entry to file stream in binary format.
|
String[] |
getImplementationClassNames(ConstantPool constantPool,
boolean compactClassName)
Gets the array of implementation class names for this ModuleProvides.
|
String |
getInterfaceName(ConstantPool constantPool)
Gets the interface name for this ModuleProvides.
|
String |
toString() |
String |
toString(ConstantPool constantPool) |
public void accept(Visitor v)
public ModuleProvides copy()
public void dump(DataOutputStream file) throws IOException
file - Output file streamIOException - if an I/O Exception occurs in writeShortpublic String[] getImplementationClassNames(ConstantPool constantPool, boolean compactClassName)
constantPool - Array of constants usually obtained from the ClassFile objectcompactClassName - false for original constant pool value, true to replace '/' with '.'public String getInterfaceName(ConstantPool constantPool)
constantPool - Array of constants usually obtained from the ClassFile objectpublic String toString()
public String toString(ConstantPool constantPool)
Copyright © 2004–2025 The Apache Software Foundation. All rights reserved.