public class MethodParameters extends Attribute implements Iterable<MethodParameter>
constant_pool, EMPTY_ARRAY, length, name_index, tag| 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.
|
Attribute |
copy(ConstantPool constantPool) |
void |
dump(DataOutputStream file)
Dump method parameters attribute to file stream in binary format.
|
MethodParameter[] |
getParameters() |
Iterator<MethodParameter> |
iterator() |
void |
setParameters(MethodParameter[] parameters) |
addAttributeReader, addAttributeReader, clone, getConstantPool, getLength, getName, getNameIndex, getTag, println, readAttribute, readAttribute, removeAttributeReader, setConstantPool, setLength, setNameIndex, toStringequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic void accept(Visitor v)
Attributepublic Attribute copy(ConstantPool constantPool)
public void dump(DataOutputStream file) throws IOException
dump in class Attributefile - Output file streamIOException - if an I/O error occurs.public MethodParameter[] getParameters()
public Iterator<MethodParameter> iterator()
iterator in interface Iterable<MethodParameter>public void setParameters(MethodParameter[] parameters)
Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.