|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Type
Interface for objects representing Java types. In general, an Type provides a type for a value used in a Java method. Types of values include:
This class and its descendents were designed to address some shortcomings of the BCEL Type class and descendents:
The goals of Type and related classes are to be efficient in dataflow analysis, and to make class hierarchy queries flexible and easy.
| Method Summary | |
|---|---|
void |
accept(TypeVisitor visitor)
Accept an TypeVisitor. |
java.lang.String |
getSignature()
Return the JVM type signature. |
int |
getTypeCode()
Return the type code value as defined in org.apache.bcel.Constants or ExtendedTypes. |
boolean |
isBasicType()
Is this type a basic type? |
boolean |
isReferenceType()
Is this type a reference type? |
boolean |
isValidArrayBaseType()
Is this a valid array base type? |
boolean |
isValidArrayElementType()
Is this a valid array element type? |
| Method Detail |
|---|
java.lang.String getSignature()
int getTypeCode()
ExtendedTypes.
boolean isBasicType()
boolean isReferenceType()
boolean isValidArrayElementType()
boolean isValidArrayBaseType()
void accept(TypeVisitor visitor)
visitor - the visitor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||