/openjdk7/langtools/test/tools/javac/generics/odersky/ |
H A D | Test.java | 35 static <B> List<B> nil() { return new List<B>(); } method in class:Test 41 List<String> xs = nil(); 42 List<String> ys = cons("abc", Test.<String>nil()); 43 List<String> zs = Test.<String>nil().prepend("abc"); 45 System.out.println(nil()); 46 System.out.println(nil().length()); 48 System.out.println(cons("abc", nil())); 49 System.out.println(nil().prepend("abc")); 50 System.out.println(nil().prepend(makeCell(null))); 51 System.out.println(cons(makeCell(null), nil())); [all...] |
H A D | Test2.java | 36 static <B extends Ord> List<B> nil() { return new List<B>(); } method in class:Test2 43 List<Ord> xs = nil(); 44 List<Ord> zs = nil().prependList(nil()); 46 System.out.println(nil()); 47 System.out.println(nil().length()); 49 List<Ord> a = args.length == 1 ? nil() : nil(); 50 a = (List<Ord>) nil();
|
H A D | BadTest.java | 36 static <B> List<B> nil() { return new List<B>(); } method in class:BadTest.Main 42 List<Cell<String>> as = nil().prepend(makeCell(null)); 43 List<Cell<String>> bs = cons(makeCell(null), nil()); 44 List<String> xs = id(nil()); 45 List<String> ys = cons("abc", id(nil())); 46 List<String> zs = id(nil()).prepend("abc"); 47 List<Cell<String>> us = id(nil()).prepend(makeCell(null)); 48 List<Cell<String>> vs = cons(makeCell(null), id(nil())); 49 System.out.println(nil() instanceof List<String>); 50 nil(); [all...] |
H A D | BadTest3.java | 47 static <B extends Ord> List<B> nil() { return new List<B>(); } method in class:BadTest3.Main 55 List<String> xs = nil(); 57 f(nil()); 59 J j = f(nil());
|
H A D | BadTest4.java | 47 static <B> List<B> nil() { return new List<B>(); } method in class:BadTest4.Main 61 f(cons("abc", nil()), nil()); 62 f(nil(), cons("abc", nil()));
|
H A D | Test4.java | 44 static <B> List<B> nil() { return new List<B>(); } method in class:Test4 57 String xy = g(cons("abc", Test4.<String>nil()), Test4.<String>nil()); 58 System.out.println(g(cons("abc", nil()), nil()));
|
/openjdk7/langtools/test/tools/javac/generics/inference/5003431/ |
H A D | T5003431.java | 34 static <T> T nil() { return (new SomeType<T>()).t; } method in class:T5003431 37 nil().getClass();
|
/openjdk7/langtools/test/tools/javac/enum/ |
H A D | OkFinal.java | 33 protected void finalize(Void nil) {
|
/openjdk7/jdk/src/macosx/native/apple/applescript/ |
H A D | AppleScriptExecutionContext.m | 46 self.returnValue = nil; 47 self.error = nil; 65 self.source = nil; 66 self.context = nil; 67 self.returnValue = nil; 68 self.error = nil; 75 NSDictionary *err = nil; 77 if (err != nil) self.error = err; 87 if (function == nil) return nil; [all...] |
H A D | NS_Java_ConversionUtils.m | 46 static JNFTypeCoercer *appleScriptCoercer = nil; 53 [asSpecificCoercions addCoercion:[[[JavaAppleScriptVersionConverter alloc] init] autorelease] forNSClass:[NSAppleEventDescriptor class] javaClass:nil]; 54 [asSpecificCoercions addCoercion:[[[JavaAppleScriptNullConverter alloc] init] autorelease] forNSClass:[NSNull class] javaClass:nil]; 128 return nil; // there is no Java object that represents a "version" 142 return nil;
|
/openjdk7/jdk/src/macosx/native/sun/awt/ |
H A D | CPopupMenu.m | 40 if (self == nil) { 61 __block CPopupMenu *aCPopupMenu = nil; 88 [[cPopupMenu menu] popUpMenuPositioningItem: nil 90 inView: nil];
|
H A D | CDropTarget.m | 54 static NSArray* sPasteboardTypes = nil; 55 static NSArray* sPasteboardData = nil; 56 static jlongArray sDraggingFormats = nil; 73 fView = nil; 74 fComponent = nil; 75 fDropTarget = nil; 76 fDropTargetContextPeer = nil; 79 if (control != nil) { 92 self = nil; 123 nil]; [all...] |
H A D | ApplicationDelegate.m | 109 static ApplicationDelegate *sApplicationDelegate = nil; 112 if (sApplicationDelegate != nil) return sApplicationDelegate; 113 if (checked) return nil; 119 if (NSApp != nil) { 124 if (!shouldInstall) return nil; 135 if ([self.fPreferencesMenu menu] == nil) { 137 NSInteger index = ([self.fAboutMenu menu] != nil) ? 2 : 0; 148 [self.fPreferencesMenu setTarget:nil]; 149 [self.fPreferencesMenu setAction:nil]; 152 if ([self.fPreferencesMenu menu] == nil) retur [all...] |
H A D | JavaTextAccessibility.m | 53 static NSArray *attributes = nil; 55 if (attributes == nil) { 57 if (attributes == nil) { 69 nil]]; 81 static NSArray *attributes = nil; 83 if (attributes == nil) { 85 if (attributes == nil) { 96 nil]; 112 // value is still nil if no accessibleName for static text. Below, try to get the accessibleText. 117 if (axText == NULL) return nil; [all...] |
H A D | CFileDialog.m | 78 fDirectory = nil; 81 fFile = nil; 84 fTitle = nil; 87 fURLs = nil; 94 NSSavePanel *thePanel = nil; 103 if (thePanel != nil) { 120 [thePanel setDelegate:nil]; 152 NSNumber *isFile = nil; 153 if ([url getResourceValue:&isFile forKey:NSURLIsRegularFileKey error:nil]) { 211 withObject:nil [all...] |
H A D | CInputMethod.m | 87 static id inputMethodController = nil; 91 if (!checkedJRSInputMethodController && (inputMethodController == nil)) { 93 if (jrsInputMethodController != nil) { 124 if (view == nil) return; 161 if (keyboardInfo == nil) return NULL; 224 if (isoAbbreviation == nil) return NULL; 226 static NSString *sLastKeyboardStr = nil; 293 __block NSArray *selectableArray = nil; 301 if (selectableArray == nil) return NULL;
|
H A D | AWTSurfaceLayers.m | 38 if (self == nil) return self; 52 if (layer != nil || newLayer == nil) { 57 if (newLayer != nil) { 99 __block AWTSurfaceLayers *surfaceLayers = nil;
|
/openjdk7/jdk/src/macosx/native/sun/osxapp/ |
H A D | NSApplicationAWT.m | 38 static id <NSApplicationDelegate> applicationDelegate = nil; 39 static QueuingApplicationDelegate * qad = nil; 54 fApplicationName = nil; 56 seenDummyEventLock = nil; 68 fApplicationName = nil; 92 [NSBundle loadNibFile:defaultNibFile externalNameTable: [NSDictionary dictionaryWithObject:self forKey:@"NSOwner"] withZone:nil]; 154 if (fApplicationName == nil) { 159 if (fApplicationName == nil) { 175 // The dock name is nil for double-clickable Java apps (bundled and Web Start apps) 179 if (fApplicationName == nil) { [all...] |
H A D | QueuingApplicationDelegate.m | 50 static QueuingApplicationDelegate * qad = nil; 74 fHandlesDocumentTypes = [bundle objectForInfoDictionaryKey:@"CFBundleDocumentTypes"] != nil || [bundle _hasEAWTOverride:@"DocumentHandler"]; 75 fHandlesURLTypes = [bundle objectForInfoDictionaryKey:@"CFBundleURLTypes"] != nil || [bundle _hasEAWTOverride:@"URLHandler"]; 84 [ctr addObserver:self selector:@selector(_willFinishLaunching) name:NSApplicationWillFinishLaunchingNotification object:nil]; 85 [ctr addObserver:self selector:@selector(_systemWillPowerOff) name:NSWorkspaceWillPowerOffNotification object:nil]; 86 [ctr addObserver:self selector:@selector(_appDidActivate) name:NSApplicationDidBecomeActiveNotification object:nil]; 87 [ctr addObserver:self selector:@selector(_appDidDeactivate) name:NSApplicationDidResignActiveNotification object:nil]; 88 [ctr addObserver:self selector:@selector(_appDidHide) name:NSApplicationDidHideNotification object:nil]; 89 [ctr addObserver:self selector:@selector(_appDidUnhide) name:NSApplicationDidUnhideNotification object:nil]; 104 self.queue = nil; [all...] |
/openjdk7/jdk/src/macosx/native/com/apple/laf/ |
H A D | AquaNativeResources.m | 41 NSColor* color = nil;
|
/openjdk7/jdk/src/macosx/bundle/appbundler/native/ |
H A D | main.m | 84 if (javaVMDictionary == nil) { 97 if (mainClassName == nil) { 106 NSArray *javaDirectoryContents = [defaultFileManager contentsOfDirectoryAtPath:javaVMPath error:nil]; 107 if (javaDirectoryContents == nil) { 123 if (options == nil) { 129 if (arguments == nil) { 144 NSError *bundleLoadError = nil; 146 if (bundleLoadError != nil || !runtimeBundleLoaded) {
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/impl/ |
H A D | ERPropertyInfoImpl.java | 46 boolean nil = false; 59 nil = e.nillable(); 65 wrapperNillable = nil;
|
/openjdk7/jaxws/src/share/jaxws_classes/javax/xml/bind/ |
H A D | JAXBElement.java | 42 * <li>boolean <b><tt>nil</tt></b> property. (element instance's <tt><b>xsi:nil</b></tt> attribute)</li> 54 * then <tt>nil</tt> must be <tt>true</tt>. The converse is not true to enable 55 * representing a nil element with attribute(s). If <tt>nil</tt> is true, it is possible 57 * associated with a nil element. 85 /** true iff the xml element instance has xsi:nil="true". */ 86 protected boolean nil = false; field in class:JAXBElement 176 * is nil.</p> 181 * valid for a nil xm [all...] |
/openjdk7/jdk/src/macosx/bundle/JavaAppLauncher/src/ |
H A D | JVMArgs.m | 64 self.jreBundle = nil; 67 self.appInfo = nil; 68 self.jvmInfo = nil; 70 self.userHome = nil; 71 self.appPackage = nil; 72 self.javaRoot = nil; 97 if (obj == nil) return nil; 127 if (jvmInfoArgs != nil) { 160 if (JVMLib != nil) sel [all...] |
/openjdk7/jdk/src/macosx/native/sun/font/ |
H A D | AWTFont.m | 55 fFont = nil; 80 if (nsFont == nil) { 104 NSLog(@"nil font"); 106 return nil; 116 NSLog(@"nil font2d"); 118 return nil; 128 return nil; 139 return nil; 146 NSLog(@"nil nativeFontPtr from CFont"); 148 return nil; [all...] |