Codota Logo
TypeEnvironment.createPrimitiveType
Code IndexAdd Codota to your IDE (free)

How to use
createPrimitiveType
method
in
org.eclipse.jdt.internal.corext.refactoring.typeconstraints.types.TypeEnvironment

Best Java code snippets using org.eclipse.jdt.internal.corext.refactoring.typeconstraints.types.TypeEnvironment.createPrimitiveType (Showing top 3 results out of 315)

  • Common ways to obtain TypeEnvironment
private void myMethod () {
TypeEnvironment t =
  • Codota Iconnew TypeEnvironment()
  • Codota Iconnew TypeEnvironment(true)
  • Codota IconHierarchyType hierarchyType;hierarchyType.getEnvironment()
  • Smart code suggestions by Codota
}
origin: org.eclipse/org.eclipse.jdt.ui

public TType create(ITypeBinding binding) {
  if (binding.isPrimitive()) {
    return createPrimitiveType(binding);
  } else if (binding.isArray()) {
    return createArrayType(binding);
  } else if (binding.isRawType()) {
    return createRawType(binding);
  } else if (binding.isGenericType()) {
    return createGenericType(binding);
  } else if (binding.isParameterizedType()) {
    return createParameterizedType(binding);
  } else if (binding.isTypeVariable()) {
    return createTypeVariable(binding);
  } else if (binding.isWildcardType()) {
    if (binding.getBound() == null) {
      return createUnboundWildcardType(binding);
    } else if (binding.isUpperbound()) {
      return createExtendsWildCardType(binding);
    } else {
      return createSuperWildCardType(binding);
    }
  } else if (binding.isCapture()) {
    return createCaptureType(binding);
  }
  if ("null".equals(binding.getName())) //$NON-NLS-1$
    return NULL;
  return createStandardType(binding);
}

origin: org.eclipse.jdt/org.eclipse.jdt.core.manipulation

public TType create(ITypeBinding binding) {
  if (binding.isPrimitive()) {
    return createPrimitiveType(binding);
  } else if (binding.isArray()) {
    return createArrayType(binding);
origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.ui

public TType create(ITypeBinding binding) {
  if (binding.isPrimitive()) {
    return createPrimitiveType(binding);
  } else if (binding.isArray()) {
    return createArrayType(binding);
org.eclipse.jdt.internal.corext.refactoring.typeconstraints.typesTypeEnvironmentcreatePrimitiveType

Popular methods of TypeEnvironment

  • <init>
  • create
  • createArrayType
  • getJavaLangObject
    Returns the TType for java.lang.Object. Warning: currently returns null unless this type environment
  • initializeJavaLangObject
  • cacheSubType
  • cacheSubTypes
  • createBoxed
  • createCaptureType
  • createExtendsWildCardType
  • createGenericType
  • createParameterizedType
  • createGenericType,
  • createParameterizedType,
  • createRawType,
  • createStandardType,
  • createSuperWildCardType,
  • createTypeVariable,
  • createUnBoxed,
  • createUnboundWildcardType,
  • getArrayTypesMap

Popular in Java

  • Parsing JSON documents to java classes using gson
  • setScale (BigDecimal)
  • runOnUiThread (Activity)
  • onRequestPermissionsResult (Fragment)
  • BufferedInputStream (java.io)
    Wraps an existing InputStream and buffers the input. Expensive interaction with the underlying input
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • StringTokenizer (java.util)
    The string tokenizer class allows an application to break a string into tokens. The tokenization met
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.This exception may include information for locating the er
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now