Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


Uses of Interface
oracle.javatools.parser.java.v2.model.JavaType

Packages that use JavaType
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.util Various utilities for use with the parser. 
oracle.javatools.parser.java.v2.util.filter Filter utilities for use with the parser. 
oracle.jdeveloper.audit.java Helper and transform classes for auditing Java nodes and working with the Java object model. 
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.provider Public implementations of the JavaFileProvider interface. 
oracle.jdeveloper.java.util Public utilities for use with the java model, including the parser. 
oracle.jdeveloper.webapp.faces.backingfile   

 

Uses of JavaType in oracle.javatools.parser.java.v2

 

Methods in oracle.javatools.parser.java.v2 that return JavaType
 JavaType JavaProvider.getArrayType(JavaType componentType, int dimensions)
          Fetch the JavaType representing the given array type of the specified component type and dimensions.
abstract  JavaType CallerContext.resolveTypeName(JavaHasType lhs, java.lang.String name)
          Looks up the given TypeName with a lhs value in the given scope.
abstract  JavaType CallerContext.resolveTypeName(java.lang.String name)
          Looks up the given TypeName in the given scope.

 

Methods in oracle.javatools.parser.java.v2 with parameters of type JavaType
 JavaType JavaProvider.getArrayType(JavaType componentType, int dimensions)
          Fetch the JavaType representing the given array type of the specified component type and dimensions.
abstract  CallerContext.Output CallerContext.listMethods(JavaHasType lhs, java.lang.String name, JavaType[] tArguments, CallerContext.InputOptions options)
          List all matching methods that are both visible and accessible in this caller context.
abstract  JavaMethod CallerContext.resolveConstructor(JavaType target, JavaType[] arguments)
          Looks up a constructor on the target class.
abstract  JavaMethod CallerContext.resolveConstructor(JavaType target, JavaType[] arguments)
          Looks up a constructor on the target class.
 JavaMethod CallerContext.resolveMethod(JavaHasType lhs, java.lang.String name, JavaType[] arguments)
          Looks up a method.
abstract  JavaMethod CallerContext.resolveMethod(JavaHasType lhs, java.lang.String name, JavaType[] typeArguments, JavaType[] arguments)
          Looks up a method.
abstract  JavaMethod CallerContext.resolveMethod(JavaHasType lhs, java.lang.String name, JavaType[] typeArguments, JavaType[] arguments)
          Looks up a method.

 

Uses of JavaType in oracle.javatools.parser.java.v2.classfile

 

Classes in oracle.javatools.parser.java.v2.classfile that implement JavaType
 class oracle.javatools.parser.java.v2.classfile.ClClass
           

 

Uses of JavaType in oracle.javatools.parser.java.v2.common

 

Classes in oracle.javatools.parser.java.v2.common that implement JavaType
 class AbstractClass
          An abstract implementation of JavaClass.
 class AbstractType
          An abstract implementation of JavaType.
 class PrimitiveType
          Represents a primitive type JavaClass.
 class WrapperClass
          Skeleton implementation of an object wrapping a class.

 

Methods in oracle.javatools.parser.java.v2.common that return JavaType
static JavaType CommonUtilities.createArrayType(JavaProvider provider, JavaType component, int dimensions)
           
static JavaType CommonUtilities.createParameterizedType(JavaProvider provider, JavaType generic, JavaType[] arguments)
           
static JavaType CommonUtilities.createParameterizedType(JavaType generic, JavaType[] arguments)
          Deprecated. Please use the other createParameterizedType() method.
static JavaType CommonUtilities.createTypeErasedClass(JavaType type)
           
static JavaType CommonUtilities.createWildcardType(byte bound, JavaType t, JavaProvider provider)
          Creates a wildcard type.
 JavaType AbstractAnnotation.getAnnotationType()
           
 JavaType AbstractType.getBaseComponentType()
           
 JavaType WrapperClass.getBaseComponentType()
           
 JavaType AbstractType.getComponentType()
           
 JavaType WrapperClass.getComponentType()
           
 JavaType[] AbstractMethod.getParameterTypes()
           
