org.codehaus.jparsec.examples.java.ast.statement
Class ParameterDef

java.lang.Object
  extended by org.codehaus.jparsec.examples.common.ValueObject
      extended by org.codehaus.jparsec.examples.java.ast.statement.ParameterDef

public final class ParameterDef
extends ValueObject

Represents a parameter definition.

Author:
Ben Yu

Field Summary
 List<Modifier> modifiers
           
 String name
           
 TypeLiteral type
           
 boolean vararg
           
 
Constructor Summary
ParameterDef(List<Modifier> modifiers, TypeLiteral type, boolean vararg, String name)
           
 
Method Summary
 String toString()
           
 
Methods inherited from class org.codehaus.jparsec.examples.common.ValueObject
equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

modifiers

public final List<Modifier> modifiers

type

public final TypeLiteral type

vararg

public final boolean vararg

name

public final String name
Constructor Detail

ParameterDef

public ParameterDef(List<Modifier> modifiers,
                    TypeLiteral type,
                    boolean vararg,
                    String name)
Method Detail

toString

public String toString()
Overrides:
toString in class ValueObject


Copyright © 2014. All rights reserved.