|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavassist.bytecode.analysis.Type
javassist.bytecode.analysis.MultiArrayType
public class MultiArrayType
Represents an array of MultiType instances.
| Field Summary |
|---|
| Fields inherited from class javassist.bytecode.analysis.Type |
|---|
BOGUS, BOOLEAN, BYTE, CHAR, CLONEABLE, DOUBLE, FLOAT, INTEGER, LONG, OBJECT, RETURN_ADDRESS, SERIALIZABLE, SHORT, THROWABLE, TOP, UNINIT, VOID |
| Constructor Summary | |
|---|---|
MultiArrayType(MultiType component,
int dims)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
Type |
getComponent()
Returns the array component if this type is an array. |
CtClass |
getCtClass()
Returns the class this type represents. |
int |
getDimensions()
Returns the number of dimensions of this array. |
int |
getSize()
Gets the word size of this type. |
boolean |
isArray()
Returns whether or not this type is an array. |
boolean |
isAssignableFrom(Type type)
Determines whether this type is assignable, to the passed type. |
boolean |
isAssignableTo(Type type)
|
boolean |
isReference()
Returns whether or not this type is a normal java reference, i.e. |
java.lang.String |
toString()
|
| Methods inherited from class javassist.bytecode.analysis.Type |
|---|
get, isSpecial, merge |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MultiArrayType(MultiType component,
int dims)
| Method Detail |
|---|
public CtClass getCtClass()
Type
getCtClass in class Typepublic int getDimensions()
Type
getDimensions in class Typepublic Type getComponent()
Type
getComponent in class Typepublic int getSize()
Type
getSize in class Typepublic boolean isArray()
Type
isArray in class Typepublic boolean isAssignableFrom(Type type)
Type
isAssignableFrom in class Typetype - the type to test assignability to
public boolean isReference()
Type
isReference in class Typepublic boolean isAssignableTo(Type type)
public boolean equals(java.lang.Object o)
equals in class Typepublic java.lang.String toString()
toString in class Type
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||