common/src/main/java/com/kakoo/foundation/common/resource/bundle/ResourceBundleManager.java
/**
     * Checks if the given annotation class is already registered for the given annotated class.
     *
     * @param annotationClass Annotation class.
     * @param annotatedClass Annotated class.
     * @param baseBundleName Base bundle file name.
     * @return {@code True} if already registered, {@code false} otherwise.
     */
Checks if the given annotation class is already registered for the given annotated class.
@param annotationClass Annotation class.
@param annotatedClass Annotated class.
@param baseBundleName Base bundle file name.
@return  True if already registered,  false otherwise.
Checks if the given annotation class is already registered for the given annotated class . @param annotationClass Annotation class . @param annotatedClass Annotated class . @param baseBundleName Base bundle file name . @return True if already registered false otherwise .
private static boolean check(final @NonNull Class<? extends Annotation> annotationClass, final @NonNull Class<?> annotatedClass, final @NonNull String baseBundleName)
    {
        Map<Class<?>, String> classes = ANNOTATION_CLASSES.get(annotationClass);
        if (classes != null)
        {
            String filename = classes.get(annotatedClass);
            return (filename != null && filename.equals(baseBundleName));
        }
        return false;
    }
private static boolean check ( final @ NonNull Class < ? extends Annotation > annotationClass , final @ NonNull Class < ? > annotatedClass , final @ NonNull String baseBundleName ) { Map < Class < ? > , String > classes = ANNOTATION_CLASSES . get ( annotationClass ) ; if ( classes != null ) { String filename = classes . get ( annotatedClass ) ; return ( filename != null && filename . equals ( baseBundleName ) ) ; } return false ; }
Checks if the given annotation class is already registered for the given annotated class.
Checks if the given annotation class is already registered for the given annotated class .