Package | Description |
---|---|
org.codehaus.modello.plugin.java.javasource |
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.
|
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 |
JStructure
This class represents the basic Java "structure" for a Java
source file.
|
Modifier and Type | Field and 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 |
Modifier and Type | Method and Description |
---|---|
JType |
JType.createArray()
Deprecated.
removed in javasource 1.3rc1, replaced by JArrayType
|
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 |
JComponentizedType.getComponentType()
Returns the component type.
|
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 JField
|
JType |
JParameter.getType()
Returns the parameter type
|
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(String typeName,
JType componentType,
boolean useJava50)
Creates an instance of a collection type, of type 'collectionName'.
|
JCollectionType(String typeName,
String instanceName,
JType componentType,
boolean useJava50)
Creates an instance of a collection type, of type 'collectionName'.
|
JComponentizedType(String name,
JType componentType,
boolean useJava50)
Creates an instance of a componentized type, of type 'name'.
|
JField(JType type,
String name) |
JMethod(JType returnType,
String name)
Deprecated.
removed in future version of javasource
|
JMethod(String name,
JType returnType,
String returnDoc)
Creates a new JMethod with the given name and returnType.
|
JMethodSignature(String name,
JType returnType)
Creates a new method with the given name and return type.
|
JParameter(JType type,
String name)
Creates a new JParameter with the given type, and name
|
Copyright © 2001-2016 Codehaus. All Rights Reserved.