Class AnnotatedTypes


  • public class AnnotatedTypes
    extends Object
    This class originally comes from Weld utility class
    • Constructor Detail

      • AnnotatedTypes

        public AnnotatedTypes()
    • Method Detail

      • compareAnnotatedField

        public static boolean compareAnnotatedField​(jakarta.enterprise.inject.spi.AnnotatedField<?> f1,
                                                    jakarta.enterprise.inject.spi.AnnotatedField<?> f2)
      • compareAnnotatedCallable

        public static boolean compareAnnotatedCallable​(jakarta.enterprise.inject.spi.AnnotatedCallable<?> m1,
                                                       jakarta.enterprise.inject.spi.AnnotatedCallable<?> m2)
      • compareAnnotatedParameters

        public static boolean compareAnnotatedParameters​(List<? extends jakarta.enterprise.inject.spi.AnnotatedParameter<?>> p1,
                                                         List<? extends jakarta.enterprise.inject.spi.AnnotatedParameter<?>> p2)
        compares two annotated elements to see if they have the same annotations
      • compareAnnotatedTypes

        public static boolean compareAnnotatedTypes​(jakarta.enterprise.inject.spi.AnnotatedType<?> t1,
                                                    jakarta.enterprise.inject.spi.AnnotatedType<?> t2)
        Compares two annotated types and returns true if they are the same