Klasse WorkArounds
java.lang.Object
org.jdrupes.mdoclet.internal.doclets.toolkit.WorkArounds
A quarantine class to isolate all the workarounds and bridges to
a locality.
This class should eventually disappear once all the standard APIs support the needed interfaces.
-
Feldübersicht
Modifizierer und TypFeldBeschreibungfinal BaseConfiguration
final Elements
final com.sun.tools.javac.code.Types
final jdk.javadoc.internal.tool.ToolEnvironment
final Types
final Utils
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
Returns whether or not to permit dynamically loaded components to access part of the javadoc internal API.boolean
definesSerializableFields
(TypeElement typeElem) Map
<? extends ExecutableElement, ? extends AnnotationValue> getJepInfo
(String feature) Returns a map containing jdk.internal.javac.PreviewFeature.JEP element values associated with the jdk.internal.javac.PreviewFeature.Feature enum constant identified by feature.getSerializableFields
(TypeElement typeElem) getSerializationMethods
(TypeElement typeElem) boolean
boolean
isMandated
(AnnotationMirror aDesc) boolean
isPreviewAPI
(Element el) boolean
searchClass
(TypeElement klass, String className)
-
Felddetails
-
configuration
-
toolEnv
-
utils
-
elementUtils
-
typeUtils
-
javacTypes
-
-
Konstruktordetails
-
WorkArounds
-
-
Methodendetails
-
isDeprecated0
-
isMandated
-
getElementToTreePath
-
searchClass
-
getLocationForModule
-
getSerializableFields
-
getSerializationMethods
-
definesSerializableFields
-
isPreviewAPI
-
isReflectivePreviewAPI
-
accessInternalAPI
Returns whether or not to permit dynamically loaded components to access part of the javadoc internal API.The flag is the same (hidden) compiler option that allows javac plugins and annotation processors to access javac internal API.
As with all workarounds, it is better to consider updating the public API, rather than relying on undocumented features like this, that may be withdrawn at any time, without notice.
- Gibt zurück:
- true if access is permitted to internal API
-
getJepInfo
Returns a map containing jdk.internal.javac.PreviewFeature.JEP element values associated with the jdk.internal.javac.PreviewFeature.Feature enum constant identified by feature.This method uses internal javac features (although only reflectively).
- Parameter:
feature
- the name of the PreviewFeature.Feature enum value- Gibt zurück:
- the map of PreviewFeature.JEP annotation element values, or an empty map
-