Home
last modified time | relevance | path

Searched refs:descriptorString (Results 1 – 15 of 15) sorted by relevance

/libcore/ojluni/src/main/java/java/lang/constant/
DClassDesc.java155 int depth = ConstantUtils.arrayDepth(descriptorString()); in arrayType()
175 int currentDepth = ConstantUtils.arrayDepth(descriptorString()); in arrayType()
178 return ClassDesc.ofDescriptor("[".repeat(rank) + descriptorString()); in arrayType()
202 return ClassDesc.ofDescriptor(dropLastChar(descriptorString()) + "$" + nestedName + ";"); in nested()
237 return descriptorString().startsWith("["); in isArray()
246 return descriptorString().length() == 1; in isPrimitive()
255 return descriptorString().startsWith("L"); in isClassOrInterface()
266 return isArray() ? ClassDesc.ofDescriptor(descriptorString().substring(1)) : null; in componentType()
279 String className = internalToBinary(ConstantUtils.dropFirstAndLastChar(descriptorString())); in packageName()
297 return Wrapper.forBasicType(descriptorString().charAt(0)).primitiveSimpleName(); in displayName()
[all …]
DReferenceClassDescImpl.java60 public String descriptorString() { in descriptorString() method in ReferenceClassDescImpl
68 int depth = ConstantUtils.arrayDepth(descriptorString()); in resolveConstantDesc()
73 return lookup.findClass(descriptorString()); in resolveConstantDesc()
75 … Class<?> clazz = lookup.findClass(internalToBinary(dropFirstAndLastChar(c.descriptorString()))); in resolveConstantDesc()
99 return descriptor.equals(constant.descriptorString()); in equals()
DDirectMethodHandleDescImpl.java94 boolean isVoid = type.returnType().descriptorString().equals("V"); in validateFieldType()
106 if (!type.returnType().descriptorString().equals("V")) { in validateConstructor()
141 … INTERFACE_SPECIAL -> invocationType.dropParameterTypes(0, 1).descriptorString(); in lookupDescriptor()
143 INTERFACE_STATIC -> invocationType.descriptorString(); in lookupDescriptor()
144 … case CONSTRUCTOR -> invocationType.changeReturnType(CD_void).descriptorString(); in lookupDescriptor()
146 STATIC_GETTER -> invocationType.returnType().descriptorString(); in lookupDescriptor()
147 case SETTER -> invocationType.parameterType(1).descriptorString(); in lookupDescriptor()
148 case STATIC_SETTER -> invocationType.parameterType(0).descriptorString(); in lookupDescriptor()
DMethodTypeDesc.java169 default String descriptorString() { in descriptorString() method
172 .map(ClassDesc::descriptorString) in descriptorString()
174 returnType().descriptorString()); in descriptorString()
DPrimitiveClassDescImpl.java61 public String descriptorString() { in descriptorString() method in PrimitiveClassDescImpl
67 return Wrapper.forBasicType(descriptorString().charAt(0)).primitiveType(); in resolveConstantDesc()
DMethodTypeDescImpl.java57 if (cr.isPrimitive() && cr.descriptorString().equals("V")) in MethodTypeDescImpl()
141 return MethodType.fromMethodDescriptorString(descriptorString(), in resolveConstantDesc()
DConstantUtils.java89 static int arrayDepth(String descriptorString) { in arrayDepth() argument
91 while (descriptorString.charAt(depth) == '[') in arrayDepth()
/libcore/ojluni/src/main/java/java/lang/invoke/
DTypeDescriptor.java51 String descriptorString(); in descriptorString() method
DMethodType.java1191 public String descriptorString() {
/libcore/luni/src/test/java/libcore/java/lang/
DClassTest.java683 assertEquals("I", int.class.descriptorString()); in testDescriptorString()
684 assertEquals("V", void.class.descriptorString()); in testDescriptorString()
685 assertEquals("[I", int[].class.descriptorString()); in testDescriptorString()
686 assertEquals("[[I", int[][].class.descriptorString()); in testDescriptorString()
687 assertEquals("Ljava/lang/String;", String.class.descriptorString()); in testDescriptorString()
688 assertEquals("[Ljava/lang/String;", String[].class.descriptorString()); in testDescriptorString()
/libcore/luni/src/test/java/libcore/java/lang/invoke/
DMethodTypeTest.java681 int.class, String.class, Object.class).descriptorString()); in testDescriptorString()
683 assertEquals("()I", MethodType.methodType(int.class).descriptorString()); in testDescriptorString()
684 assertEquals("()[I", MethodType.methodType(int[].class).descriptorString()); in testDescriptorString()
687 .descriptorString()); in testDescriptorString()
/libcore/ojluni/annotations/sdk/nullability/java/lang/invoke/
DMethodType.annotated.java98 public @libcore.util.NonNull java.lang.String descriptorString() { throw new RuntimeException("Stub… in descriptorString() method in MethodType
/libcore/ojluni/src/main/java/java/lang/
DClass.java4837 public String descriptorString() { in descriptorString() method in Class
4842 return "[" + componentType.descriptorString(); in descriptorString()
4904 : Optional.of(ClassDesc.ofDescriptor(descriptorString())); in describeConstable()
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DClass.annotated.java190 public @libcore.util.NonNull String descriptorString(); in descriptorString() method in Class
/libcore/api/
Dcurrent.txt3078 method @NonNull public String descriptorString();
4755 method @NonNull public String descriptorString();
4792 method public String descriptorString();