getType

public static CtType<? extends Object> getType(String className)(source)

Returns the corresponding CtType in the spoon world for the given class.

Return

the corresponding CtType in the spoon world for the given class

Parameters

className

the class to get the spoon type for


public static T getType<T extends CtType<? extends Object>>(String className, Class<T> type)(source)

Returns the corresponding CtType in the spoon world for the given class.

Return

the corresponding CtType in the spoon world for the given class

Parameters

className

the class to get the spoon type for

type

the type of the spoon type to return

<T>

the type of the spoon type to return