Uses of Enum Class
org.eclipse.jdt.core.util.ExternalAnnotationUtil.MergeStrategy
Package
Description
Provides a set of tools and utilities for manipulating .class files and Java model elements.
-
Uses of ExternalAnnotationUtil.MergeStrategy in org.eclipse.jdt.core.util
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ExternalAnnotationUtil.MergeStrategy[]
ExternalAnnotationUtil.MergeStrategy.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionstatic void
ExternalAnnotationUtil.annotateMember
(String typeName, org.eclipse.core.resources.IFile file, String selector, String originalSignature, String annotatedSignature, ExternalAnnotationUtil.MergeStrategy mergeStrategy, org.eclipse.core.runtime.IProgressMonitor monitor) Update the given external annotation file with details regarding annotations of one specific method or field.static void
ExternalAnnotationUtil.annotateMethodParameterType
(String typeName, org.eclipse.core.resources.IFile file, String selector, String originalSignature, String annotatedParameterType, int paramIdx, ExternalAnnotationUtil.MergeStrategy mergeStrategy, org.eclipse.core.runtime.IProgressMonitor monitor) Update the given external annotation file with details regarding annotations of a parameter type of a given method.static void
ExternalAnnotationUtil.annotateMethodReturnType
(String typeName, org.eclipse.core.resources.IFile file, String selector, String originalSignature, String annotatedReturnType, ExternalAnnotationUtil.MergeStrategy mergeStrategy, org.eclipse.core.runtime.IProgressMonitor monitor) Update the given external annotation file with details regarding annotations of the return type of a given method.static void
ExternalAnnotationUtil.annotateMethodTypeParameter
(String typeName, org.eclipse.core.resources.IFile file, String selector, String originalSignature, String annotatedTypeParameter, int rank, ExternalAnnotationUtil.MergeStrategy mergeStrategy, org.eclipse.core.runtime.IProgressMonitor monitor) Update the given external annotation file with details regarding annotations of a type parameter of a given method.static String[]
ExternalAnnotationUtil.annotateParameterType
(String originalSignature, String annotatedType, int paramIdx, ExternalAnnotationUtil.MergeStrategy mergeStrategy) Apply the specified changes on a parameter within the given signature.static String[]
ExternalAnnotationUtil.annotateReturnType
(String originalSignature, String annotatedType, ExternalAnnotationUtil.MergeStrategy mergeStrategy) Apply the specified changes on the return type of the given signature.static String[]
ExternalAnnotationUtil.annotateType
(String originalSignature, String annotatedType, ExternalAnnotationUtil.MergeStrategy mergeStrategy) Apply the specified changes on the given type.static String[]
ExternalAnnotationUtil.annotateTypeParameter
(String originalSignature, String annotatedType, int rank, ExternalAnnotationUtil.MergeStrategy mergeStrategy) Apply the specified changes on a type parameter within the given signature.static void
ExternalAnnotationUtil.annotateTypeTypeParameter
(String typeName, org.eclipse.core.resources.IFile file, String originalSignature, String annotatedTypeParameter, int rank, ExternalAnnotationUtil.MergeStrategy mergeStrategy, org.eclipse.core.runtime.IProgressMonitor monitor) Update the given external annotation file with details regarding annotations of a type parameter of the type itself.static String
ExternalAnnotationUtil.insertParameterAnnotation
(String methodSignature, int paramIdx, char annotation, ExternalAnnotationUtil.MergeStrategy mergeStrategy) Insert an encoded annotation into the given methodSignature affecting one of its parameters.static String
ExternalAnnotationUtil.insertReturnAnnotation
(String methodSignature, char annotation, ExternalAnnotationUtil.MergeStrategy mergeStrategy) Insert an encoded annotation into the given methodSignature affecting its return type.