public final class

ClassType

extends Type
java.lang.Object
   ↳ sun.tools.java.Type
     ↳ sun.tools.java.ClassType

Class Overview

This class represents an Java class type. It overrides the relevant methods in class Type. WARNING: The contents of this source file are not part of any supported API. Code that depends on them does so at its own risk: they are subject to change or removal without notice.

Summary

[Expand]
Inherited Constants
From interface sun.tools.java.Constants
From interface sun.tools.java.RuntimeConstants
[Expand]
Inherited Fields
From class sun.tools.java.Type
From interface sun.tools.java.Constants
From interface sun.tools.java.RuntimeConstants
Public Methods
Identifier getClassName()
Return the ClassName.
String typeString(String id, boolean abbrev, boolean ret)
Convert a Type to a string, if abbrev is true class names are not fully qualified, if ret is true the return type is included.
[Expand]
Inherited Methods
From class sun.tools.java.Type
From class java.lang.Object

Public Methods

public Identifier getClassName ()

Return the ClassName. Only works on class types.

public String typeString (String id, boolean abbrev, boolean ret)

Convert a Type to a string, if abbrev is true class names are not fully qualified, if ret is true the return type is included.