Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse JDT
Release 3.5

Uses of Class
org.eclipse.jdt.core.dom.Type

Packages that use Type
org.eclipse.jdt.core.dom The Java DOM/AST is the set of classes that model the source code of a Java program as a structured document. 
org.eclipse.jdt.core.dom.rewrite The Java DOM/AST rewrite is the set of classes that are used to make changes to an existing DOM/AST tree. 
 

Uses of Type in org.eclipse.jdt.core.dom
 

Subclasses of Type in org.eclipse.jdt.core.dom
 class ArrayType
          Type node for an array type.
 class ParameterizedType
          Type node for a parameterized type (added in JLS3 API).
 class PrimitiveType
          Primitive type nodes.
 class QualifiedType
          Type node for a qualified type (added in JLS3 API).
 class SimpleType
          Type node for a named class type, a named interface type, or a type variable.
 class WildcardType
          Type node for a wildcard type (added in JLS3 API).
 

Methods in org.eclipse.jdt.core.dom that return Type
  Type WildcardType. getBound ()
          Returns the bound of this wildcard type if it has one.
  Type ArrayType. getComponentType ()
          Returns the component type of this array type.
  Type ArrayType. getElementType ()
          Returns the element type of this array type.
  Type QualifiedType. getQualifier ()
          Returns the qualifier of this qualified type.
  Type MethodDeclaration. getReturnType ()
          Deprecated. In the JLS3 API, this method is replaced by MethodDeclaration.getReturnType2(), which may return null.
  Type MethodDeclaration. getReturnType2 ()
          Returns the return type of the method declared in this method declaration, exclusive of any extra array dimensions (added in JLS3 API).
  Type InstanceofExpression. getRightOperand ()
          Returns the right operand of this instanceof expression.
  Type TypeDeclaration. getSuperclassType ()
          Returns the superclass declared in this type declaration, or null if there is none (added in JLS3 API).
  Type CastExpression. getType ()
          Returns the type in this cast expression.
  Type FieldDeclaration. getType ()
          Returns the base type declared in this field declaration.
  Type VariableDeclarationStatement. getType ()
          Returns the base type declared in this variable declaration statement.
  Type ClassInstanceCreation. getType ()
          Returns the type instantiated in this class instance creation expression (added in JLS3 API).
  Type AnnotationTypeMemberDeclaration. getType ()
          Returns the type of the annotation type member declared in this declaration.
  Type ParameterizedType. getType ()
          Returns the type of this parameterized type.
  Type TypeLiteral. getType ()
          Returns the type in this type literal expression.
  Type MethodRefParameter. getType ()
          Returns the paramter type.
  Type VariableDeclarationExpression. getType ()
          Returns the base type declared in this variable declaration.
  Type SingleVariableDeclaration. getType ()
          Returns the type of the variable declared in this variable declaration, exclusive of any extra array dimensions.
 

Methods in org.eclipse.jdt.core.dom with parameters of type Type
  ArrayType AST. newArrayType ( Type componentType)
          Creates and returns a new unparented array type node with the given component type, which may be another array type.
  ArrayType AST. newArrayType ( Type elementType, int dimensions)
          Creates and returns a new unparented array type node with the given element type and number of dimensions.
  ParameterizedType AST. newParameterizedType ( Type type)
          Creates and returns a new unparented parameterized type node with the given type and an empty list of type arguments.
  QualifiedType AST. newQualifiedType ( Type qualifier, SimpleName name)
          Creates and returns a new unparented qualified type node with the given qualifier type and name.
 void WildcardType. setBound ( Type type)
          Sets the bound of this wildcard type to the given type.
 void WildcardType. setBound ( Type type, boolean isUpperBound)
          Sets the bound of this wildcard type to the given type and marks it as an upper or a lower bound.
 void ArrayType. setComponentType ( Type componentType)
          Sets the component type of this array type.
 void QualifiedType. setQualifier ( Type type)
          Sets the qualifier of this qualified type to the given type.
 void MethodDeclaration. setReturnType ( Type type)
          Deprecated. In the JLS3 API, this method is replaced by MethodDeclaration.setReturnType2(Type), which accepts null.
 void MethodDeclaration. setReturnType2 ( Type type)
          Sets the return type of the method declared in this method declaration to the given type, exclusive of any extra array dimensions (added in JLS3 API).
 void InstanceofExpression. setRightOperand ( Type referenceType)
          Sets the right operand of this instanceof expression.
 void TypeDeclaration. setSuperclassType ( Type superclassType)
          Sets or clears the superclass declared in this type declaration (added in JLS3 API).
 void CastExpression. setType ( Type type)
          Sets the type in this cast expression to the given type.
 void FieldDeclaration. setType ( Type type)
          Sets the base type declared in this field declaration to the given type.
 void VariableDeclarationStatement. setType ( Type type)
          Sets the base type declared in this variable declaration statement to the given type.
 void ClassInstanceCreation. setType ( Type type)
          Sets the type instantiated in this class instance creation expression (added in JLS3 API).
 void AnnotationTypeMemberDeclaration. setType ( Type type)
          Sets the type of the annotation type member declared in this declaration to the given type.
 void ParameterizedType. setType ( Type type)
          Sets the type of this parameterized type.
 void TypeLiteral. setType ( Type type)
          Sets the type in this type literal expression to the given type.
 void MethodRefParameter. setType ( Type type)
          Sets the paramter type to the given type.
 void VariableDeclarationExpression. setType ( Type type)
          Sets the base type declared in this variable declaration to the given type.
 void SingleVariableDeclaration. setType ( Type type)
          Sets the type of the variable declared in this variable declaration to the given type, exclusive of any extra array dimensions.
 

Uses of Type in org.eclipse.jdt.core.dom.rewrite
 

Methods in org.eclipse.jdt.core.dom.rewrite that return Type
  Type ImportRewrite. addImport ( ITypeBinding binding, AST ast)
          Adds a new import to the rewriter's record and returns a Type that can be used in the code.
  Type ImportRewrite. addImport ( ITypeBinding binding, AST ast, ImportRewrite.ImportRewriteContext context)
          Adds a new import to the rewriter's record and returns a Type that can be used in the code.
  Type ImportRewrite. addImportFromSignature ( String typeSig, AST ast)
          Adds a new import to the rewriter's record and returns a Type node that can be used in the code as a reference to the type.
  Type ImportRewrite. addImportFromSignature ( String typeSig, AST ast, ImportRewrite.ImportRewriteContext context)
          Adds a new import to the rewriter's record and returns a Type node that can be used in the code as a reference to the type.
 


Eclipse JDT
Release 3.5

Copyright (c) IBM Corp. and others 2000, 2008. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire