Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2000, 2012 IBM Corporation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html Contributors: IBM Corporation - initial API and implementation Stephan Herrmann - Contributions for bug 186342 - [compiler][null] Using annotations for null checking bug 388281 - [compiler][null] inheritance of null annotations as an option /
 
 package org.eclipse.jdt.internal.compiler.lookup;
 
 
 public interface TagBits {
 
 	// Tag bits in the tagBits int of every TypeBinding
 	long IsArrayType = .;
 	long IsBaseType = .;
 	long ContainsNestedTypeReferences = .// method/parameterized type binding
 	long IsLocalType = .;
 
 	// set for all bindings either representing a missing type (type), or directly referencing a missing type (field/method/variable)
 
 	// for method
 	
 	// local variable
 	
 	// local variable
 
 	// set when method has argument(s) that couldn't be resolved
 	
 	// for the type cycle hierarchy check used by ClassScope
 	long BeginHierarchyCheck = .;  // type
 	long EndHierarchyCheck = .// type
 	long PauseHierarchyCheck = .// type
 	long HasParameterAnnotations = .// method/constructor
 
 
 	// test bit to see if default abstract methods were computed
 
 	long IsArgument = .// local
 	long ClearPrivateModifier = .// constructor binding
 	
 	// for java 7
 	long IsEffectivelyFinal = .// local
 	long MultiCatchParameter = .// local
 	long IsResource = .// local
 
 	// have implicit null annotations been collected (inherited(?) & default)?
 	long IsNullnessKnown = .// method
 
 	// test bits to see if parts of binary types are faulted
 	long AreFieldsComplete = .// sorted and all resolved
 	long AreMethodsComplete = .// sorted and all resolved
 
 	// test bit to avoid asking a type for a member type (includes inherited member types)
 
 	// test bit to identify if the type's hierarchy is inconsistent
 
 	// test bit to identify if the type's type variables have been connected
 
 	// set for parameterized type with successful bound check
 
 	// set for parameterized type NOT of the form X<?,?>
 
 	// used by BinaryTypeBinding
 
 	long HasTypeVariable = .// set either for type variables (direct) or parameterized types indirectly referencing type variables
 	long HasDirectWildcard = .// set for parameterized types directly referencing wildcards
 
	// for the annotation cycle hierarchy check used by ClassScope
	// standard annotations
	// 9-bits for targets
	long AnnotationTarget = .// @Target({}) only sets this bit
	// 2-bits for retention (should check (tagBits & RetentionMask) == RuntimeRetention
	// marker annotations

Since:
3.7 - java 7 safe vargs invocation

Since:
3.7 - java 7 MethodHandle.invokeExact(..)/invokeGeneric(..

Since:
3.8 null annotation for MethodBinding or LocalVariableBinding (argument):

Since:
3.8 null annotation for MethodBinding or LocalVariableBinding (argument):

Since:
3.8 null-default annotation for PackageBinding or TypeBinding or MethodBinding:

Since:
3.8 canceling null-default annotation for PackageBinding or TypeBinding or MethodBinding:
	// set when type contains non-private constructor(s)
New to GrepCode? Check out our FAQ X