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, toString
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public void accept(Visitor v)
Attribute
public Attribute copy(ConstantPool constantPool)
public void dump(DataOutputStream file) throws IOException
dump
in class Attribute
file
- 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–2024 The Apache Software Foundation. All rights reserved.