Package | Description |
---|---|
oracle.javatools.parser.java.v2 |
The parser API.
|
oracle.javatools.parser.java.v2.common |
Classes common to model implementations.
|
oracle.javatools.parser.java.v2.model |
The parser model API.
|
oracle.javatools.parser.java.v2.util |
Various utilities for use with the parser.
|
oracle.jdeveloper.cmt |
The Component Model Tool, an API for manipulating Java source code.
|
oracle.jdeveloper.java |
Public API for the java model.
|
oracle.jdeveloper.java.clients.uieditor | |
oracle.jdeveloper.java.provider |
Public implementations of the JavaFileProvider interface.
|
oracle.jdeveloper.java.util |
Public utilities for use with the java model, including the parser.
|
Modifier and Type | Interface and Description |
---|---|
interface |
JavaProvider2
Extends the JavaProvider interface.
|
Modifier and Type | Method and Description |
---|---|
static CallerContext |
CallerContext.createContext(JavaProvider provider, JavaClass callingClass)
Deprecated.
Not supported
|
static JavaFile |
JavaParser.lightParse(ReadTextBuffer textBuffer, java.net.URL url, JavaProvider javaProvider, int j2se)
Deprecated.
Use lightParse( ReadTextBuffer, URL, JavaProvider, JdkVersion ) instead
|
static JavaFile |
JavaParser.lightParse(ReadTextBuffer textBuffer, java.net.URL url, JavaProvider javaProvider, JdkVersion jdkVersion)
Parse the textBuffer and return a "light" sourceFile where all the method bodies were skipped In general this method should NOT be called directly.
|
Modifier and Type | Method and Description |
---|---|
static JavaType |
PrimitiveType.applyBoxingConversion(PrimitiveType input, JavaProvider provider, JdkVersion jdkVersion)
Tries to apply boxing to the input.
|
static JavaType |
CommonUtilities.createArrayType(JavaProvider provider, JavaType component, int dimensions) |
static JavaType |
CommonUtilities.createArrayType(JavaProvider provider, JavaType component, int dimensions, java.util.List<java.util.List<JavaAnnotation>> typeAnnotations) |
static JavaType |
CommonUtilities.createDiamondParameterizedType(JavaProvider provider, JavaType type)
Create a parameterized type (a type with type arguments) with an empty type argument list, useful for the 'new Type<>()' syntax
|
static QuickHasType |
QuickHasType.createHasTypeByVMName(JavaProvider provider, java.lang.String vmName)
Creates a QuickHasType given that a JavaProvider is available.
|
static JavaMethod |
CommonUtilities.createParameterizedMethod(JavaProvider provider, JavaMethod generic, JavaType[] typeArguments) |
static JavaType |
CommonUtilities.createParameterizedType(JavaProvider provider, JavaType generic, JavaType[] typeArguments) |
static JavaType |
CommonUtilities.createTypeErasedClass(JavaProvider provider, JavaType type) |
static JavaType |
CommonUtilities.createWildcardType(byte bound, JavaType t, JavaProvider provider)
Creates a wildcard type.
|
static JavaElement |
CommonUtilities.locateByUniqueIdentifier(java.lang.String uniqueIdentifier, JavaProvider provider)
This will work for packages, classes, methods, and fields.
|
static byte |
CommonUtilities.provider2jdkVersion(JavaProvider provider) |
Constructor and Description |
---|
QuickSignatureParser(java.lang.String text, JavaIsGeneric owningGeneric, JavaProvider provider) |
SignatureHasType(char ch, JavaProvider provider) |
SignatureHasType(char ch, java.lang.String name, JavaProvider provider) |
Modifier and Type | Method and Description |
---|---|
JavaProvider |
SourceFile.getProvider()
Gets the saved JavaProvider cookie.
|
Modifier and Type | Method and Description |
---|---|
void |
SourceFile.setProvider(JavaProvider provider)
Sets the provider cookie that will provide class information needed for compilation.
|
Modifier and Type | Class and Description |
---|---|
class |
NullProvider
A provider implementation that does nothing.
|
Modifier and Type | Method and Description |
---|---|
JavaProvider |
BindingContext.getProvider() |
Modifier and Type | Method and Description |
---|---|
static boolean |
Conversions.applyAssignmentConversion(JavaType subject, JavaType target, boolean isConstantValue, JavaProvider provider)
JLS 5.2.
|
static boolean |
Conversions.applyAssignmentConversion(JavaType subject, SourceExpression subjectExpr, JavaType target, boolean isConstantValue, JavaProvider provider)
Deprecated.
Use applyAssignmentConversion(JavaType,SourceExpression,JavaType,boolean,JavaProvider,JdkVersion)
|
static boolean |
Conversions.applyAssignmentConversion(JavaType subject, SourceExpression subjectExpr, JavaType target, boolean isConstantValue, JavaProvider provider, JdkVersion jdkVersion)
JLS 5.2.
|
static JavaType |
Conversions.applyBoxingConversion(PrimitiveType input, JavaProvider provider)
Deprecated.
Use applyBoxingConversion(PrimitiveType,JavaProvider,JdkVersion) instead
|
static JavaType |
Conversions.applyBoxingConversion(PrimitiveType input, JavaProvider provider, JdkVersion jdkVersion)
Tries to apply boxing to the input.
|
static boolean |
Conversions.applyCastingConversion(JavaType subject, JavaType target, JavaProvider provider)
Deprecated.
Use applyCastingConversion(JavaType,JavaType,JavaProvider,JdkVersion) instead
|
static boolean |
Conversions.applyCastingConversion(JavaType subject, JavaType target, JavaProvider provider, JdkVersion jdkVersion)
JLS 5.5.
|
static boolean |
Conversions.applyMethodConversion(JavaType subject, JavaType target, boolean allowBoxing, JavaProvider provider)
Deprecated.
Use applyMethodConversion(JavaType,JavaType,boolean,JavaProvider,JdkVersion) instead
|
static boolean |
Conversions.applyMethodConversion(JavaType subject, JavaType target, boolean allowBoxing, JavaProvider provider, JdkVersion jdkVersion)
JLS 5.3.
|
Constructor and Description |
---|
BindingContext(JavaProvider provider) |
BindingContext(JavaProvider provider, JavaIsGeneric sourceContext, JavaType targetContext) |
BindingContext(JavaProvider provider, JavaType targetContext) |
Modifier and Type | Interface and Description |
---|---|
interface |
CmtPackages |
Modifier and Type | Interface and Description |
---|---|
interface |
JavaFileProvider
The
JavaFileProvider extends the JavaProvider interface by providing methods to retrieve a JavaFile or SourceFile from a Java class or source URL. |
Modifier and Type | Class and Description |
---|---|
class |
JavaManager
A
JavaManager is an implementation of the JavaFileProvider interface. |
class |
JavaModel
The
JavaModel is an implementation of the JavaFileProvider interface. |
Modifier and Type | Class and Description |
---|---|
class |
CustomJavaManager
The
CustomJavaManager is an extension of the JavaManager API to support the notion of a "SYSTEM_CLASSPATH" as it was in old JOT. |
Modifier and Type | Class and Description |
---|---|
class |
BaseFileProvider
The
BaseFileProvider is an abstract starting point for an implementation of the JavaFileProvider interface that relies on a JavaClassLocator instance for locating Java class and source files. |
class |
CachedFileProvider
The
CachedFileProvider is an abstract starting point for an implementation of the JavaFileProvider interface that adds cache support to the BaseFileProvider . |
class |
ProjectFileProvider
The
ProjectFileProvider is an implementation of the JavaFileProvider interface which relies on the path information of a Project for locating Java source and class files. |
class |
SimpleFileProvider
The
PathFileProvider is an implementation of the JavaFileProvider interface that uses a static JavaClassLocator instance of URL paths for locating Java source and class files. |
Modifier and Type | Method and Description |
---|---|
static JavaType |
SourceUtils.getType(JavaProvider provider, java.lang.String type)
Fetch a JavaType instance for the given type.
|