org.codehaus.jparsec.examples.java.ast.declaration
Class ConstructorDef

java.lang.Object
  extended by org.codehaus.jparsec.examples.common.ValueObject
      extended by org.codehaus.jparsec.examples.java.ast.declaration.ConstructorDef
All Implemented Interfaces:
Member

public final class ConstructorDef
extends ValueObject
implements Member

Represents a constructor definition.

Author:
benyu

Field Summary
 BlockStatement body
           
 List<TypeLiteral> exceptions
           
 List<Modifier> modifiers
           
 String name
           
 List<ParameterDef> parameters
           
 
Constructor Summary
ConstructorDef(List<Modifier> modifiers, String name, List<ParameterDef> parameters, List<TypeLiteral> exceptions, BlockStatement body)
           
 
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

name

public final String name

parameters

public final List<ParameterDef> parameters

exceptions

public final List<TypeLiteral> exceptions

body

public final BlockStatement body
Constructor Detail

ConstructorDef

public ConstructorDef(List<Modifier> modifiers,
                      String name,
                      List<ParameterDef> parameters,
                      List<TypeLiteral> exceptions,
                      BlockStatement body)
Method Detail

toString

public String toString()
Overrides:
toString in class ValueObject


Copyright © 2014. All rights reserved.