< prev index next >
src/jdk.vm.ci/share/classes/jdk.vm.ci.meta/src/jdk/vm/ci/meta/ResolvedJavaField.java
Print this page
*** 50,60 ****
boolean isInternal();
/**
* Determines if this field is a synthetic field as defined by the Java Language Specification.
*/
! boolean isSynthetic();
/**
* Returns the {@link ResolvedJavaType} object representing the class or interface that declares
* this field.
*/
--- 50,62 ----
boolean isInternal();
/**
* Determines if this field is a synthetic field as defined by the Java Language Specification.
*/
! default boolean isSynthetic() {
! return (SYNTHETIC & getModifiers()) == SYNTHETIC;
! }
/**
* Returns the {@link ResolvedJavaType} object representing the class or interface that declares
* this field.
*/
< prev index next >