| 
									
										
										
										
											2024-06-16 09:42:55 +03:00
										 |  |  | // VIM_TEST_SETUP setlocal nofoldenable
 | 
					
						
							|  |  |  | // VIM_TEST_SETUP let g:java_mark_braces_in_parens_as_errors = 1
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	@SuppressWarnings({
 | 
					
						
							|  |  |  | 	"""
 | 
					
						
							|  |  |  | 	bespoke
 | 
					
						
							|  |  |  | 	/*
 | 
					
						
							|  |  |  | 	 *
 | 
					
						
							|  |  |  | 	 */
 | 
					
						
							|  |  |  | 	/**
 | 
					
						
							|  |  |  | 	 *
 | 
					
						
							|  |  |  | 	 */
 | 
					
						
							|  |  |  | 	//
 | 
					
						
							|  |  |  | 	//
 | 
					
						
							|  |  |  | 	//
 | 
					
						
							|  |  |  | 	{
 | 
					
						
							|  |  |  | 	}
 | 
					
						
							|  |  |  | """
 | 
					
						
							|  |  |  | })
 | 
					
						
							|  |  |  | class UnfoldingTests {
 | 
					
						
							|  |  |  | 	interface Unfoldenable
 | 
					
						
							|  |  |  | 	{
 | 
					
						
							|  |  |  | 	}
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	static {
 | 
					
						
							|  |  |  | 		new Object() {
 | 
					
						
							|  |  |  | 			{
 | 
					
						
							|  |  |  | 				{
 | 
					
						
							|  |  |  | 					new Object() {{{
 | 
					
						
							|  |  |  | 						new Object() {{{}}};
 | 
					
						
							|  |  |  | 					}}};
 | 
					
						
							|  |  |  | 				}
 | 
					
						
							|  |  |  | 			}
 | 
					
						
							|  |  |  | 		};
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		switch (0) {
 | 
					
						
							|  |  |  | 			case 0:
 | 
					
						
							|  |  |  | 			case 1: {
 | 
					
						
							|  |  |  | 				break;
 | 
					
						
							|  |  |  | 			}
 | 
					
						
							|  |  |  | 			default: ;
 | 
					
						
							| 
									
										
										
										
											2024-07-24 20:15:15 +02:00
										 |  |  | 		}
 | 
					
						
							| 
									
										
										
										
											2024-06-16 09:42:55 +03:00
										 |  |  | 	}
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	{ Object bb = ((Object) new byte[]{}); }
 | 
					
						
							|  |  |  | 	{
 | 
					
						
							|  |  |  | out: {
 | 
					
						
							|  |  |  | 		do {
 | 
					
						
							|  |  |  | 			if (true)
 | 
					
						
							|  |  |  | 				break out;
 | 
					
						
							|  |  |  | 		} while (false);
 | 
					
						
							|  |  |  | }
 | 
					
						
							|  |  |  | 	}
 | 
					
						
							| 
									
										
										
										
											2024-06-19 20:10:47 +02:00
										 |  |  | /*\\\*/	{
 | 
					
						
							|  |  |  | 		(new java.util.function.Function<Object, Object>() {
 | 
					
						
							|  |  |  | 			/**
 | 
					
						
							|  |  |  | 			 * {@inheritDoc} */
 | 
					
						
							|  |  |  | 			public Object apply(Object o) { return o; };
 | 
					
						
							|  |  |  | 		}).apply(
 | 
					
						
							|  |  |  | 		(new java.util.function.Function<Object, Object>() {
 | 
					
						
							|  |  |  | 			/** {@inheritDoc}
 | 
					
						
							|  |  |  | 			 */
 | 
					
						
							|  |  |  | 			public Object apply(Object o) { return o; };
 | 
					
						
							|  |  |  | 		}));
 | 
					
						
							|  |  |  | 	}
 | 
					
						
							| 
									
										
										
										
											2024-06-16 09:42:55 +03:00
										 |  |  | 
 | 
					
						
							|  |  |  | 	/**
 | 
					
						
							|  |  |  | 	 * No operation.
 | 
					
						
							|  |  |  | 	 */
 | 
					
						
							|  |  |  | 	void noOp1() { }
 | 
					
						
							|  |  |  | 	/** No operation. */
 | 
					
						
							|  |  |  | 	void noOp2()
 | 
					
						
							|  |  |  | 	{
 | 
					
						
							|  |  |  | 	}
 | 
					
						
							|  |  |  | 	/** No operation. */
 | 
					
						
							|  |  |  | 	void noOp3() {
 | 
					
						
							|  |  |  | 	}
 | 
					
						
							|  |  |  | 	/** No operation. */
 | 
					
						
							|  |  |  | 	void noOp4() {
 | 
					
						
							|  |  |  | 	/*/\/\/\*/ ; }
 | 
					
						
							|  |  |  | }
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /*
 | 
					
						
							|  |  |  |  * Some note.
 | 
					
						
							|  |  |  |  * {
 | 
					
						
							|  |  |  |  * }
 | 
					
						
							|  |  |  |  */
 | 
					
						
							|  |  |  | /**
 | 
					
						
							|  |  |  |  * A summary.
 | 
					
						
							|  |  |  |  * {
 | 
					
						
							|  |  |  |  * }
 | 
					
						
							|  |  |  |  */
 | 
					
						
							|  |  |  | //
 | 
					
						
							|  |  |  | // {
 | 
					
						
							|  |  |  | // }
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /* 122|........................................................................................*/ interface Unfoldenable {
 | 
					
						
							|  |  |  | }
 |