static JavaType[] CommonUtilities.getParameterTypes(JavaMethod target)
           
abstract  JavaType AbstractVariable.getResolvedType()
           
abstract  JavaType QuickLocalVariable.getResolvedType()
           
abstract  JavaType QuickHasType.getResolvedType()
           
abstract  JavaType AbstractAnnotation.getResolvedType()
           
 JavaType WrapperMethod.getResolvedType()
           
abstract  JavaType AbstractMethod.getResolvedType()
           
abstract  JavaType Value.getResolvedType()
           
 JavaType WrapperLocalVariable.getResolvedType()
           
 JavaType CastedMethod.getResolvedType()
           
 JavaType WrapperField.getResolvedType()
           
 JavaType SignatureHasType.getResolvedType()
           
 JavaType AbstractType.getResolvedType()
           
abstract  JavaType AbstractField.getResolvedType()
           
 JavaType QuickMethod.getResolvedType()
           
 JavaType WrapperMethod.getReturnType()
           
 JavaType AbstractMethod.getReturnType()
           
 JavaType AbstractType.getSuperclass()
           
 JavaType WrapperClass.getSuperclass()
           

 

Methods in oracle.javatools.parser.java.v2.common with parameters of type JavaType
static PrimitiveType PrimitiveType.applyUnboxingConversion(JavaType input)
           
protected static boolean CommonUtilities.classProcessed(java.util.ArrayList processed, JavaType javaClass)
          After this function, the input class will be added to the processed list.
static JavaType CommonUtilities.createArrayType(JavaProvider provider, JavaType component, int dimensions)
           
static AnnotationComponents AnnotationComponents.createInstance(JavaType annotationType)
           
static QuickLocalVariable QuickLocalVariable.createLocalVariable(JavaType knownType, java.lang.String name)
          Creates a local variable from a type that is known at construction time.
static QuickMethod QuickMethod.createMethod(JavaClass owning, char access, JavaType returnType, java.lang.String name, java.util.Collection parameters, java.util.Collection exceptions)
          We could let a client directly create a QuickMethod, but all the other Quick* classes have package-private (or private) constructors, so let's follow the convention.
static JavaMethod CommonUtilities.createParameterizedMethod(JavaProvider provider, JavaMethod generic, JavaType[] arguments)
           
static JavaType CommonUtilities.createParameterizedType(JavaProvider provider, JavaType generic, JavaType[] arguments)
           
static JavaType CommonUtilities.createParameterizedType(JavaProvider provider, JavaType generic, JavaType[] arguments)
           
static JavaType CommonUtilities.createParameterizedType(JavaType generic, JavaType[] arguments)
          Deprecated. Please use the other createParameterizedType() method.
static JavaType CommonUtilities.createParameterizedType(JavaType generic, JavaType[] arguments)
          Deprecated. Please use the other createParameterizedType() method.
static JavaType CommonUtilities.createTypeErasedClass(JavaType type)
           
static QuickUnresolvedType QuickUnresolvedType.createUnresolvedType(JavaType type)
          Creates an UnresolvedType implementation that is based on a "live" resolved type.
static Value Value.createValue(JavaType knownType)
           
static JavaType CommonUtilities.createWildcardType(byte bound, JavaType t, JavaProvider provider)
          Creates a wildcard type.
 JavaAnnotation AbstractElement.getAnnotation(JavaType annotationType)
           
 JavaAnnotation AbstractType.getAnnotation(JavaType annotationType)
           
static JavaAnnotation CommonUtilities.getAnnotation(JavaType target, JavaType annotationType)
           
static java.util.Collection CommonUtilities.getAnnotations(JavaType target)
           
static JavaClass CommonUtilities.getClass(JavaType target, java.lang.String name)
           
static java.util.Collection CommonUtilities.getClasses(JavaType target)
           
