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

java.lang.Object
  extended by org.codehaus.jparsec.examples.common.ValueObject
      extended by org.codehaus.jparsec.examples.java.ast.declaration.TypeParameterDef

public final class TypeParameterDef
extends ValueObject

Represents a type parameter in a type or method definition.

Author:
Ben Yu

Field Summary
 TypeLiteral bound
           
 String name
           
 
Constructor Summary
TypeParameterDef(String name, TypeLiteral bound)
           
 
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

name

public final String name

bound

public final TypeLiteral bound
Constructor Detail

TypeParameterDef

public TypeParameterDef(String name,
                        TypeLiteral bound)
Method Detail

toString

public String toString()
Overrides:
toString in class ValueObject


Copyright © 2014. All rights reserved.