aicas logo Jamaica 3.4 release 8

sun.reflect.generics.tree
Class FormalTypeParameter

java.lang.Object
  extended by sun.reflect.generics.tree.FormalTypeParameter
All Implemented Interfaces:
Tree, TypeTree

public class FormalTypeParameter
extends Object
implements TypeTree

AST that represents a formal type parameter.


Method Summary
 void accept(TypeTreeVisitor<?> v)
          Accept method for the visitor pattern.
 FieldTypeSignature[] getBounds()
           
 String getName()
           
static FormalTypeParameter make(String n, FieldTypeSignature[] bs)
          Factory method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

make

public static FormalTypeParameter make(String n,
                                       FieldTypeSignature[] bs)
Factory method. Returns a formal type parameter with the requested name and bounds.

Parameters:
n - the name of the type variable to be created by this method.
bs - - the bounds of the type variable to be created by this method.
Returns:
a formal type parameter with the requested name and bounds

getBounds

public FieldTypeSignature[] getBounds()

getName

public String getName()

accept

public void accept(TypeTreeVisitor<?> v)
Description copied from interface: TypeTree
Accept method for the visitor pattern.

Specified by:
accept in interface TypeTree
Parameters:
v - - a TypeTreeVisitor that will process this tree

aicas logo Jamaica 3.4 release 8

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2001-2009 aicas GmbH. All Rights Reserved.