|
||||||||||
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 |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MultiArrayType(MultiType component, int dims)
Method Detail |
---|
public CtClass getCtClass()
Type
getCtClass
in class Type
public int getDimensions()
Type
getDimensions
in class Type
public Type getComponent()
Type
getComponent
in class Type
public int getSize()
Type
getSize
in class Type
public boolean isArray()
Type
isArray
in class Type
public boolean isAssignableFrom(Type type)
Type
isAssignableFrom
in class Type
type
- the type to test assignability to
public boolean isReference()
Type
isReference
in class Type
public boolean isAssignableTo(Type type)
public boolean equals(java.lang.Object o)
equals
in class Type
public java.lang.String toString()
toString
in class Type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |