/openjdk10/jdk/src/java.base/share/classes/java/net/ |
H A D | SocketOption.java | 37 * @param <T> The type of the socket option value. 54 * Returns the type of the socket option value. 56 * @return the type of the socket option value 58 Class<T> type(); method in interface:SocketOption
|
/openjdk10/jdk/test/java/beans/Introspector/ |
H A D | Test4144543.java | 37 Class type = Beans.instantiate(null, "Test4144543").getClass(); 41 Introspector.getBeanInfo(type); 42 new PropertyDescriptor("value", type); 43 new PropertyDescriptor("value", type, "getValue", "setValue"); 53 * The Introspector expects the return type of the getter method to 54 * match the parameter type of the setter method. So list the setter 55 * method which has a different type (but compatible) first so that
|
/openjdk10/langtools/src/java.compiler/share/classes/javax/lang/model/type/ |
H A D | WildcardType.java | 26 package javax.lang.model.type; 30 * Represents a wildcard type argument.
|
/openjdk10/langtools/test/tools/javac/annotations/typeAnnotations/referenceinfos/ |
H A D | TypeCasts.java | 29 * @summary Test population of reference info for type casts 36 @TADescription(annotation = "TA", type = CAST, offset = ReferenceInfoUtil.IGNORE_VALUE, 42 @TADescription(annotation = "TA", type = CAST, offset = ReferenceInfoUtil.IGNORE_VALUE, 44 @TADescription(annotation = "TB", type = CAST, 47 @TADescription(annotation = "TC", type = CAST, 54 @TADescription(annotation = "TA", type = CAST, offset = ReferenceInfoUtil.IGNORE_VALUE, 56 @TADescription(annotation = "TB", type = CAST, 63 @TADescription(annotation = "TA", type = CAST, offset = ReferenceInfoUtil.IGNORE_VALUE, 69 @TADescription(annotation = "TA", type = CAST, offset = ReferenceInfoUtil.IGNORE_VALUE, 71 @TADescription(annotation = "TB", type [all...] |
/openjdk10/nashorn/test/script/basic/ |
H A D | JDK-8043930.js | 31 var NonPublicClass = Java.type("jdk.nashorn.test.models.NonPublicClass");
|
H A D | JDK-8008448.js | 34 var File = Java.type("java.io.File"); 35 var FilenameFilter = Java.type("java.io.FilenameFilter"); 36 var SourceHelper = Java.type("jdk.nashorn.test.models.SourceHelper")
|
/openjdk10/nashorn/samples/engine/ |
H A D | hello.js | 35 var ScriptEngineManager = Java.type("javax.script.ScriptEngineManager");
|
/openjdk10/nashorn/samples/ |
H A D | uniq.js | 37 var BufferedReader = Java.type("java.io.BufferedReader"); 38 var FileReader = Java.type("java.io.FileReader"); 39 var InputStreamReader = Java.type("java.io.InputStreamReader"); 40 var System = Java.type("java.lang.System");
|
H A D | withcheck.js | 35 var Parser = Java.type("jdk.nashorn.api.tree.Parser");
|
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.nodes/src/org/graalvm/compiler/nodes/graphbuilderconf/ |
H A D | NodeIntrinsicPluginFactory.java | 25 import org.graalvm.compiler.core.common.type.Stamp; 31 <T> T getInjectedArgument(Class<T> type); argument 34 * Gets a stamp denoting a given type and non-nullness property. 36 * @param type the type the returned stamp represents 40 Stamp getInjectedStamp(Class<?> type, boolean nonNull); argument
|
/openjdk10/hotspot/src/share/vm/opto/ |
H A D | narrowptrnode.hpp | 34 EncodeNarrowPtrNode(Node* value, const Type* type): argument 35 TypeNode(type, 2) { 50 EncodePNode(Node* value, const Type* type): argument 51 EncodeNarrowPtrNode(value, type) { 65 EncodePKlassNode(Node* value, const Type* type): argument 66 EncodeNarrowPtrNode(value, type) { 77 DecodeNarrowPtrNode(Node* value, const Type* type): argument 78 TypeNode(type, 2) { 93 DecodeNNode(Node* value, const Type* type): argument 94 DecodeNarrowPtrNode(value, type) { 108 DecodeNKlassNode(Node* value, const Type* type) argument [all...] |
/openjdk10/hotspot/test/compiler/codecache/ |
H A D | OverflowCodeCacheTest.java | 61 for (BlobType type : blobTypes) { 62 new OverflowCodeCacheTest(type).test(); 66 private final BlobType type; field in class:OverflowCodeCacheTest 68 private OverflowCodeCacheTest(BlobType type) { argument 69 this.type = type; 70 this.bean = type.getMemoryPool(); 74 System.out.printf("type %s%n", type); 81 while ((addr = WHITE_BOX.allocateCodeBlob(size, type [all...] |
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/dtd/ |
H A D | XMLContentSpec.java | 41 * remember the type of content model declared (i.e. ANY, EMPTY, MIXED, 52 * pool of the element type of that leaf, or a value of -1 to indicate 53 * the special "#PCDATA" leaf type used in a mixed content model. 119 * When the content spec node type is set to CONTENTSPECNODE_ANY_OTHER, 147 * The content spec node type. 156 public short type; field in class:XMLContentSpec 180 public XMLContentSpec(short type, Object value, Object otherValue) { argument 181 setValues(type, value, otherValue); 206 type = -1; 212 public void setValues(short type, Objec argument [all...] |
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/xs/identity/ |
H A D | UniqueOrKey.java | 43 String elemName, short type) { 45 this.type = type; 42 UniqueOrKey(String namespace, String identityConstraintName, String elemName, short type) argument
|
/openjdk10/jaxws/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/api/ |
H A D | Reference.java | 33 import javax.lang.model.type.TypeMirror; 36 * Reference to a JAXB type (from JAX-RPC.) 39 * A reference is a Java type (represented as a {@link javax.lang.model.type.TypeMirror}) 41 * Together they describe a root reference to a JAXB type binding. 52 * The JAXB type being referenced. Must not be null. 54 public final TypeMirror type; field in class:Reference 56 * The declaration from which annotations for the {@link #type} is read. 62 * Creates a reference from the return type of the method 70 * Creates a reference from the parameter type 80 Reference(TypeElement type, ProcessingEnvironment env) argument 87 Reference(TypeMirror type, Element annotations) argument [all...] |
/openjdk10/jdk/src/java.base/share/classes/javax/net/ssl/ |
H A D | SNIServerName.java | 49 // the type of the server name 50 private final int type; field in class:SNIServerName 59 * Creates an {@code SNIServerName} using the specified name type and 65 * @param type 66 * the type of the server name 70 * @throws IllegalArgumentException if {@code type} is not in the range 74 protected SNIServerName(int type, byte[] encoded) { argument 75 if (type < 0) { 77 "Server name type cannot be less than zero"); 78 } else if (type > 25 [all...] |
/openjdk10/jdk/src/java.base/share/classes/jdk/internal/jrtfs/ |
H A D | jrtls.js | 39 var Files = Java.type("java.nio.file.Files"); 40 var FileSystems = Java.type("java.nio.file.FileSystems"); 41 var URI = Java.type("java.net.URI");
|
/openjdk10/jdk/test/java/beans/Introspector/7122138/ |
H A D | Test7122138.java | 37 Class<Sub> type = Sub.class; 38 Sub object = type.newInstance(); 40 BeanUtils.getPropertyDescriptor(type, name).getWriteMethod().invoke(object, name);
|
/openjdk10/nashorn/src/jdk.dynalink/share/classes/jdk/dynalink/linker/support/ |
H A D | Guards.java | 107 * Creates a guard method handle with arguments of a specified type, but with boolean return value. When invoked, it 112 * @param type the method type 116 public static MethodHandle isOfClass(final Class<?> clazz, final MethodType type) { argument 117 final Class<?> declaredType = type.parameterType(0); 119 LOG.log(Level.WARNING, "isOfClassGuardAlwaysTrue", new Object[] { clazz.getName(), 0, type, DynamicLinker.getLinkedCallSiteLocation() }); 120 return constantTrue(type); 123 LOG.log(Level.WARNING, "isOfClassGuardAlwaysFalse", new Object[] { clazz.getName(), 0, type, DynamicLinker.getLinkedCallSiteLocation() }); 124 return constantFalse(type); 126 return getClassBoundArgumentTest(IS_OF_CLASS, clazz, 0, type); 138 isInstance(final Class<?> clazz, final MethodType type) argument 153 isInstance(final Class<?> clazz, final int pos, final MethodType type) argument 175 isArray(final int pos, final MethodType type) argument 188 getClassBoundArgumentTest(final MethodHandle test, final Class<?> clazz, final int pos, final MethodType type) argument 203 asType(final MethodHandle test, final MethodType type) argument 219 asType(final LinkerServices linkerServices, final MethodHandle test, final MethodType type) argument 223 getTestType(final MethodHandle test, final MethodType type) argument 228 asType(final MethodHandle test, final int pos, final MethodType type) argument 326 constantTrue(final MethodType type) argument 330 constantFalse(final MethodType type) argument 334 constantBoolean(final Boolean value, final MethodType type) argument [all...] |
/openjdk10/test/failure_handler/src/share/classes/jdk/test/failurehandler/value/ |
H A D | PathValueParser.java | 30 public Object parse(Class<?> type, String value, String delimiter) { argument 31 if (type.isArray()) { 32 return new ArrayParser(this).parse(type, value, delimiter);
|
/openjdk10/test/lib/sun/hotspot/code/ |
H A D | BlobType.java | 36 public boolean allowTypeWhenOverflow(BlobType type) { 37 return super.allowTypeWhenOverflow(type) 38 || type == BlobType.MethodProfiled; 44 public boolean allowTypeWhenOverflow(BlobType type) { 45 return super.allowTypeWhenOverflow(type) 46 || type == BlobType.MethodNonProfiled; 52 public boolean allowTypeWhenOverflow(BlobType type) { 53 return super.allowTypeWhenOverflow(type) 54 || type == BlobType.MethodNonProfiled 55 || type 81 allowTypeWhenOverflow(BlobType type) argument [all...] |
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.nodes/src/org/graalvm/compiler/nodes/java/ |
H A D | DynamicNewInstanceNode.java | 29 import org.graalvm.compiler.core.common.type.ObjectStamp; 30 import org.graalvm.compiler.core.common.type.StampFactory; 77 ResolvedJavaType type = tool.getConstantReflection().asJavaType(clazz.asConstant()); 78 if (type != null && type.isInitialized() && !throwsInstantiationException(type, tool.getMetaAccess())) { 79 return createNewInstanceNode(type); 86 protected NewInstanceNode createNewInstanceNode(ResolvedJavaType type) { argument 87 return new NewInstanceNode(type, fillContents(), stateBefore()); 90 public static boolean throwsInstantiationException(Class<?> type, Clas argument 94 throwsInstantiationException(ResolvedJavaType type, MetaAccessProvider metaAccess) argument [all...] |
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements.verifier/src/org/graalvm/compiler/replacements/verifier/ |
H A D | InjectedDependencies.java | 30 import javax.lang.model.type.DeclaredType; 31 import javax.lang.model.type.TypeMirror; 41 public final String type; field in class:InjectedDependencies.Dependency 43 private Dependency(String name, String type) { argument 45 this.type = type; 53 private InjectedDependency(String name, String type) { argument 54 super(name, type); 59 return String.format("injection.getInjectedArgument(%s.class)", type); 66 super("stamp", "org.graalvm.compiler.core.common.type 86 private final String type; field in class:InjectedDependencies.WellKnownDependency 89 WellKnownDependency(String expr, String type) argument 119 use(ProcessingEnvironment env, DeclaredType type) argument [all...] |
/openjdk10/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/org/objectweb/asm/ |
H A D | Item.java | 92 int type; field in class:Item 157 type = i.type; 172 this.type = ClassWriter.INT; 174 this.hashCode = 0x7FFFFFFF & (type + intVal); 183 this.type = ClassWriter.LONG; 185 this.hashCode = 0x7FFFFFFF & (type + (int) longVal); 194 this.type = ClassWriter.FLOAT; 196 this.hashCode = 0x7FFFFFFF & (type + (int) floatVal); 205 this.type 218 set( final int type, final String strVal1, final String strVal2, final String strVal3) argument [all...] |
/openjdk10/jdk/src/java.management/share/classes/sun/management/ |
H A D | TypeVersionMapper.java | 81 * @param type The current (latest) version of {@linkplain CompositeType} 87 CompositeType getVersionedCompositeType(CompositeType type, String version) argument 90 Predicate<String> filter = getFilter(type.getTypeName(), version); 92 return type; 99 for(String item : type.keySet()) { 102 itemDesc.add(type.getDescription(item)); 104 type.getType(item), 110 type.getTypeName(), 111 version != null ? version + " " + type.getDescription() : type 118 getVersionedType(OpenType<?> type, String version) argument 133 getVersionedArrayType(ArrayType<?> type, String version) argument 150 getVersionedTabularType(TabularType type, String version) argument 166 getFilter(String type, String version) argument [all...] |