com.sun.codemodel
Interface JGenerifiable

All Known Implementing Classes:
JDefinedClass, JMethod

public interface JGenerifiable

Declarations that can have type variables. Something that can be made into a generic.

Author:
Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)


Method Summary
 JTypeVargenerify(String name)
          Adds a new type variable to this declaration.
 JTypeVargenerify(String name, Class<?> bound)
          Adds a new type variable to this declaration with a bound.
 JTypeVargenerify(String name, JClass bound)
          Adds a new type variable to this declaration with a bound.
 JTypeVar[]typeParams()
          Iterates all the type parameters of this class/interface.
 

Method Detail

generify

JTypeVar generify(String name)
Adds a new type variable to this declaration.


generify

JTypeVar generify(String name,                  Class<?> bound)
Adds a new type variable to this declaration with a bound.


generify

JTypeVar generify(String name,                  JClass bound)
Adds a new type variable to this declaration with a bound.


typeParams

JTypeVar[] typeParams()
Iterates all the type parameters of this class/interface.



Copyright © 2005-2011
Oracle. All Rights Reserved.


NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14