private static JMapAccessor getAccessor ( Class < ? > clazz , java . lang . annotation . Annotation [ ] annotations , String fieldName , boolean isOpposite ) { for ( java . lang . annotation . Annotation annotation : annotations ) { if ( annotation . annotationType ( ) == JMapAccessors . class ) { JMapAccessors jmapAccessors = ( JMapAccessors ) annotation ; for ( JMapAccessor jmapAccessor : jmapAccessors . value ( ) ) if ( isValid ( jmapAccessor , fieldName , clazz , isOpposite ) ) return jmapAccessor ; } if ( annotation . annotationType ( ) == JMapAccessor . class ) { JMapAccessor jmapAccessor = ( JMapAccessor ) annotation ; if ( isValid ( jmapAccessor , fieldName , clazz , isOpposite ) ) return jmapAccessor ; } } return null ; }
It finds between annotations if exists a JMapAccessor relative to the field with this name .