TypeDescriptor (Java SE 12 & JDK 12 )
-
- All Known Subinterfaces:
ClassDesc,MethodTypeDesc,TypeDescriptor.OfField<F>,TypeDescriptor.OfMethod<F,M>
- All Known Implementing Classes:
Class,MethodType
public interface TypeDescriptorAn entity that has a field or method type descriptor
- Since:
- 12
- See The Java™ Virtual Machine Specification:
- 4.3.2 Field Descriptors, 4.3.3 Method Descriptors
-
-
Method Summary
Modifier and Type Method Description StringdescriptorString()Return the type descriptor string for this instance, which must be either a field type descriptor (JVMS 4.3.2) or method type descriptor (JVMS 4.3.3).
-
-
-
Method Detail
-
descriptorString
String descriptorString()
Return the type descriptor string for this instance, which must be either a field type descriptor (JVMS 4.3.2) or method type descriptor (JVMS 4.3.3).
- Returns:
- the type descriptor
- See The Java™ Virtual Machine Specification:
- 4.3.2 Field Descriptors, 4.3.3 Method Descriptors
-
-
Report a bug or suggest an enhancement
For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples.
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2019, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.
All rights reserved. Use is subject to license terms and the documentation redistribution policy.