Modifier and Type | Method and Description |
---|---|
private JMethod |
Dom4jReaderGenerator.convertNumericalType(java.lang.String methodName,
JType returnType,
java.lang.String expression,
java.lang.String typeDesc) |
Modifier and Type | Method and Description |
---|---|
private JType |
JavaModelloGenerator.getComponentType(ModelAssociation modelAssociation,
JavaAssociationMetadata javaAssociationMetadata) |
private JType |
JavaModelloGenerator.getDesiredType(ModelField modelField,
boolean useTo) |
Modifier and Type | Method and Description |
---|---|
private java.lang.String |
JavaModelloGenerator.getDefaultValue(ModelAssociation modelAssociation,
JType componentType) |
Modifier and Type | Class and Description |
---|---|
class |
JArrayType
JType sub-class for Arrays.
|
class |
JClass
A representation of the Java Source code for a Java Class.
|
(package private) class |
JClass.JInnerClass |
class |
JCollectionType
JType sub-class for collections.
|
class |
JComponentizedType
JType sub-class for componentized types, such as array as collections.
|
class |
JInterface
A representation of the Java Source code for a Java Interface.
|
class |
JMapType
JType sub-class for maps.
|
class |
JStructure
This class represents the basic Java "structure" for a Java
source file.
|
Modifier and Type | Field and Description |
---|---|
private JType |
JComponentizedType._componentType
Indicates the data type contained in this collection.
|
private JType |
JType._componentType
used for array types
|
static JType |
JType.BOOLEAN |
static JType |
JType.BYTE |
static JType |
JType.CHAR |
static JType |
JType.DOUBLE |
static JType |
JType.FLOAT |
static JType |
JType.INT |
static JType |
JType.LONG |
private JType |
JMethodSignature.returnType
The return type of this Method
|
static JType |
JType.SHORT |
private JType |
JParameter.type
The type associated with this JParameter
|
private JType |
JField.type |
Modifier and Type | Method and Description |
---|---|
JType |
JType.createArray()
Deprecated.
removed in javasource 1.3rc1, replaced by JArrayType
|
JType |
JComponentizedType.getComponentType()
Returns the component type.
|
JType |
JType.getComponentType()
If this JType is an array this method will returns the component type
of the array, otherwise null will be returned.
|
JType |
JMethodSignature.getReturnType()
Returns the JType that represents the return type for the
method signature.
|
JType |
JMethod.getReturnType()
Returns the JType that represents the return type of the method.
|
JType |
JParameter.getType()
Returns the parameter type
|
JType |
JField.getType()
Returns the JType represting the type of this JField
|
Modifier and Type | Method and Description |
---|---|
void |
JParameter.setType(JType type)
Sets the type of this parameter
|
Constructor and Description |
---|
JArrayType(JType componentType,
boolean useJava50)
Creates an instance of a array type, of type 'name'.
|
JCollectionType(java.lang.String typeName,
JType componentType,
boolean useJava50)
Creates an instance of a collection type, of type 'collectionName'.
|
JCollectionType(java.lang.String typeName,
java.lang.String instanceName,
JType componentType,
boolean useJava50)
Creates an instance of a collection type, of type 'collectionName'.
|
JComponentizedType(java.lang.String name,
JType componentType,
boolean useJava50)
Creates an instance of a componentized type, of type 'name'.
|
JField(JType type,
java.lang.String name) |
JMapType(java.lang.String typeName,
JType componentType,
boolean useJava50)
Creates an instance of a map type, of type 'mapName'.
|
JMapType(java.lang.String typeName,
java.lang.String instanceName,
JType componentType,
boolean useJava50)
Creates an instance of a map type, of type 'mapName'.
|
JMethod(JType returnType,
java.lang.String name)
Deprecated.
removed in future version of javasource
|
JMethod(java.lang.String name,
JType returnType,
java.lang.String returnDoc)
Creates a new JMethod with the given name and returnType.
|
JMethodSignature(java.lang.String name,
JType returnType)
Creates a new method with the given name and return type.
|
JParameter(JType type,
java.lang.String name)
Creates a new JParameter with the given type, and name
|
Modifier and Type | Method and Description |
---|---|
private JMethod |
StaxReaderGenerator.convertNumericalType(java.lang.String methodName,
JType returnType,
java.lang.String expression,
java.lang.String typeDesc) |
Modifier and Type | Method and Description |
---|---|
private JMethod |
Xpp3ReaderGenerator.convertNumericalType(java.lang.String methodName,
JType returnType,
java.lang.String expression,
java.lang.String typeDesc) |