{} where allowed
This commit is contained in:
@@ -34,18 +34,15 @@ import java.lang.annotation.Target;
|
||||
* Inject a method to create and construct an object.
|
||||
* The object type is inferred from the return value
|
||||
* of the method.
|
||||
*
|
||||
*
|
||||
* {@code
|
||||
* {@literal @}Construct
|
||||
* RSIndexedImage createIndexedImage();
|
||||
* }
|
||||
*
|
||||
*
|
||||
* @author Adam
|
||||
*/
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target(ElementType.METHOD)
|
||||
@Documented
|
||||
public @interface Construct
|
||||
{
|
||||
|
||||
}
|
||||
public @interface Construct {}
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
package net.runelite.rs.api;
|
||||
|
||||
public interface RSCanvas
|
||||
{
|
||||
}
|
||||
public interface RSCanvas {}
|
||||
|
||||
@@ -2,6 +2,4 @@ package net.runelite.rs.api;
|
||||
|
||||
import net.runelite.api.ClanMember;
|
||||
|
||||
public interface RSClanMate extends RSBuddy, ClanMember
|
||||
{
|
||||
}
|
||||
public interface RSClanMate extends RSBuddy, ClanMember {}
|
||||
|
||||
@@ -24,6 +24,4 @@
|
||||
*/
|
||||
package net.runelite.rs.api;
|
||||
|
||||
public interface RSDecimator
|
||||
{
|
||||
}
|
||||
public interface RSDecimator {}
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
package net.runelite.rs.api;
|
||||
|
||||
public interface RSFont extends RSAbstractFont
|
||||
{
|
||||
}
|
||||
public interface RSFont extends RSAbstractFont {}
|
||||
|
||||
@@ -2,6 +2,4 @@ package net.runelite.rs.api;
|
||||
|
||||
import net.runelite.api.Friend;
|
||||
|
||||
public interface RSFriend extends Friend, RSBuddy
|
||||
{
|
||||
}
|
||||
public interface RSFriend extends Friend, RSBuddy {}
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
package net.runelite.rs.api;
|
||||
|
||||
public interface RSFriendsList extends RSUserList<RSFriend>
|
||||
{
|
||||
}
|
||||
public interface RSFriendsList extends RSUserList<RSFriend> {}
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
package net.runelite.rs.api;
|
||||
|
||||
public interface RSIgnoreList extends RSUserList<RSIgnored>
|
||||
{
|
||||
}
|
||||
public interface RSIgnoreList extends RSUserList<RSIgnored> {}
|
||||
|
||||
@@ -2,6 +2,4 @@ package net.runelite.rs.api;
|
||||
|
||||
import net.runelite.api.Ignore;
|
||||
|
||||
public interface RSIgnored extends Ignore, RSUser
|
||||
{
|
||||
}
|
||||
public interface RSIgnored extends Ignore, RSUser {}
|
||||
|
||||
@@ -4,6 +4,4 @@ import net.runelite.api.KeyFocusListener;
|
||||
import java.awt.event.FocusListener;
|
||||
import java.awt.event.KeyListener;
|
||||
|
||||
public interface RSKeyHandler extends KeyListener, FocusListener, KeyFocusListener
|
||||
{
|
||||
}
|
||||
public interface RSKeyHandler extends KeyListener, FocusListener, KeyFocusListener {}
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
package net.runelite.rs.api;
|
||||
|
||||
public interface RSLoginType
|
||||
{
|
||||
}
|
||||
public interface RSLoginType {}
|
||||
|
||||
@@ -4,6 +4,4 @@ import java.awt.event.FocusListener;
|
||||
import java.awt.event.MouseListener;
|
||||
import java.awt.event.MouseMotionListener;
|
||||
|
||||
public interface RSMouseHandler extends MouseListener, MouseMotionListener, FocusListener
|
||||
{
|
||||
}
|
||||
public interface RSMouseHandler extends MouseListener, MouseMotionListener, FocusListener {}
|
||||
|
||||
@@ -2,6 +2,4 @@ package net.runelite.rs.api;
|
||||
|
||||
import java.awt.event.MouseWheelListener;
|
||||
|
||||
public interface RSMouseWheelHandler extends MouseWheelListener
|
||||
{
|
||||
}
|
||||
public interface RSMouseWheelHandler extends MouseWheelListener {}
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
package net.runelite.rs.api;
|
||||
|
||||
public interface RSPacketBuffer
|
||||
{
|
||||
}
|
||||
public interface RSPacketBuffer {}
|
||||
|
||||
@@ -24,6 +24,4 @@
|
||||
*/
|
||||
package net.runelite.rs.api;
|
||||
|
||||
public interface RSPcmStream
|
||||
{
|
||||
}
|
||||
public interface RSPcmStream {}
|
||||
|
||||
Reference in New Issue
Block a user