Examples of BaseTypeBinding


Examples of org.aspectj.org.eclipse.jdt.internal.compiler.lookup.BaseTypeBinding

        buffer.append(brackets);
        return String.valueOf(buffer);

      default :
        if (isPrimitive() || isNullType()) {
          BaseTypeBinding baseTypeBinding = (BaseTypeBinding) this.binding;
          return new String(baseTypeBinding.simpleName);
        }
        if (isAnonymous()) {
          return NO_NAME;
        }
View Full Code Here

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.lookup.BaseTypeBinding

      default :
        if (isAnonymous() || isLocal()) {
          return NO_NAME;
        }
        if (isPrimitive() || isNullType()) {
          BaseTypeBinding baseTypeBinding = (BaseTypeBinding) this.binding;
          return new String(baseTypeBinding.simpleName);
        }
        if (isMember()) {
          buffer = new StringBuffer();
          buffer
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.lookup.BaseTypeBinding

    JNode cached = crossRefMap.get(binding);
    if (cached != null) {
      // Already seen this one.
      return cached;
    } else if (binding instanceof BaseTypeBinding) {
      BaseTypeBinding baseTypeBinding = (BaseTypeBinding) binding;
      // see org.eclipse.jdt.internal.compiler.lookup.TypeIds constants
      switch (baseTypeBinding.id) {
        case TypeIds.T_JavaLangObject:
          // here for consistency, should already be cached
          return program.getTypeJavaLangObject();
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.lookup.BaseTypeBinding

     * Check whether the argument type is the <code>long</code> primitive type.
     * If the argument is <code>null</code>, returns <code>false</code>.
     */
    private boolean containsLong(TypeBinding type) {
      if (type instanceof BaseTypeBinding) {
        BaseTypeBinding btb = (BaseTypeBinding) type;
        if (btb.id == TypeIds.T_long) {
          return true;
        }
      }

View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.lookup.BaseTypeBinding

   * Check whether the argument type is the <code>long</code> primitive type.
   * If the argument is <code>null</code>, returns <code>false</code>.
   */
  private boolean containsLong(TypeBinding type) {
    if (type instanceof BaseTypeBinding) {
      BaseTypeBinding btb = (BaseTypeBinding) type;
      if (btb.id == TypeIds.T_long) {
        return true;
      }
    }

View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.lookup.BaseTypeBinding

     * Check whether the argument type is the <code>long</code> primitive
     * type. If the argument is <code>null</code>, returns <code>false</code>.
     */
    private boolean containsLong(TypeBinding type) {
      if (type instanceof BaseTypeBinding) {
        BaseTypeBinding btb = (BaseTypeBinding) type;
        if (btb.id == TypeIds.T_long) {
          return true;
        }
      }

View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.lookup.BaseTypeBinding

    JNode cached = crossRefMap.get(binding);
    if (cached != null) {
      // Already seen this one.
      return cached;
    } else if (binding instanceof BaseTypeBinding) {
      BaseTypeBinding baseTypeBinding = (BaseTypeBinding) binding;
      // see org.eclipse.jdt.internal.compiler.lookup.TypeIds constants
      switch (baseTypeBinding.id) {
        case TypeIds.T_undefined:
          return null;
        case TypeIds.T_JavaLangObject:
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.lookup.BaseTypeBinding

     * Check whether the argument type is the <code>long</code> primitive
     * type. If the argument is <code>null</code>, returns <code>false</code>.
     */
    private boolean containsLong(TypeBinding type) {
      if (type instanceof BaseTypeBinding) {
        BaseTypeBinding btb = (BaseTypeBinding) type;
        if (btb.id == TypeIds.T_long) {
          return true;
        }
      }

View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.lookup.BaseTypeBinding

   * Check whether the argument type is the <code>long</code> primitive type.
   * If the argument is <code>null</code>, returns <code>false</code>.
   */
  private boolean containsLong(TypeBinding type) {
    if (type instanceof BaseTypeBinding) {
      BaseTypeBinding btb = (BaseTypeBinding) type;
      if (btb.id == TypeIds.T_long) {
        return true;
      }
    }

View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.lookup.BaseTypeBinding

    }

    private JExpression box(JExpression original, int implicitConversion) {
      int typeId = (implicitConversion & TypeIds.IMPLICIT_CONVERSION_MASK) >> 4;
      ClassScope scope = curClass.scope;
      BaseTypeBinding primitiveType = (BaseTypeBinding) TypeBinding.wellKnownType(scope, typeId);
      ReferenceBinding boxType = (ReferenceBinding) scope.boxing(primitiveType);
      MethodBinding valueOfMethod =
          boxType.getExactMethod(VALUE_OF, new TypeBinding[]{primitiveType}, scope
              .compilationUnitScope());
      assert valueOfMethod != null;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.