public interface

IJavaTypeFactory

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

Class Overview

Builder for Java AST types.

Summary

Public Methods
abstract IJavaType create(IJavaType elttype, int dimensions)
Create an array type.
abstract IJavaType createType(String name)
Create a Java type.
abstract IJavaType getBoolean()
abstract IJavaType getByte()
abstract IJavaType getChar()
abstract IJavaType getDouble()
abstract IJavaType getDoubleSlotWildcard()
abstract IJavaType getFloat()
abstract IJavaType getGenericObjectWildcard()
abstract IJavaType getInt()
abstract IJavaType getLong()
abstract IJavaType getObjectType()
abstract IJavaType getShort()
abstract IJavaType getSingleSlotWildcard()
abstract IJavaType getSmallIntWildcard()
abstract IJavaType getStringType()
abstract IDTypeInfoProvider getTypeInfoProvider()
abstract IJavaType getVoid()
abstract IJavaType letterToType(char typeLetter)
abstract IJavaType parseType(String s)
Parse a non-void type.
abstract IJavaType primitiveNameToType(String name)

Public Methods

public abstract IJavaType create (IJavaType elttype, int dimensions)

Create an array type.

public abstract IJavaType createType (String name)

Create a Java type.

Parameters
name internal type name, it can be:
  • The void type: V
  • A primitive type, ie one of: Z, B, C, S, I, J, F, D
  • An object type, eg Lcom/foo/Bar;
  • An array type, eg: [I, [[J, [[[Lcom/Foo/Bar;
Returns
  • the type

public abstract IJavaType getBoolean ()

public abstract IJavaType getByte ()

public abstract IJavaType getChar ()

public abstract IJavaType getDouble ()

public abstract IJavaType getDoubleSlotWildcard ()

public abstract IJavaType getFloat ()

public abstract IJavaType getGenericObjectWildcard ()

public abstract IJavaType getInt ()

public abstract IJavaType getLong ()

public abstract IJavaType getObjectType ()

public abstract IJavaType getShort ()

public abstract IJavaType getSingleSlotWildcard ()

public abstract IJavaType getSmallIntWildcard ()

public abstract IJavaType getStringType ()

public abstract IDTypeInfoProvider getTypeInfoProvider ()

public abstract IJavaType getVoid ()

public abstract IJavaType letterToType (char typeLetter)

public abstract IJavaType parseType (String s)

Parse a non-void type.

Parameters
s internal name, array accepted (internal form, eg [I or [[Ljava/lang.Object;, cannot be void ('V')

public abstract IJavaType primitiveNameToType (String name)