org.mule.devkit.model.code
Interface Generifiable

All Known Implementing Classes:
GeneratedClass, GeneratedMethod

public interface Generifiable

Declarations that can have type variables.

Something that can be made into a generic.

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

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

Method Detail

generify

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


generify

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


generify

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


typeParams

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



Copyright © 2010-2013 MuleSoft, Inc.. All Rights Reserved.