Package | Description |
---|---|
oracle.javatools.parser.java.v2 |
The parser API.
|
oracle.javatools.parser.java.v2.classfile |
The parser's class file reader.
|
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.model.doc |
The parser model API for doc elements.
|
oracle.javatools.parser.java.v2.model.expression |
The parser model API for expressions.
|
oracle.javatools.parser.java.v2.model.statement |
The parser model API for statements.
|
oracle.javatools.parser.java.v2.util.filter |
Filter utilities for use with the parser.
|
oracle.jdeveloper.browse | |
oracle.jdeveloper.engine | |
oracle.jdeveloper.java.provider |
Public implementations of the JavaFileProvider interface.
|
Modifier and Type | Field and Description |
---|---|
java.util.ArrayList<JavaElement> |
CallerContext.Output.all
The output array.
|
Modifier and Type | Class and Description |
---|---|
class |
oracle.javatools.parser.java.v2.classfile.ClClass
The ClClass object wraps a ClassFile object.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractAnnotation |
class |
AbstractClass
An abstract implementation of JavaClass.
|
class |
AbstractElement
A generic implementation of JavaElement with stubs for most of the
methods.
|
class |
AbstractField
An abstract implementation of JavaField.
|
class |
AbstractMethod
An abstract implementation of JavaMethod.
|
class |
AbstractPackage
An abstract implementation of JavaPackage.
|
class |
AbstractType
An abstract implementation of JavaType.
|
class |
AbstractVariable
An abstract implementation of JavaVariable.
|
class |
CastedMethod
A "casted method" represents a method invocation followed by a type
cast.
|
class |
IntersectionType
Represents an intersection of multiple JavaTypes.
|
class |
ParameterizedClass
Represents a bound generic type JavaClass.
|
class |
PrimitiveType
Represents a primitive type JavaClass.
|
class |
QuickComponent
A QuickComponent is a special type of JavaVariable that refers to
an annotation member (method!).
|
class |
QuickHasName
A lightweight object that knows how to retrieve its resolved type
when asked for it.
|
class |
QuickHasType
A lightweight object that knows how to retrieve its resolved type
when asked for it.
|
class |
QuickJavaClass
Provides a quick way to make a new JavaType.
|
class |
QuickLocalVariable
A light-weight implementation of JavaLocalVariable, particularly
useful for constructing formal parameter objects for use with
QuickMethod.
|
class |
QuickMethod
A lightweight implementation of JavaMethod.
|
class |
SignatureHasType
This JavaHasType gets its name in that it's used for signature parsing.
|
class |
Value
Represents a value in the java language.
|
class |
WrapperClass
Skeleton implementation of an object wrapping a class.
|
class |
WrapperField
Skeleton implementation of an object wrapping a field.
|
class |
WrapperLocalVariable
Skeleton implementation of an object wrapping a local variable.
|
class |
WrapperMethod
Skeleton implementation of an object wrapping a method.
|
class |
WrapperPackage
Skeleton implementation of an object wrapping a class.
|
Modifier and Type | Field and Description |
---|---|
protected JavaElement |
QuickLocalVariable.owner
Cannot require that it be final or set through the constructor
because formal parameter instances are often constructed before
the owning method instance.
|
Modifier and Type | Method and Description |
---|---|
JavaElement |
WrapperMethod.getOwner() |
JavaElement |
WrapperLocalVariable.getOwner() |
JavaElement |
WrapperField.getOwner() |
JavaElement |
WrapperClass.getOwner() |
JavaElement |
SignatureHasType.getOwner() |
JavaElement |
QuickLocalVariable.getOwner() |
JavaElement |
QuickJavaClass.getOwner() |
JavaElement |
QuickHasType.getOwner() |
JavaElement |
QuickHasName.getOwner() |
JavaElement |
QuickComponent.getOwner() |
JavaElement |
AbstractVariable.getOwner() |
JavaElement |
AbstractType.getOwner() |
JavaElement |
AbstractPackage.getOwner() |
JavaElement |
AbstractMethod.getOwner() |
JavaElement |
AbstractField.getOwner() |
abstract JavaElement |
AbstractElement.getOwner() |
abstract JavaElement |
AbstractAnnotation.getOwner() |
static JavaElement |
CommonUtilities.locateByUniqueIdentifier(java.lang.String uniqueIdentifier,
JavaProvider provider)
This will work for packages, classes, methods, and fields.
|
Modifier and Type | Method and Description |
---|---|
static SourceElement |
CommonUtilities.getSourceElement(JavaElement target,
SourceFile searchSpace) |
void |
QuickLocalVariable.setOwner(JavaElement o) |
void |
QuickComponent.setOwner(JavaElement owner) |
Modifier and Type | Interface and Description |
---|---|
interface |
CompiledImport
A traditional narrow import declaration imports a single type.
|
interface |
JavaAnnotation
An instance of an annotation type.
|
interface |
JavaClass
A JavaClass is mostly the equivalent of java/lang/Class.
|
interface |
JavaField
The JavaField is the compiled representation of a java field.
|
interface |
JavaFile
A compilation unit.
|
interface |
JavaHasAnnotations
All runtime annotations are provided, both visible and invisible.
|
interface |
JavaHasName
A JavaHasName object has a name.
|
interface |
JavaHasType
A JavaHasType object has a descriptor and a signature.
|
interface |
JavaIsGeneric
A generic declaration declares type parameters.
|
interface |
JavaLocalVariable
A compile-time local variable (or formal parameter).
|
interface |
JavaMember
A JavaMember is the base interface of several Java entities, such as
fields, methods, classes, initializers, and types.
|
interface |
JavaMethod
The JavaMethod is the compiled representation of a java method
or constructor, including the implicit <clinit> method.
|
interface |
JavaPackage
A JavaPackage is the compiled representation of a Java package.
|
interface |
JavaType
JavaType is the common base interface for JavaClass,
JavaTypeVariable, and JavaWildcardType.
|
interface |
JavaTypeVariable
The TypeVariable is a new concept in jdk 1.5.
|
interface |
JavaVariable
The JavaVariable is the compiled representation of a local
variable, including formal parameters.
|
interface |
JavaWildcardType
The WildcardType is a new concept in jdk 1.5.
|
interface |
SourceAnnotation
An annotation (not to be confused with annotation type).
|
interface |
SourceCatchParameter
Represents a catch clause parameter, which is similar to a
SourceFormalParameter except the type can be the union of
several disjunct types.
|
interface |
SourceClass
A SourceClass is the syntactic (aka symbolic) representation of a
java class: classes, enums, interfaces, and annotation types.
|
interface |
SourceClassInitializer
The
SourceClassInitializer represents an initializer block. |
interface |
SourceEnumConstant
An enum constant.
|
interface |
SourceFieldDeclaration
A field (or enum constant) declaration.
|
interface |
SourceFieldVariable
A field variable.
|
interface |
SourceFile
The SourceFile represents the root node for a complete Source
source file.
|
interface |
SourceFormalParameter
A formal parameter.
|
interface |
SourceImport
An import declaration.
|
interface |
SourceLambdaParameter
Represents one lambda expression parameter.
|
interface |
SourceLocalVariable
A local variable or formal parameter.
|
interface |
SourceMember
The
SourceMember represents a member declaration for a type. |
interface |
SourceMemberVariable
A field (or enum constant) variable.
|
interface |
SourceMethod
A SourceMethod is the syntactic (aka symbolic) representation of a
java method or constructor declaration.
|
interface |
SourceName
A name.
|
interface |
SourceTypeArgument
A type argument for a type reference.
|
interface |
SourceTypeParameter
A type parameter.
|
interface |
SourceTypeReference
A type reference.
|
interface |
SourceVariable
A SourceVariable is the syntactic (aka symbolic) representation of a
java variable, including: field variables, enum constant variables,
local variables, and formal parameters.
|
Modifier and Type | Field and Description |
---|---|
static JavaElement[] |
JavaElement.EMPTY_ARRAY |
Modifier and Type | Method and Description |
---|---|
JavaElement |
SourceElement.getCompiledObject()
Call resolve() implicitly and gets the compiled object
associated with this element.
|
JavaElement |
JavaElement.getOwner()
Finds the owner of this JavaElement, which is the closest named
ancestor found, such as a JavaClass, JavaMethod, JavaField, etc.
|
JavaElement |
SourceElement.resolve()
Performs name and type resolution on this element.
|
Modifier and Type | Interface and Description |
---|---|
interface |
CompiledDocReference
A
CompiledDocReference is the compiled interface for a
doc comment reference to a package, type, method, constructor, field, or parameter. |
interface |
SourceDocReference
A
SourceDocReference represents the Java element reference
in @exception , @link , @linkplain ,
@param , @see , @serialField ,
@throws , and two-argument @value> tags. |
interface |
SourceDocTagName
A
SourceDocTagName represents the name of a doc tag. |
Modifier and Type | Interface and Description |
---|---|
interface |
CompiledAccessExpression
The type of a compiled access expression.
|
interface |
CompiledExpression
The type of a compiled expression.
|
interface |
CompiledInvokeExpression
The type of a compiled invocation expression.
|
interface |
CompiledSelfVariable
The type of a compiled self variable.
|
interface |
CompiledTmpVariable
The type of a compiled tmp variable.
|
interface |
SourceAnnotationExpression
An AnnotationExpression is a final expression representing an
annotation that is also an expression operand (and therefore must
be a subclass of Expression).
|
interface |
SourceArrayAccessExpression
An ArrayAccessExpression is a final expression representing an
array access expression.
|
interface |
SourceAssignmentExpression
An AssignmentExpression is a final expression representing infix
operations that are assignments.
|
interface |
SourceDereferenceExpression
A SourceDereferenceExpression is a common base expression
representing an operator that performs a dereference.
|
interface |
SourceDotExpression
A DotExpression is a final expression representing a selector.
|
interface |
SourceErrorExpression
An erroneous expression .
|
interface |
SourceExpression
The SourceExpression is essentially the union of all the various
operators and primaries.
|
interface |
SourceInfixExpression
An InfixExpression is a final expression representing an infix
operation that is not an assignment.
|
interface |
SourceIntersectionTypeExpression
Manages an intersection of multiple SourceTypeExpressions.
|
interface |
SourceInvokeExpression
A SourceInvokeExpression is a common base expression representing
any invocation expression.
|
interface |
SourceLambdaExpression
Represents a lambda expression, which is an expression new in JDK8 and higher.
|
interface |
SourceListExpression
A ListExpression is a final expression representing non-operation
expressions that have a variable number of operands.
|
interface |
SourceLiteralExpression
A LiteralExpression is a final expression representing a lexical
literal.
|
interface |
SourceMethodCallExpression
A MethodCallExpression is a final expression representing a method
invocation or an explicit constructor invocation.
|
interface |
SourceMethodReferenceExpression
Represents one method reference expression, which is a new expression for JDK8 and higher.
|
interface |
SourceNewArrayExpression
An ArrayAccessExpression is a final expression representing an
array access expression.
|
interface |
SourceNewClassExpression
A ClassCreatorExpression is a final expression representing an
instance creation expression.
|
interface |
SourceOperatorExpression
An OperatorExpression is a common base expression representing a
multi-operand expression that performs an operation.
|
interface |
SourceQuestionExpression
A QuestionExpression is a final expression representing the ternary
operator x? x: x.
|
interface |
SourceSimpleNameExpression
A SimpleNameExpression is a final expression representing an
unqualified name access.
|
interface |
SourceTypecastExpression
A SourceTypecastExpression is a final expression representing a type
cast.
|
interface |
SourceTypeExpression
A TypeExpression is a final expression representing a type that is
also an expression operand (and therefore must be a subclass of
Expression).
|
interface |
SourceUnaryExpression
A UnaryExpression is a final expression representing the prefix and
postfix operators but not the typecast operator.
|
interface |
SourceWrapperExpression
A WrapperExpression is a final expression that represents wrapping
constructs such as parentheses and brackets.
|
Modifier and Type | Interface and Description |
---|---|
interface |
CompiledStatementLabel
The compile-model declaration of a statement label.
|
interface |
SourceStatementLabel
A label on a labeled statement.
|
Modifier and Type | Method and Description |
---|---|
boolean |
OrFilter.accepts(JavaElement element) |
boolean |
NotFilter.accepts(JavaElement element) |
boolean |
JavaFilter.accepts(JavaElement element) |
boolean |
DeprecatedFilter.accepts(JavaElement element) |
boolean |
AssignableFilter.accepts(JavaElement element) |
boolean |
AnnotationFilter.accepts(JavaElement element) |
boolean |
AndFilter.accepts(JavaElement element) |
Modifier and Type | Method and Description |
---|---|
HelpInfo |
JavaBrowseSupport.getHelpInfo(Context context,
JavaElement javaElement)
Gets the
HelpInfo for the specified javaElement . |
Modifier and Type | Method and Description |
---|---|
static JavaElement |
AnnotationUtils.getAnnotatedProperty(JavaClass javaClass,
java.lang.String annoClass) |
Modifier and Type | Method and Description |
---|---|
static java.util.List<JavaElement> |
AnnotationUtils.getAnnotatedProperties(JavaClass javaClass,
java.lang.String annoClass) |
Modifier and Type | Method and Description |
---|---|
static JavaAnnotation |
AnnotationUtils.getAnnotation(JavaElement javaElem,
java.lang.String annoClass) |
static java.lang.String |
AnnotationUtils.getAnnotationAttr(JavaElement javaElem,
java.lang.String annoClass,
java.lang.String attrName,
java.lang.String defaultValue) |
static JavaAnnotation |
EngineUtils.getJavaAnnotation(JavaElement javaElem,
java.lang.String annoClass)
Deprecated.
use corresponding oracle.jdeveloper.engine.AnnotationUtils method
|
static JavaAnnotation |
AnnotationUtils.getJavaAnnotation(JavaElement javaElem,
java.lang.String annoClass) |
static java.lang.String |
EngineUtils.getJavaAnnotationAttr(JavaElement javaElem,
java.lang.String annoClass,
java.lang.String attrName,
java.lang.String defaultValue)
Deprecated.
use corresponding oracle.jdeveloper.engine.AnnotationUtils method
|
static java.lang.String |
AnnotationUtils.getJavaAnnotationAttr(JavaElement javaElem,
java.lang.String annoClass,
java.lang.String attrName,
java.lang.String defaultValue) |
Modifier and Type | Class and Description |
---|---|
protected class |
BaseFileProvider.BaseClass
Our ClCass implementation to override handling of inner class
searching and source file hints for SourceClass searching.
|
protected class |
BaseFileProvider.BasePackage
This is a basic wrapper implementation of
JavaPackage . |