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 classJArrayTypeJType sub-class for Arrays.classJClassA representation of the Java Source code for a Java Class.classJCollectionTypeJType sub-class for collections.classJComponentizedTypeJType sub-class for componentized types, such as array as collections.classJInterfaceA representation of the Java Source code for a Java Interface.classJMapTypeJType sub-class for maps.classJStructureThis 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 JTypeJType. BOOLEANstatic JTypeJType. BYTEstatic JTypeJType. CHARstatic JTypeJType. DOUBLEstatic JTypeJType. FLOATstatic JTypeJType. INTstatic JTypeJType. LONGstatic JTypeJType. SHORTMethods in org.codehaus.modello.plugin.java.javasource that return JType Modifier and Type Method Description JTypeJType. createArray()Deprecated.removed in javasource 1.3rc1, replaced by JArrayTypeJTypeJComponentizedType. getComponentType()Returns the component type.JTypeJType. getComponentType()If this JType is an array this method will returns the component type of the array, otherwise null will be returned.JTypeJMethod. getReturnType()Returns the JType that represents the return type of the method.JTypeJMethodSignature. getReturnType()Returns the JType that represents the return type for the method signature.JTypeJField. getType()Returns the JType represting the type of this JFieldJTypeJParameter. getType()Returns the parameter typeMethods in org.codehaus.modello.plugin.java.javasource with parameters of type JType Modifier and Type Method Description voidJParameter. 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
-