public interface

IJavaType

com.pnfsoftware.jeb.core.units.code.java.IJavaType

Class Overview

This interface is used to define a Java type.

Summary

Public Methods
abstract IJavaType getArrayElementType()
Get the simplest type of an array type, that is, the type of a 0-dimension array.
abstract int getDimensions()
Get the dimension count of an array type.
abstract String getSignature()
Get the Java type name (internal form).
abstract boolean isArray()
abstract boolean isBool()
abstract boolean isByte()
abstract boolean isChar()
abstract boolean isClassOrInterface()
abstract boolean isDouble()
abstract boolean isFloat()
abstract boolean isInt()
abstract boolean isLong()
abstract boolean isObject()
abstract boolean isPrimitive()
abstract boolean isShort()
abstract boolean isVoid()

Public Methods

public abstract IJavaType getArrayElementType ()

Get the simplest type of an array type, that is, the type of a 0-dimension array.
Example: [[[I -> I

public abstract int getDimensions ()

Get the dimension count of an array type. This method will throw if this type is not an array.

public abstract String getSignature ()

Get the Java type name (internal form).

Returns
  • internal type name, using the L.../...; form

public abstract boolean isArray ()

public abstract boolean isBool ()

public abstract boolean isByte ()

public abstract boolean isChar ()

public abstract boolean isClassOrInterface ()

public abstract boolean isDouble ()

public abstract boolean isFloat ()

public abstract boolean isInt ()

public abstract boolean isLong ()

public abstract boolean isObject ()

public abstract boolean isPrimitive ()

public abstract boolean isShort ()

public abstract boolean isVoid ()