public class JavaModelInputImpl extends java.lang.Object implements JavaModelInput
Purpose:Provide access to an array of JavaClass instances and their associated JavaModel. This class will transform an array of Class objects to an array of JavaClasses.
Responsibilities:
JavaClass
,
JavaModel
,
JavaModelInput
Constructor and Description |
---|
JavaModelInputImpl(java.lang.Class[] classes,
JavaModel javaModel) |
JavaModelInputImpl(java.lang.reflect.Type[] types,
JavaModel javaModel)
This constructor builds an array of JavaClass objects from an array
of Types.
|
JavaModelInputImpl(TypeMappingInfo[] types,
JavaModel javaModel) |
Modifier and Type | Method and Description |
---|---|
JavaClass[] |
getJavaClasses() |
JavaModel |
getJavaModel() |
public JavaModelInputImpl(java.lang.reflect.Type[] types, JavaModel javaModel)
types
- javaModel
- public JavaModelInputImpl(TypeMappingInfo[] types, JavaModel javaModel)
public JavaModelInputImpl(java.lang.Class[] classes, JavaModel javaModel)
public JavaClass[] getJavaClasses()
getJavaClasses
in interface JavaModelInput
public JavaModel getJavaModel()
getJavaModel
in interface JavaModelInput