Uses of Class
org.codehaus.modello.plugin.java.javasource.JType
-
Packages that use JType Package Description org.codehaus.modello.plugin.java.javasource -
-
Uses of JType in org.codehaus.modello.plugin.java.javasource
Subclasses of JType in org.codehaus.modello.plugin.java.javasource Modifier and Type Class Description class
JArrayType
JType sub-class for Arrays.class
JClass
A representation of the Java Source code for a Java Class.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.Fields in org.codehaus.modello.plugin.java.javasource declared as JType Modifier and Type Field Description 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
static JType
JType. SHORT
Methods in org.codehaus.modello.plugin.java.javasource that return JType Modifier and Type Method Description JType
JType. createArray()
Deprecated.removed in javasource 1.3rc1, replaced by JArrayTypeJType
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
JMethod. getReturnType()
Returns the JType that represents the return type of the method.JType
JMethodSignature. getReturnType()
Returns the JType that represents the return type for the method signature.JType
JField. getType()
Returns the JType represting the type of this JFieldJType
JParameter. getType()
Returns the parameter typeMethods in org.codehaus.modello.plugin.java.javasource with parameters of type JType Modifier and Type Method Description void
JParameter. setType(JType type)
Sets the type of this parameterConstructors in org.codehaus.modello.plugin.java.javasource with parameters of type JType Constructor Description JArrayType(JType componentType)
Creates an instance of a array type, of type 'name'.JCollectionType(java.lang.String typeName, java.lang.String instanceName, JType componentType)
Creates an instance of a collection type, of type 'collectionName'.JCollectionType(java.lang.String typeName, JType componentType)
Creates an instance of a collection type, of type 'collectionName'.JComponentizedType(java.lang.String name, JType componentType)
Creates an instance of a componentized type, of type 'name'.JField(JType type, java.lang.String name)
JMapType(java.lang.String typeName, java.lang.String instanceName, JType componentType)
Creates an instance of a map type, of type 'mapName'.JMapType(java.lang.String typeName, JType componentType)
Creates an instance of a map type, of type 'mapName'.JMethod(java.lang.String name, JType returnType, java.lang.String returnDoc)
Creates a new JMethod with the given name and returnType.JMethod(JType returnType, java.lang.String name)
Deprecated.removed in future version of javasourceJMethodSignature(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
-