api: add widget classes to runtime exclusions
This commit is contained in:
@@ -72,7 +72,7 @@
|
|||||||
<artifactId>maven-jar-plugin</artifactId>
|
<artifactId>maven-jar-plugin</artifactId>
|
||||||
<executions>
|
<executions>
|
||||||
<!-- from JLS 13.1.3: references to a static field that is a constant variable (§4.12.4) must be resolved
|
<!-- from JLS 13.1.3: references to a static field that is a constant variable (§4.12.4) must be resolved
|
||||||
at compile time to the value denoted by the constant variable's initializer *and* no refernces to the
|
at compile time to the value denoted by the constant variable's initializer *and* no references to the
|
||||||
field should be present in the code in a binary file.
|
field should be present in the code in a binary file.
|
||||||
|
|
||||||
This permits us to remove the classes containing only these types of fields at runtime
|
This permits us to remove the classes containing only these types of fields at runtime
|
||||||
@@ -86,6 +86,15 @@
|
|||||||
<configuration>
|
<configuration>
|
||||||
<classifier>runtime</classifier>
|
<classifier>runtime</classifier>
|
||||||
<excludes>
|
<excludes>
|
||||||
|
<exclude>net/runelite/api/widgets/ItemQuantityMode.class</exclude>
|
||||||
|
<exclude>net/runelite/api/widgets/WidgetConfig.class</exclude>
|
||||||
|
<exclude>net/runelite/api/widgets/WidgetID*.class</exclude>
|
||||||
|
<exclude>net/runelite/api/widgets/WidgetModalMode.class</exclude>
|
||||||
|
<exclude>net/runelite/api/widgets/WidgetModelType.class</exclude>
|
||||||
|
<exclude>net/runelite/api/widgets/WidgetPositionMode.class</exclude>
|
||||||
|
<exclude>net/runelite/api/widgets/WidgetSizeMode.class</exclude>
|
||||||
|
<exclude>net/runelite/api/widgets/WidgetTextAlignment.class</exclude>
|
||||||
|
<exclude>net/runelite/api/widgets/WidgetType.class</exclude>
|
||||||
<exclude>net/runelite/api/clan/ClanID.class</exclude>
|
<exclude>net/runelite/api/clan/ClanID.class</exclude>
|
||||||
<exclude>net/runelite/api/AnimationID.class</exclude>
|
<exclude>net/runelite/api/AnimationID.class</exclude>
|
||||||
<exclude>net/runelite/api/EnumID.class</exclude>
|
<exclude>net/runelite/api/EnumID.class</exclude>
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ package net.runelite.api.widgets;
|
|||||||
/**
|
/**
|
||||||
* Utility class mapping Widget ItemQuantityMode values
|
* Utility class mapping Widget ItemQuantityMode values
|
||||||
*/
|
*/
|
||||||
public class ItemQuantityMode
|
public final class ItemQuantityMode
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Never show item quantity number
|
* Never show item quantity number
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ import net.runelite.api.MenuAction;
|
|||||||
*
|
*
|
||||||
* @see Widget#getClickMask()
|
* @see Widget#getClickMask()
|
||||||
*/
|
*/
|
||||||
public class WidgetConfig
|
public final class WidgetConfig
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Enables displaying a ninth option on a menu.
|
* Enables displaying a ninth option on a menu.
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ package net.runelite.api.widgets;
|
|||||||
* For a more direct group-child widget mapping, use the
|
* For a more direct group-child widget mapping, use the
|
||||||
* {@link WidgetInfo} enum class.
|
* {@link WidgetInfo} enum class.
|
||||||
*/
|
*/
|
||||||
public class WidgetID
|
public final class WidgetID
|
||||||
{
|
{
|
||||||
public static final int FAIRY_RING_PANEL_GROUP_ID = 381;
|
public static final int FAIRY_RING_PANEL_GROUP_ID = 381;
|
||||||
public static final int FAIRY_RING_GROUP_ID = 398;
|
public static final int FAIRY_RING_GROUP_ID = 398;
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
*/
|
*/
|
||||||
package net.runelite.api.widgets;
|
package net.runelite.api.widgets;
|
||||||
|
|
||||||
public class WidgetModalMode
|
public final class WidgetModalMode
|
||||||
{
|
{
|
||||||
public static final int MODAL_NOCLICKTHROUGH = 0;
|
public static final int MODAL_NOCLICKTHROUGH = 0;
|
||||||
public static final int NON_MODAL = 1;
|
public static final int NON_MODAL = 1;
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
*/
|
*/
|
||||||
package net.runelite.api.widgets;
|
package net.runelite.api.widgets;
|
||||||
|
|
||||||
public class WidgetModelType
|
public final class WidgetModelType
|
||||||
{
|
{
|
||||||
public static final int NULL = 0;
|
public static final int NULL = 0;
|
||||||
public static final int MODEL = 1;
|
public static final int MODEL = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user