Package org.faktorips.runtime.model.type
Class Deprecation
- java.lang.Object
-
- org.faktorips.runtime.model.type.Deprecation
-
public class Deprecation extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Deprecation(java.lang.String sinceVersionString, boolean forRemoval)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.lang.String>getSinceVersion()booleanisMarkedForRemoval()static java.util.Optional<Deprecation>of(java.lang.reflect.Field field)static java.util.Optional<Deprecation>of(java.lang.reflect.Method method)static java.util.Optional<Deprecation>of(AnnotatedDeclaration annotatedDeclaration)
-
-
-
Method Detail
-
getSinceVersion
public java.util.Optional<java.lang.String> getSinceVersion()
-
isMarkedForRemoval
public boolean isMarkedForRemoval()
-
of
public static java.util.Optional<Deprecation> of(AnnotatedDeclaration annotatedDeclaration)
-
of
public static java.util.Optional<Deprecation> of(java.lang.reflect.Method method)
-
of
public static java.util.Optional<Deprecation> of(java.lang.reflect.Field field)
-
-