static JavaAnnotation CommonUtilities.getDeclaredAnnotation(JavaHasAnnotations target, JavaType annotationType)
           
 JavaAnnotation AbstractElement.getDeclaredAnnotation(JavaType annotationType)
           
static JavaClass CommonUtilities.getDeclaredClass(JavaType target, java.lang.String name)
           
 JavaMethod AbstractType.getDeclaredConstructor(JavaType[] targetTypes)
           
static JavaMethod CommonUtilities.getDeclaredConstructor(JavaType target, JavaType[] targetTypes)
           
static JavaMethod CommonUtilities.getDeclaredConstructor(JavaType target, JavaType[] targetTypes)
           
static JavaField CommonUtilities.getDeclaredField(JavaType target, java.lang.String name)
           
static JavaMethod CommonUtilities.getDeclaredMethod(JavaType target, java.lang.String name, JavaType[] targetTypes)
           
static JavaMethod CommonUtilities.getDeclaredMethod(JavaType target, java.lang.String name, JavaType[] targetTypes)
           
 JavaMethod AbstractType.getDeclaredMethod(java.lang.String name, JavaType[] targetTypes)
           
static java.util.Collection CommonUtilities.getDeclaredMethods(JavaType target, java.lang.String name)
           
static JavaField CommonUtilities.getField(JavaType target, java.lang.String name)
           
static java.util.Collection CommonUtilities.getFields(JavaType target)
           
static java.lang.String CommonUtilities.getInstantiatedTypeToString(JavaType type)
          Create a printable String representation of an instantiated type.
static JavaMethod CommonUtilities.getMethod(JavaType target, java.lang.String name, JavaType[] targetTypes)
           
static JavaMethod CommonUtilities.getMethod(JavaType target, java.lang.String name, JavaType[] targetTypes)
           
 JavaMethod AbstractType.getMethod(java.lang.String name, JavaType[] targetTypes)
           
static java.util.Collection CommonUtilities.getMethods(JavaType target)
           
static java.util.Collection CommonUtilities.getMethods(JavaType target, java.lang.String name)
           
 boolean AbstractType.isAssignableFrom(JavaType subject)
           
protected static boolean CommonUtilities.isInheritedAnnotation(JavaType annotationType)
           
 boolean AbstractType.isSubtypeOf(JavaType supertype)
           
static boolean CommonUtilities.matchMethod(JavaMethod method, JavaType[] targetTypes)
           
static CastedMethod CastedMethod.newInstance(JavaMethod thing, JavaType resolvedType)
           

 

Constructors in oracle.javatools.parser.java.v2.common with parameters of type JavaType
CastedMethod(JavaMethod thing, JavaType resolvedType)
           
ClassHierarchy(JavaType input)
           

 

Uses of JavaType in oracle.javatools.parser.java.v2.model

 

Subinterfaces of JavaType in oracle.javatools.parser.java.v2.model
 interface JavaClass
          A JavaClass is mostly the equivalent of java/lang/Class.
 interface JavaTypeVariable
          The TypeVariable is a new concept in jdk 1.5.
 interface JavaWildcardType
          The WildcardType is a new concept in jdk 1.5.
 interface SourceClass
          A SourceClass is the syntactic (aka symbolic) representation of a java class: classes, enums, interfaces, and annotation types.
 interface SourceTypeParameter
          A type parameter.

 

Fields in oracle.javatools.parser.java.v2.model declared as JavaType
static JavaType[] JavaType.EMPTY_ARRAY
           

 

Methods in oracle.javatools.parser.java.v2.model that return JavaType
 JavaType JavaAnnotation.getAnnotationType()
          Equivalent to getResolvedType().
 JavaType JavaType.getBaseComponentType()
           
 JavaType JavaType.getComponentType()
           
 JavaType[] JavaMethod.getParameterTypes()
           
 JavaType JavaHasType.getResolvedType()
          A JavaField instance will return the field's type.
 JavaType JavaMethod.getReturnType()
          All constructors have a return type of "void".
 JavaType JavaType.getSuperclass()
          The name "getSuperclass" was chosen to be consistent with java/lang/Class.

 

