TypeDescriptor (Java SE 13 & JDK 13 )
- All Known Subinterfaces:
ClassDesc,MethodTypeDesc,TypeDescriptor.OfField<F>,TypeDescriptor.OfMethod<F,M>
- All Known Implementing Classes:
Class,MethodType
public interface TypeDescriptor
An entity that has a field or method type descriptor
- See Java Virtual Machine Specification:
-
4.3.2 Field Descriptors
4.3.3 Method Descriptors - Since:
- 12
-
Nested Class Summary
-
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 Details
-
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 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.