mirror of
https://github.com/FalsePattern/FalsePatternLib.git
synced 2026-11-17 06:25:02 +00:00
Annotate all the things
This commit is contained in:
63 files changed
+623
-369
No files matched your search
@@ -20,7 +20,11 @@
|
||||
*/
|
||||
package com.falsepattern.lib.asm.exceptions;
|
||||
|
||||
import com.falsepattern.lib.StableAPI;
|
||||
|
||||
@StableAPI(since = "0.10.0")
|
||||
public class AsmClassNotFoundException extends AsmTransformException {
|
||||
@StableAPI.Internal
|
||||
public AsmClassNotFoundException(final String clazz) {
|
||||
super("can't find class " + clazz);
|
||||
}
|
||||
|
||||
@@ -20,7 +20,11 @@
|
||||
*/
|
||||
package com.falsepattern.lib.asm.exceptions;
|
||||
|
||||
import com.falsepattern.lib.StableAPI;
|
||||
|
||||
@StableAPI(since = "0.10.0")
|
||||
public class AsmFieldNotFoundException extends AsmTransformException {
|
||||
@StableAPI.Internal
|
||||
public AsmFieldNotFoundException(final String field) {
|
||||
super("can't find field " + field);
|
||||
}
|
||||
|
||||
@@ -20,6 +20,9 @@
|
||||
*/
|
||||
package com.falsepattern.lib.asm.exceptions;
|
||||
|
||||
import com.falsepattern.lib.StableAPI;
|
||||
|
||||
@StableAPI(since = "0.10.0")
|
||||
public class AsmMethodNotFoundException extends AsmTransformException {
|
||||
public AsmMethodNotFoundException(final String method) {
|
||||
super("can't find method " + method);
|
||||
|
||||
@@ -20,15 +20,21 @@
|
||||
*/
|
||||
package com.falsepattern.lib.asm.exceptions;
|
||||
|
||||
import com.falsepattern.lib.StableAPI;
|
||||
|
||||
@StableAPI(since = "0.10.0")
|
||||
public class AsmTransformException extends RuntimeException {
|
||||
@StableAPI.Expose
|
||||
public AsmTransformException(final String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
@StableAPI.Expose
|
||||
public AsmTransformException(final Throwable cause) {
|
||||
super(cause);
|
||||
}
|
||||
|
||||
@StableAPI.Expose
|
||||
public AsmTransformException(final String message, final Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user