Methods in oracle.javatools.parser.java.v2.model with parameters of type JavaType
 JavaAnnotation JavaHasAnnotations.getAnnotation(JavaType annotationType)
          Retrieves the annotation declared on this element that matches the input annotation type.
 JavaAnnotation JavaHasAnnotations.getDeclaredAnnotation(JavaType annotationType)
           
 JavaMethod JavaType.getDeclaredConstructor(JavaType[] parameters)
           
 JavaMethod JavaType.getDeclaredMethod(java.lang.String name, JavaType[] parameters)
           
 JavaMethod JavaType.getMethod(java.lang.String name, JavaType[] parameters)
          Iteratively searches for a method declared in this class or its hierarchy.
 SourceMethod SourceClass.getSourceConstructor(JavaType[] targetTypes)
          Gets the matching declared constructor declaration, null if none.
 SourceMethod SourceClass.getSourceMethod(java.lang.String name, JavaType[] targetTypes)
          Gets the matching method declaration, null if none.
 boolean JavaType.isAssignableFrom(JavaType subject)
          Consider the following expression where S (subject) represents another type and T (this) represents this type.
 boolean JavaType.isSubtypeOf(JavaType supertype)
          True if this is a subtype of the indicated argument.

 

Uses of JavaType in oracle.javatools.parser.java.v2.util

 

Methods in oracle.javatools.parser.java.v2.util that return JavaType
protected static JavaType Conversions.applyBinaryPromotion(JavaType lhs, JavaType rhs)
          JLS 5.6.2.
static JavaType Conversions.applyBoxingConversion(PrimitiveType input, JavaProvider provider)
          JLS 5.1.7.
protected static JavaType Conversions.applyUnaryPromotion(JavaType subject)
          JLS 5.6.1.
 JavaType BindingContext.bind(JavaType type)
          Binds a type in this context.
 JavaType NullProvider.getArrayType(JavaType componentType, int dimensions)
           
 JavaType BindingContext.getTargetContext()
           

 

Methods in oracle.javatools.parser.java.v2.util that return types with arguments of type JavaType
static Annotations.AnnotationValueGetter<JavaType> Annotations.classGetter(JavaType type, java.lang.String elementName)
           

 

Methods in oracle.javatools.parser.java.v2.util with parameters of type JavaType
static boolean Conversions.applyAssignmentConversion(JavaType subject, JavaType target, boolean isConstantValue, JavaProvider provider)
          JLS 5.2.
protected static JavaType Conversions.applyBinaryPromotion(JavaType lhs, JavaType rhs)
          JLS 5.6.2.
static boolean Conversions.applyCastingConversion(JavaType subject, JavaType target, JavaProvider provider)
          JLS 5.5.
static boolean Conversions.applyMethodConversion(JavaType subject, JavaType target, boolean allowBoxing, JavaProvider provider)
          JLS 5.3.
protected static JavaType Conversions.applyUnaryPromotion(JavaType subject)
          JLS 5.6.1.
static PrimitiveType Conversions.applyUnboxingConversion(JavaType input)
          JLS 5.1.8.
static Annotations.AnnotationValueGetter<java.lang.Object[]> Annotations.arrayGetter(JavaType type, java.lang.String elementName)
           
 JavaType BindingContext.bind(JavaType type)
          Binds a type in this context.
static Annotations.AnnotationValueGetter<java.lang.Byte> Annotations.byteGetter(JavaType type, java.lang.String elementName)
           
static Annotations.AnnotationValueGetter<java.lang.Character> Annotations.charGetter(JavaType type, java.lang.String elementName)
           
static Annotations.AnnotationValueGetter<JavaType> Annotations.classGetter(JavaType type, java.lang.String elementName)
           
static Annotations.AnnotationValueGetter<java.lang.Double> Annotations.doubleGetter(JavaType type, java.lang.String elementName)
           
