@@ -667,7 +667,8 @@ protected DisconnectedStateDescriptor() {
667
667
}
668
668
669
669
private final class DisconnectedState extends State {
670
-
670
+ // Invoked via reflection.
671
+ @ SuppressWarnings ("UnusedMethod" )
671
672
private DisconnectedState (StateDescriptor stateDescriptor ,
672
673
ModularXmppClientToServerConnectionInternal connectionInternal ) {
673
674
super (stateDescriptor , connectionInternal );
@@ -708,6 +709,8 @@ private LookupRemoteConnectionEndpointsStateDescriptor() {
708
709
private final class LookupRemoteConnectionEndpointsState extends State {
709
710
boolean outgoingElementsQueueWasShutdown ;
710
711
712
+ // Invoked via reflection.
713
+ @ SuppressWarnings ("UnusedMethod" )
711
714
private LookupRemoteConnectionEndpointsState (StateDescriptor stateDescriptor ,
712
715
ModularXmppClientToServerConnectionInternal connectionInternal ) {
713
716
super (stateDescriptor , connectionInternal );
@@ -818,6 +821,8 @@ private ConnectedButUnauthenticatedStateDescriptor() {
818
821
}
819
822
820
823
private final class ConnectedButUnauthenticatedState extends State {
824
+ // Invoked via reflection.
825
+ @ SuppressWarnings ("UnusedMethod" )
821
826
private ConnectedButUnauthenticatedState (StateDescriptor stateDescriptor ,
822
827
ModularXmppClientToServerConnectionInternal connectionInternal ) {
823
828
super (stateDescriptor , connectionInternal );
@@ -850,6 +855,8 @@ private SaslAuthenticationStateDescriptor() {
850
855
}
851
856
852
857
private final class SaslAuthenticationState extends State {
858
+ // Invoked via reflection.
859
+ @ SuppressWarnings ("UnusedMethod" )
853
860
private SaslAuthenticationState (StateDescriptor stateDescriptor ,
854
861
ModularXmppClientToServerConnectionInternal connectionInternal ) {
855
862
super (stateDescriptor , connectionInternal );
@@ -893,13 +900,17 @@ private AuthenticatedButUnboundStateDescriptor() {
893
900
}
894
901
895
902
public static final class ResourceBindingStateDescriptor extends StateDescriptor {
903
+ // Invoked via reflection.
904
+ @ SuppressWarnings ("UnusedMethod" )
896
905
private ResourceBindingStateDescriptor () {
897
906
super (ResourceBindingState .class , "RFC 6120 § 7" );
898
907
addSuccessor (AuthenticatedAndResourceBoundStateDescriptor .class );
899
908
}
900
909
}
901
910
902
911
private final class ResourceBindingState extends State {
912
+ // Invoked via reflection.
913
+ @ SuppressWarnings ("UnusedMethod" )
903
914
private ResourceBindingState (StateDescriptor stateDescriptor ,
904
915
ModularXmppClientToServerConnectionInternal connectionInternal ) {
905
916
super (stateDescriptor , connectionInternal );
@@ -955,6 +966,8 @@ private AuthenticatedAndResourceBoundStateDescriptor() {
955
966
}
956
967
957
968
private final class AuthenticatedAndResourceBoundState extends State {
969
+ // Invoked via reflection.
970
+ @ SuppressWarnings ("UnusedMethod" )
958
971
private AuthenticatedAndResourceBoundState (StateDescriptor stateDescriptor ,
959
972
ModularXmppClientToServerConnectionInternal connectionInternal ) {
960
973
super (stateDescriptor , connectionInternal );
@@ -995,6 +1008,8 @@ private ShutdownStateDescriptor() {
995
1008
}
996
1009
997
1010
private final class ShutdownState extends State {
1011
+ // Invoked via reflection.
1012
+ @ SuppressWarnings ("UnusedMethod" )
998
1013
private ShutdownState (StateDescriptor stateDescriptor ,
999
1014
ModularXmppClientToServerConnectionInternal connectionInternal ) {
1000
1015
super (stateDescriptor , connectionInternal );
@@ -1057,6 +1072,8 @@ private InstantShutdownStateDescriptor() {
1057
1072
}
1058
1073
1059
1074
private static final class InstantShutdownState extends NoOpState {
1075
+ // Invoked via reflection.
1076
+ @ SuppressWarnings ("UnusedMethod" )
1060
1077
private InstantShutdownState (ModularXmppClientToServerConnection connection , StateDescriptor stateDescriptor ,
1061
1078
ModularXmppClientToServerConnectionInternal connectionInternal ) {
1062
1079
super (connection , stateDescriptor , connectionInternal );
@@ -1078,6 +1095,8 @@ private CloseConnectionStateDescriptor() {
1078
1095
}
1079
1096
1080
1097
private final class CloseConnectionState extends State {
1098
+ // Invoked via reflection.
1099
+ @ SuppressWarnings ("UnusedMethod" )
1081
1100
private CloseConnectionState (StateDescriptor stateDescriptor ,
1082
1101
ModularXmppClientToServerConnectionInternal connectionInternal ) {
1083
1102
super (stateDescriptor , connectionInternal );
0 commit comments