| Modifier and Type | Field and Description |
|---|---|
| private final JType |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public JClass | _extends()
Implements abstract com. Gets the super class of this class. |
| public Iterator | _implements()
Implements abstract com. Iterates all super interfaces directly implemented by this class/interface. |
| public JPackage | _package()
Implements abstract com. Gets the package to which this class belongs. |
| public String | |
| public JType | elementType()
Overrides com. If this is an array, returns the component type of the array. |
| public boolean | equals(Object obj)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public String | |
| public void | generate(JFormatter f)
Overrides com. Implements com.
|
| public int | |
| public boolean | isAbstract()
Implements abstract com. Checks if this class is an abstract class. |
| public boolean | |
| public boolean | isInterface()
Implements abstract com. Checks if this object represents an interface. |
| public String | |
| protected JClass | substituteParams(JTypeVar[] variables, List<JClass> bindings)
Implements abstract com. Substitutes the type variables with their actual arguments. |
| componentType | back to summary |
|---|---|
| private final JType componentType | |
| JArrayClass | back to summary |
|---|---|
| pack-priv JArrayClass(JCodeModel owner, JType component) | |
| _extends | back to summary |
|---|---|
| public JClass _extends() Implements abstract com. Doc from com. Gets the super class of this class.
| |
| _implements | back to summary |
|---|---|
| public Iterator Implements abstract com. Doc from com. Iterates all super interfaces directly implemented by this class/interface.
| |
| _package | back to summary |
|---|---|
| public JPackage _package() Implements abstract com. Doc from com. Gets the package to which this class belongs. Todo shall we move move this down?
| |
| binaryName | back to summary |
|---|---|
| public String binaryName() Overrides com. Doc from com. Gets the binary name of the type. See http://java.sun.com/docs/books/jls/third_edition/html/binaryComp.html#44909
| |
| elementType | back to summary |
|---|---|
| public JType elementType() Overrides com. Doc from com. If this is an array, returns the component type of the array. (T of T[])
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| fullName | back to summary |
|---|---|
| public String fullName() Implements abstract com. Doc from com. Gets the full name of the type. See http://java.sun.com/docs/books/jls/second_edition/html/names.doc.html#25430 for the details.
| |
| generate | back to summary |
|---|---|
| public void generate(JFormatter f) Overrides com. Implements com.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isAbstract | back to summary |
|---|---|
| public boolean isAbstract() Implements abstract com. Doc from com. Checks if this class is an abstract class.
| |
| isArray | back to summary |
|---|---|
| public boolean isArray() Overrides com. Doc from com. Tell whether or not this is an array type.
| |
| isInterface | back to summary |
|---|---|
| public boolean isInterface() Implements abstract com. Doc from com. Checks if this object represents an interface.
| |
| name | back to summary |
|---|---|
| public String name() Implements abstract com. Doc from com. Gets the name of this class.
| |
| substituteParams | back to summary |
|---|---|
| protected JClass substituteParams(JTypeVar[] variables, List<JClass> bindings) Implements abstract com. Doc from com. Substitutes the type variables with their actual arguments.
For example, when this class is This method needs to work recursively.
| |