static Annotations.AnnotationValueGetter<JavaField> Annotations.enumGetter(JavaType type, java.lang.String elementName)
           
static Annotations.AnnotationValueGetter<java.lang.Float> Annotations.floatGetter(JavaType type, java.lang.String elementName)
           
 JavaType NullProvider.getArrayType(JavaType componentType, int dimensions)
           
static
<S> Annotations.AnnotationValueGetter<S>
Annotations.getter(JavaType type, java.lang.String elementName)
          Returns a getter that knows how to retrieve the specified annotation value from a target class.
static boolean Conversions.inheritsFrom(JavaType subject, JavaType target)
           
static Annotations.AnnotationValueGetter<java.lang.Integer> Annotations.integerGetter(JavaType type, java.lang.String elementName)
           
static boolean Conversions.isSubtypeOf(JavaType subject, JavaType target)
          True if subject is a subtype of target.
static boolean Conversions.isSubtypeOfImpl(JavaType subject, JavaType target)
          subject and target are both assumed to not be primitive types or array types.
static Annotations.AnnotationValueGetter<java.lang.Long> Annotations.longGetter(JavaType type, java.lang.String elementName)
           
 void BindingContext.setContext(JavaIsGeneric sourceContext, JavaType targetContext)
           
 void BindingContext.setTargetContext(JavaType targetContext)
           
static Annotations.AnnotationValueGetter<java.lang.Short> Annotations.shortGetter(JavaType type, java.lang.String elementName)
           
static Annotations.AnnotationValueGetter<java.lang.String> Annotations.stringGetter(JavaType type, java.lang.String elementName)
           
 void Usages.useTypeInAnnotation(SourceAnnotation s, JavaType type)
          Usage of a type in an annotation.
 void Usages.useTypeInClassExtends(SourceTypeReference s, JavaType type)
          Usage of a type as a proper supertype.
 void Usages.useTypeInCreator(SourceTypeReference s, JavaType type)
          Usage of a type in a creator expression.
 void Usages.useTypeInDocComment(SourceDocReference s, JavaType type)
          Usage of a type in a doc comment.
 void Usages.useTypeInExpression(SourceExpression s, JavaType type)
          Usage of a type in an expression that is not covered in any other category.
 void Usages.useTypeInFieldDecl(SourceTypeReference s, JavaType type)
          Usage of a type in a field declaration.
 void Usages.useTypeInInstanceof(SourceTypeReference s, JavaType type)
          Usage of a type in a field declaration.
 void Usages.useTypeInLocalVariableDecl(SourceTypeReference s, JavaType type)
          Usage of a type for a local variable.
 void Usages.useTypeInMiscellaneous(SourceTypeReference s, JavaType type)
          Usage of a type that doesn't fall into any other category.
 void Usages.useTypeInNarrowImport(SourceImport s, JavaType type)
          Usage of a type in a narrow import.
 void Usages.useTypeInParameter(SourceTypeReference s, JavaType type)
          Usage of a type as the type of a formal parameter.
 void Usages.useTypeInReturnType(SourceTypeReference s, JavaType type)
          Usage of a type as a return type of a method.
 void Usages.useTypeInThrows(SourceTypeReference s, JavaType type)
          Usage of a type as a declared exception for a method or constructor.
 void Usages.useTypeInTypecast(SourceTypeReference s, JavaType type)
          Usage of a type in a typecast expression.

 

Constructors in oracle.javatools.parser.java.v2.util with parameters of type JavaType
BindingContext(JavaProvider provider, JavaIsGeneric sourceContext, JavaType targetContext)
           
BindingContext(JavaProvider provider, JavaType targetContext)
           

 

Uses of JavaType in oracle.javatools.parser.java.v2.util.filter

 

Methods in oracle.javatools.parser.java.v2.util.filter that return JavaType
 JavaType AssignableFilter.getTarget()
          Get the target type.

 

Constructors in oracle.javatools.parser.java.v2.util.filter with parameters of type JavaType
AssignableFilter(JavaType target)
          Accepts elements whose type may be assigned to the target.
