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

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

public final class InterfaceDef
extends ValueObject
implements Declaration

Represents an interface definition.

Author:
Ben Yu

Field Summary
 DefBody body
           
 List<TypeLiteral> interfaces
           
 List<Modifier> modifiers
           
 String name
           
 List<TypeParameterDef> typeParameters
           
 
Constructor Summary
InterfaceDef(List<Modifier> modifiers, String name, List<TypeParameterDef> typeParameters, List<TypeLiteral> interfaces, DefBody 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

typeParameters

public final List<TypeParameterDef> typeParameters

interfaces

public final List<TypeLiteral> interfaces

body

public final DefBody body
Constructor Detail

InterfaceDef

public InterfaceDef(List<Modifier> modifiers,
                    String name,
                    List<TypeParameterDef> typeParameters,
                    List<TypeLiteral> interfaces,
                    DefBody body)
Method Detail

toString

public String toString()
Overrides:
toString in class ValueObject


Copyright © 2014. All rights reserved.