diff --git a/src/main/java/net/md_5/specialsource/AccessMap.java b/src/main/java/net/md_5/specialsource/AccessMap.java index fc9e0d2..c174999 100644 --- a/src/main/java/net/md_5/specialsource/AccessMap.java +++ b/src/main/java/net/md_5/specialsource/AccessMap.java @@ -42,22 +42,29 @@ import lombok.Getter; /** * Access mapper - for modifying access flags on symbols * - * Supports loading _at.cfg files in the following format: - comments beginning - * with '#' extending to end of line - symbol pattern, space, then access - * changes + * Supports loading _at.cfg files in the following format: + *
+ * foo class + * foo/bar field + * foo/bar ()desc method + * foo/* fields in class + * foo/* ()desc methods in class + * * all classes + * */* all fields + * */*() all methods + * ** all classes, fields, and methods + *+ * Internal ('/') and source ('.') conventions are accepted, + * and the space preceding the method descriptor is optional. * * Access change format: visibility (required) + access flags - * * @see AccessChange - * */ public class AccessMap { @@ -205,7 +212,7 @@ public class AccessMap { /** * Called when an access mapping is applied. * - * @param key the key which caused the mapping to be matched & applied + * @param key the key which caused the mapping to be matched and applied * @param oldAccess the access which was replaced * @param newAccess the new access which was applied by the mapping */ diff --git a/src/main/java/net/md_5/specialsource/RemapperProcessor.java b/src/main/java/net/md_5/specialsource/RemapperProcessor.java index 65e381a..5c144a0 100644 --- a/src/main/java/net/md_5/specialsource/RemapperProcessor.java +++ b/src/main/java/net/md_5/specialsource/RemapperProcessor.java @@ -65,7 +65,6 @@ public class RemapperProcessor { * @param jarMapping Mapping for reflection remapping, or null to not remap * reflection * @param accessMap Access transformer mappings, or null to not apply AT - * @throws IOException */ public RemapperProcessor(InheritanceMap inheritanceMap, JarMapping jarMapping, AccessMap accessMap) { this.inheritanceMap = inheritanceMap;