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

How to use
getJavaLangObject
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.getJavaLangObject (Showing top 18 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 getJavaLangObject() {
  return fTypeEnvironment.getJavaLangObject();
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.ui

public TType getJavaLangObject() {
  return fTypeEnvironment.getJavaLangObject();
}
origin: org.eclipse.jdt/org.eclipse.jdt.ui

public TType getJavaLangObject() {
  return fTypeEnvironment.getJavaLangObject();
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.ui

@Override
public TType getErasure() {
  return getEnvironment().getJavaLangObject();
}
origin: org.eclipse.jdt/org.eclipse.jdt.core.manipulation

@Override
public TType getErasure() {
  return getEnvironment().getJavaLangObject();
}
origin: org.eclipse.jdt/org.eclipse.jdt.core.manipulation

@Override
public TType getErasure() {
  return getEnvironment().getJavaLangObject();
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.ui

@Override
public TType getErasure() {
  return getEnvironment().getJavaLangObject();
}
origin: org.eclipse/org.eclipse.jdt.ui

public TType getErasure() {
  return getEnvironment().getJavaLangObject();
}

origin: org.eclipse/org.eclipse.jdt.ui

public TType getErasure() {
  return getEnvironment().getJavaLangObject();
}

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

@Override
public TType getErasure() {
  if (fBounds.length == 0)
    return getEnvironment().getJavaLangObject();
  return fBounds[0].getErasure();
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.ui

@Override
public TType getErasure() {
  if (fBounds.length == 0)
    return getEnvironment().getJavaLangObject();
  return fBounds[0].getErasure();
}
origin: org.eclipse/org.eclipse.jdt.ui

public TType getErasure() {
  if (fBounds.length == 0)
    return getEnvironment().getJavaLangObject();
  return fBounds[0].getErasure();
}

origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.ui

private void pushSupertypes(TType type) {
  if (type.isJavaLangObject())
    return;
  if (type.isTypeVariable() || type.isCaptureType()) {
    TType[] bounds= ((AbstractTypeVariable) type).getBounds();
    for (int i= 0; i < bounds.length; i++)
      fWorklist.push(bounds[i].getTypeDeclaration());
  } else {
    TType superclass= type.getSuperclass();
    if (superclass == null) {
      if (type.isInterface())
        fWorklist.push(type.getEnvironment().getJavaLangObject());
    } else {
      fWorklist.push(superclass.getTypeDeclaration());
    }
    TType[] interfaces= type.getInterfaces();
    for (int i= 0; i < interfaces.length; i++)
      fWorklist.push(interfaces[i].getTypeDeclaration());
  }
}
origin: org.eclipse/org.eclipse.jdt.ui

private void pushSupertypes(TType type) {
  if (type.isJavaLangObject())
    return;
  
  if (type.isTypeVariable() || type.isCaptureType()) {
    TType[] bounds= ((AbstractTypeVariable) type).getBounds();
    for (int i= 0; i < bounds.length; i++)
      fWorklist.push(bounds[i].getTypeDeclaration());
  
  } else {
    TType superclass= type.getSuperclass();
    if (superclass == null) {
      if (type.isInterface())
        fWorklist.push(type.getEnvironment().getJavaLangObject());
    } else {
      fWorklist.push(superclass.getTypeDeclaration());
    }
    TType[] interfaces= type.getInterfaces();
    for (int i= 0; i < interfaces.length; i++)
      fWorklist.push(interfaces[i].getTypeDeclaration());
  }
}
origin: org.eclipse.jdt/org.eclipse.jdt.ui

private void pushSupertypes(TType type) {
  if (type.isJavaLangObject())
    return;
  if (type.isTypeVariable() || type.isCaptureType()) {
    TType[] bounds= ((AbstractTypeVariable) type).getBounds();
    for (int i= 0; i < bounds.length; i++)
      fWorklist.push(bounds[i].getTypeDeclaration());
  } else {
    TType superclass= type.getSuperclass();
    if (superclass == null) {
      if (type.isInterface())
        fWorklist.push(type.getEnvironment().getJavaLangObject());
    } else {
      fWorklist.push(superclass.getTypeDeclaration());
    }
    TType[] interfaces= type.getInterfaces();
    for (int i= 0; i < interfaces.length; i++)
      fWorklist.push(interfaces[i].getTypeDeclaration());
  }
}
origin: org.eclipse/org.eclipse.jdt.ui

protected void initialize(ITypeBinding binding) {
  super.initialize(binding);
  ITypeBinding[] bounds= binding.getTypeBounds();
  if (bounds.length == 0) {
    fBounds= EMPTY_TYPE_ARRAY;
    if (getEnvironment().getJavaLangObject() == null) {
      getEnvironment().initializeJavaLangObject(binding.getErasure());
    }
  } else {
    fBounds= new TType[bounds.length];
    for (int i= 0; i < bounds.length; i++) {
      fBounds[i]= getEnvironment().create(bounds[i]);
    }
  }
}

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

@Override
protected void initialize(ITypeBinding binding) {
  super.initialize(binding);
  ITypeBinding[] bounds= binding.getTypeBounds();
  if (bounds.length == 0) {
    fBounds= EMPTY_TYPE_ARRAY;
    if (getEnvironment().getJavaLangObject() == null) {
      getEnvironment().initializeJavaLangObject(binding.getErasure());
    }
  } else {
    fBounds= new TType[bounds.length];
    for (int i= 0; i < bounds.length; i++) {
      fBounds[i]= getEnvironment().create(bounds[i]);
    }
  }
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.ui

@Override
protected void initialize(ITypeBinding binding) {
  super.initialize(binding);
  ITypeBinding[] bounds= binding.getTypeBounds();
  if (bounds.length == 0) {
    fBounds= EMPTY_TYPE_ARRAY;
    if (getEnvironment().getJavaLangObject() == null) {
      getEnvironment().initializeJavaLangObject(binding.getErasure());
    }
  } else {
    fBounds= new TType[bounds.length];
    for (int i= 0; i < bounds.length; i++) {
      fBounds[i]= getEnvironment().create(bounds[i]);
    }
  }
}
org.eclipse.jdt.internal.corext.refactoring.typeconstraints.typesTypeEnvironmentgetJavaLangObject

Javadoc

Returns the TType for java.lang.Object.

Warning: currently returns null unless this type environment has already created its first hierarchy type or it has been initialized explicitly.

Popular methods of TypeEnvironment

  • <init>
  • create
  • createArrayType
  • initializeJavaLangObject
  • cacheSubType
  • cacheSubTypes
  • createBoxed
  • createCaptureType
  • createExtendsWildCardType
  • createGenericType
  • createParameterizedType
  • createPrimitiveType
  • createParameterizedType,
  • createPrimitiveType,
  • 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