AssignableFilter(JavaType target, int require)
          Accepts elements whose type may be assigned to the target.

 

Uses of JavaType in oracle.jdeveloper.audit.java

 

Methods in oracle.jdeveloper.audit.java with parameters of type JavaType
 void JavaTransformContext.ensureImport(JavaType type)
          Ensures that a type is imported by the SourceFile enclosing the location of this context.

 

Uses of JavaType in oracle.jdeveloper.cmt

 

Fields in oracle.jdeveloper.cmt declared as JavaType
static JavaType[] CmtComponentSource.INIT_METHOD_PARAMS
          GUI initialization method argument signatures.

 

Methods in oracle.jdeveloper.cmt that return JavaType
 JavaType CmtProperty.getType()
           

 

Methods in oracle.jdeveloper.cmt with parameters of type JavaType
 CmtMethod CmtComponent.getMethod(java.lang.String name, JavaType[] types)
           
 java.lang.Object CmtValue.getValue(JavaType type)
          Attempts to evaluate the expression to a live value.
 void CmtPropertySource.setType(JavaType type)
           

 

Uses of JavaType in oracle.jdeveloper.java

 

Methods in oracle.jdeveloper.java that return JavaType
 JavaType JavaModel.getArrayType(JavaType javaType, int dimensions)
          Fetch the JavaType instance that will represent the given type and array dimensions.

 

Methods in oracle.jdeveloper.java with parameters of type JavaType
 JavaType JavaModel.getArrayType(JavaType javaType, int dimensions)
          Fetch the JavaType instance that will represent the given type and array dimensions.

 

Uses of JavaType in oracle.jdeveloper.java.provider

 

Classes in oracle.jdeveloper.java.provider that implement JavaType
protected  class BaseFileProvider.BaseClass
          Our ClCass implementation to override handling of inner class searching and source file hints for SourceClass searching.

 

Fields in oracle.jdeveloper.java.provider with type parameters of type JavaType
protected  java.util.Map<java.lang.String,JavaType> CachedFileProvider._arrayCacheMap
          Our cache of array types.

 

Methods in oracle.jdeveloper.java.provider that return JavaType
 JavaType BaseFileProvider.getArrayType(JavaType component, int dimensions)
           
protected  JavaType BaseFileProvider.getArrayTypeImpl(java.lang.String typeKey, JavaType component, int dimensions)
          Fetch the array type represented by the given type and dimensions.
protected  JavaType CachedFileProvider.getArrayTypeImpl(java.lang.String typeKey, JavaType component, int dimensions)
          Fetch the array type represented by the given type and dimensions.

 

Methods in oracle.jdeveloper.java.provider with parameters of type JavaType
 JavaType BaseFileProvider.getArrayType(JavaType component, int dimensions)
           
protected  JavaType BaseFileProvider.getArrayTypeImpl(java.lang.String typeKey, JavaType component, int dimensions)
          Fetch the array type represented by the given type and dimensions.
protected  JavaType CachedFileProvider.getArrayTypeImpl(java.lang.String typeKey, JavaType component, int dimensions)
          Fetch the array type represented by the given type and dimensions.

 

Uses of JavaType in oracle.jdeveloper.java.util

 

Methods in oracle.jdeveloper.java.util that return JavaType
static JavaType SourceUtils.getType(JavaProvider provider, java.lang.String type)
          Fetch a JavaType instance for the given type.

 

Uses of JavaType in oracle.jdeveloper.webapp.faces.backingfile

 

Methods in oracle.jdeveloper.webapp.faces.backingfile with parameters of type JavaType
 void GetUniquePropertyNameCache.declareMethod(java.lang.String methodName, JavaType[] parameterTypes)
           
 boolean GetUniquePropertyNameCache.isMethodDeclare(java.lang.String methodName, JavaType[] parameterTypes)
           

 


Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


Copyright © 1997, 2011, Oracle. All rights reserved.