125 public final Type stringBufferType; |
125 public final Type stringBufferType; |
126 public final Type stringBuilderType; |
126 public final Type stringBuilderType; |
127 public final Type cloneableType; |
127 public final Type cloneableType; |
128 public final Type serializableType; |
128 public final Type serializableType; |
129 public final Type methodHandleType; |
129 public final Type methodHandleType; |
|
130 public final Type methodHandleLookupType; |
130 public final Type methodTypeType; |
131 public final Type methodTypeType; |
131 public final Type nativeHeaderType; |
132 public final Type nativeHeaderType; |
132 public final Type throwableType; |
133 public final Type throwableType; |
133 public final Type errorType; |
134 public final Type errorType; |
134 public final Type interruptedExceptionType; |
135 public final Type interruptedExceptionType; |
156 public final Type inheritedType; |
157 public final Type inheritedType; |
157 public final Type proprietaryType; |
158 public final Type proprietaryType; |
158 public final Type systemType; |
159 public final Type systemType; |
159 public final Type autoCloseableType; |
160 public final Type autoCloseableType; |
160 public final Type trustMeType; |
161 public final Type trustMeType; |
|
162 public final Type lambdaMetafactory; |
161 public final Type containedByType; |
163 public final Type containedByType; |
162 public final Type containerForType; |
164 public final Type containerForType; |
163 public final Type documentedType; |
165 public final Type documentedType; |
164 public final Type elementTypeType; |
166 public final Type elementTypeType; |
165 |
167 |
454 stringBuilderType = enterClass("java.lang.StringBuilder"); |
456 stringBuilderType = enterClass("java.lang.StringBuilder"); |
455 cloneableType = enterClass("java.lang.Cloneable"); |
457 cloneableType = enterClass("java.lang.Cloneable"); |
456 throwableType = enterClass("java.lang.Throwable"); |
458 throwableType = enterClass("java.lang.Throwable"); |
457 serializableType = enterClass("java.io.Serializable"); |
459 serializableType = enterClass("java.io.Serializable"); |
458 methodHandleType = enterClass("java.lang.invoke.MethodHandle"); |
460 methodHandleType = enterClass("java.lang.invoke.MethodHandle"); |
|
461 methodHandleLookupType = enterClass("java.lang.invoke.MethodHandles$Lookup"); |
459 methodTypeType = enterClass("java.lang.invoke.MethodType"); |
462 methodTypeType = enterClass("java.lang.invoke.MethodType"); |
460 errorType = enterClass("java.lang.Error"); |
463 errorType = enterClass("java.lang.Error"); |
461 illegalArgumentExceptionType = enterClass("java.lang.IllegalArgumentException"); |
464 illegalArgumentExceptionType = enterClass("java.lang.IllegalArgumentException"); |
462 interruptedExceptionType = enterClass("java.lang.InterruptedException"); |
465 interruptedExceptionType = enterClass("java.lang.InterruptedException"); |
463 exceptionType = enterClass("java.lang.Exception"); |
466 exceptionType = enterClass("java.lang.Exception"); |
501 new MethodType(List.<Type>nil(), voidType, |
504 new MethodType(List.<Type>nil(), voidType, |
502 List.of(exceptionType), methodClass), |
505 List.of(exceptionType), methodClass), |
503 autoCloseableType.tsym); |
506 autoCloseableType.tsym); |
504 trustMeType = enterClass("java.lang.SafeVarargs"); |
507 trustMeType = enterClass("java.lang.SafeVarargs"); |
505 nativeHeaderType = enterClass("javax.tools.annotation.GenerateNativeHeader"); |
508 nativeHeaderType = enterClass("javax.tools.annotation.GenerateNativeHeader"); |
|
509 lambdaMetafactory = enterClass("java.lang.invoke.LambdaMetafactory"); |
506 |
510 |
507 synthesizeEmptyInterfaceIfMissing(autoCloseableType); |
511 synthesizeEmptyInterfaceIfMissing(autoCloseableType); |
508 synthesizeEmptyInterfaceIfMissing(cloneableType); |
512 synthesizeEmptyInterfaceIfMissing(cloneableType); |
509 synthesizeEmptyInterfaceIfMissing(serializableType); |
513 synthesizeEmptyInterfaceIfMissing(serializableType); |
|
514 synthesizeEmptyInterfaceIfMissing(lambdaMetafactory); |
510 synthesizeBoxTypeIfMissing(doubleType); |
515 synthesizeBoxTypeIfMissing(doubleType); |
511 synthesizeBoxTypeIfMissing(floatType); |
516 synthesizeBoxTypeIfMissing(floatType); |
512 synthesizeBoxTypeIfMissing(voidType); |
517 synthesizeBoxTypeIfMissing(voidType); |
513 |
518 |
514 // Enter a synthetic class that is used to mark internal |
519 // Enter a synthetic class that is used to mark internal |