File tree Expand file tree Collapse file tree
plugins/src/main/java/io/github/rawvoid/jaxb/plugin Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424import org .xml .sax .ErrorHandler ;
2525import org .xml .sax .SAXException ;
2626
27+ import java .lang .reflect .Field ;
2728import java .util .*;
2829import java .util .stream .Collectors ;
2930import java .util .stream .StreamSupport ;
@@ -38,9 +39,9 @@ public class NormalizeClassPlugin extends AbstractPlugin {
3839
3940 private static final String FIELD_MODS = "mods" ;
4041
41- private static final java . lang . reflect . Field JMODS_MODS_FIELD = getField (JMods .class , FIELD_MODS );
42+ private static final Field JMODS_MODS_FIELD = getField (JMods .class , FIELD_MODS );
4243
43- private static java . lang . reflect . Field getField (Class <?> type , String name ) {
44+ private static Field getField (Class <?> type , String name ) {
4445 try {
4546 var field = type .getDeclaredField (name );
4647 field .setAccessible (true );
You can’t perform that action at this time.
0 commit comments