From 468d013032743ccaff4150945bdcbc7f98102dc5 Mon Sep 17 00:00:00 2001 From: "Kristian S. Stangeland" Date: Thu, 11 Jul 2013 20:58:16 +0200 Subject: [PATCH] Remove JavaDoc - that should be in gh-pages. --- Javadoc/allclasses-frame.html | 133 -- Javadoc/allclasses-noframe.html | 133 -- .../com/comphenix/protocol/Application.html | 259 --- .../protocol/AsynchronousManager.html | 433 ----- .../protocol/BukkitInitialization.html | 281 ---- .../protocol/CommandFilter.Filter.html | 371 ----- .../CommandFilter.FilterFailedHandler.html | 218 --- .../com/comphenix/protocol/CommandFilter.html | 590 ------- .../protocol/MinecraftVersionTest.html | 269 --- .../com/comphenix/protocol/PacketStream.html | 296 ---- .../comphenix/protocol/Packets.Client.html | 727 --------- .../comphenix/protocol/Packets.Server.html | 1291 --------------- Javadoc/com/comphenix/protocol/Packets.html | 383 ----- .../comphenix/protocol/ProtocolLibrary.html | 585 ------- .../comphenix/protocol/ProtocolManager.html | 544 ------- .../protocol/async/AsyncFilterManager.html | 758 --------- .../protocol/async/AsyncListenerHandler.html | 556 ------- .../comphenix/protocol/async/AsyncMarker.html | 737 --------- .../protocol/async/AsyncRunnable.html | 281 ---- .../async/class-use/AsyncFilterManager.html | 115 -- .../async/class-use/AsyncListenerHandler.html | 222 --- .../protocol/async/class-use/AsyncMarker.html | 230 --- .../async/class-use/AsyncRunnable.html | 172 -- .../protocol/async/package-frame.html | 25 - .../protocol/async/package-summary.html | 164 -- .../protocol/async/package-tree.html | 138 -- .../comphenix/protocol/async/package-use.html | 204 --- .../protocol/class-use/Application.html | 115 -- .../class-use/AsynchronousManager.html | 183 --- .../class-use/BukkitInitialization.html | 115 -- .../class-use/CommandFilter.Filter.html | 161 -- .../CommandFilter.FilterFailedHandler.html | 160 -- .../protocol/class-use/CommandFilter.html | 115 -- .../class-use/MinecraftVersionTest.html | 115 -- .../protocol/class-use/PacketStream.html | 217 --- .../protocol/class-use/Packets.Client.html | 165 -- .../protocol/class-use/Packets.Server.html | 165 -- .../comphenix/protocol/class-use/Packets.html | 115 -- .../protocol/class-use/ProtocolLibrary.html | 115 -- .../protocol/class-use/ProtocolManager.html | 203 --- .../AbstractConcurrentListenerMultimap.html | 359 ---- .../AbstractIntervalTree.EndPoint.html | 301 ---- .../AbstractIntervalTree.Entry.html | 327 ---- .../AbstractIntervalTree.State.html | 337 ---- .../concurrency/AbstractIntervalTree.html | 654 -------- .../protocol/concurrency/BlockingHashMap.html | 453 ------ .../concurrency/BlockingHashMapTest.html | 261 --- .../protocol/concurrency/IntegerSet.html | 360 ----- .../concurrency/SortedCopyOnWriteArray.html | 571 ------- .../AbstractConcurrentListenerMultimap.html | 115 -- .../AbstractIntervalTree.EndPoint.html | 213 --- .../class-use/AbstractIntervalTree.Entry.html | 209 --- .../class-use/AbstractIntervalTree.State.html | 205 --- .../class-use/AbstractIntervalTree.html | 157 -- .../class-use/BlockingHashMap.html | 157 -- .../class-use/BlockingHashMapTest.html | 115 -- .../concurrency/class-use/IntegerSet.html | 115 -- .../class-use/SortedCopyOnWriteArray.html | 115 -- .../protocol/concurrency/package-frame.html | 28 - .../protocol/concurrency/package-summary.html | 178 -- .../protocol/concurrency/package-tree.html | 147 -- .../protocol/concurrency/package-use.html | 168 -- .../protocol/error/BasicErrorReporter.html | 417 ----- .../error/DelegatedErrorReporter.html | 440 ----- .../protocol/error/DetailedErrorReporter.html | 988 ------------ .../protocol/error/ErrorReporter.html | 320 ---- .../protocol/error/Report.ReportBuilder.html | 306 ---- .../com/comphenix/protocol/error/Report.html | 421 ----- .../comphenix/protocol/error/ReportType.html | 305 ---- .../error/class-use/BasicErrorReporter.html | 115 -- .../class-use/DelegatedErrorReporter.html | 115 -- .../class-use/DetailedErrorReporter.html | 115 -- .../error/class-use/ErrorReporter.html | 309 ---- .../error/class-use/Report.ReportBuilder.html | 234 --- .../protocol/error/class-use/Report.html | 226 --- .../protocol/error/class-use/ReportType.html | 333 ---- .../protocol/error/package-frame.html | 28 - .../protocol/error/package-summary.html | 182 --- .../protocol/error/package-tree.html | 137 -- .../comphenix/protocol/error/package-use.html | 240 --- .../protocol/events/ConnectionSide.html | 371 ----- .../protocol/events/ListenerPriority.html | 413 ----- .../protocol/events/ListeningWhitelist.html | 506 ------ .../protocol/events/MonitorAdapter.html | 339 ---- .../protocol/events/PacketAdapter.html | 645 -------- .../protocol/events/PacketContainer.html | 864 ---------- .../protocol/events/PacketContainerTest.html | 494 ------ .../protocol/events/PacketEvent.html | 583 ------- .../protocol/events/PacketListener.html | 296 ---- .../events/class-use/ConnectionSide.html | 251 --- .../events/class-use/ListenerPriority.html | 238 --- .../events/class-use/ListeningWhitelist.html | 256 --- .../events/class-use/MonitorAdapter.html | 115 -- .../events/class-use/PacketAdapter.html | 115 -- .../events/class-use/PacketContainer.html | 288 ---- .../events/class-use/PacketContainerTest.html | 115 -- .../events/class-use/PacketEvent.html | 340 ---- .../events/class-use/PacketListener.html | 314 ---- .../protocol/events/package-frame.html | 33 - .../protocol/events/package-summary.html | 201 --- .../protocol/events/package-tree.html | 154 -- .../protocol/events/package-use.html | 249 --- .../injector/SortedCopyOnWriteArrayTest.html | 269 --- .../class-use/SortedCopyOnWriteArrayTest.html | 115 -- .../protocol/injector/package-frame.html | 19 - .../protocol/injector/package-summary.html | 133 -- .../protocol/injector/package-tree.html | 128 -- .../protocol/injector/package-use.html | 194 --- .../protocol/metrics/Metrics.Graph.html | 332 ---- .../protocol/metrics/Metrics.Plotter.html | 353 ---- .../comphenix/protocol/metrics/Metrics.html | 425 ----- .../protocol/metrics/Statistics.html | 231 --- .../metrics/Updater.UpdateResult.html | 465 ------ .../protocol/metrics/Updater.UpdateType.html | 373 ----- .../comphenix/protocol/metrics/Updater.html | 379 ----- .../metrics/class-use/Metrics.Graph.html | 173 -- .../metrics/class-use/Metrics.Plotter.html | 184 --- .../protocol/metrics/class-use/Metrics.html | 115 -- .../metrics/class-use/Statistics.html | 159 -- .../class-use/Updater.UpdateResult.html | 181 --- .../metrics/class-use/Updater.UpdateType.html | 184 --- .../protocol/metrics/class-use/Updater.html | 115 -- .../protocol/metrics/package-frame.html | 28 - .../protocol/metrics/package-summary.html | 180 --- .../protocol/metrics/package-tree.html | 145 -- .../protocol/metrics/package-use.html | 186 --- .../com/comphenix/protocol/package-frame.html | 34 - .../comphenix/protocol/package-summary.html | 232 --- .../com/comphenix/protocol/package-tree.html | 158 -- .../com/comphenix/protocol/package-use.html | 232 --- .../protocol/reflect/EquivalentConverter.html | 254 --- .../reflect/FieldAccessException.html | 326 ---- .../protocol/reflect/FieldUtils.html | 733 --------- .../protocol/reflect/FuzzyReflection.html | 799 --------- .../comphenix/protocol/reflect/IntEnum.html | 395 ----- .../protocol/reflect/MethodInfo.html | 501 ------ .../protocol/reflect/MethodUtils.html | 980 ----------- .../protocol/reflect/ObjectWriter.html | 290 ---- .../protocol/reflect/PrettyPrinter.html | 359 ---- .../protocol/reflect/StructureModifier.html | 990 ------------ .../protocol/reflect/VolatileField.html | 458 ------ .../class-use/EquivalentConverter.html | 300 ---- .../class-use/FieldAccessException.html | 572 ------- .../reflect/class-use/FieldUtils.html | 115 -- .../reflect/class-use/FuzzyReflection.html | 177 -- .../protocol/reflect/class-use/IntEnum.html | 165 -- .../reflect/class-use/MethodInfo.html | 294 ---- .../reflect/class-use/MethodUtils.html | 115 -- .../reflect/class-use/ObjectWriter.html | 155 -- .../reflect/class-use/PrettyPrinter.html | 115 -- .../reflect/class-use/StructureModifier.html | 632 -------- .../reflect/class-use/VolatileField.html | 115 -- .../cloning/AggregateCloner.Builder.html | 324 ---- .../AggregateCloner.BuilderParameters.html | 250 --- .../reflect/cloning/AggregateCloner.html | 363 ----- .../reflect/cloning/BukkitCloner.html | 297 ---- .../protocol/reflect/cloning/Cloner.html | 240 --- .../reflect/cloning/CollectionCloner.html | 318 ---- .../protocol/reflect/cloning/FieldCloner.html | 422 ----- .../reflect/cloning/ImmutableDetector.html | 317 ---- .../reflect/cloning/NullableCloner.html | 346 ---- .../class-use/AggregateCloner.Builder.html | 175 -- .../AggregateCloner.BuilderParameters.html | 157 -- .../cloning/class-use/AggregateCloner.html | 172 -- .../cloning/class-use/BukkitCloner.html | 115 -- .../reflect/cloning/class-use/Cloner.html | 311 ---- .../cloning/class-use/CollectionCloner.html | 115 -- .../cloning/class-use/FieldCloner.html | 115 -- .../cloning/class-use/ImmutableDetector.html | 115 -- .../cloning/class-use/NullableCloner.html | 115 -- .../reflect/cloning/package-frame.html | 30 - .../reflect/cloning/package-summary.html | 194 --- .../reflect/cloning/package-tree.html | 139 -- .../protocol/reflect/cloning/package-use.html | 165 -- .../reflect/compiler/BackgroundCompiler.html | 584 ------- .../reflect/compiler/CompileListener.html | 214 --- .../compiler/CompiledStructureModifier.html | 505 ------ .../reflect/compiler/StructureCompiler.html | 287 ---- .../class-use/BackgroundCompiler.html | 172 -- .../compiler/class-use/CompileListener.html | 165 -- .../class-use/CompiledStructureModifier.html | 115 -- .../compiler/class-use/StructureCompiler.html | 170 -- .../reflect/compiler/package-frame.html | 25 - .../reflect/compiler/package-summary.html | 164 -- .../reflect/compiler/package-tree.html | 138 -- .../reflect/compiler/package-use.html | 160 -- .../reflect/fuzzy/AbstractFuzzyMatcher.html | 430 ----- .../fuzzy/AbstractFuzzyMember.Builder.html | 491 ------ .../reflect/fuzzy/AbstractFuzzyMember.html | 604 ------- .../fuzzy/FuzzyClassContract.Builder.html | 443 ----- .../reflect/fuzzy/FuzzyClassContract.html | 430 ----- .../fuzzy/FuzzyFieldContract.Builder.html | 567 ------- .../reflect/fuzzy/FuzzyFieldContract.html | 419 ----- .../protocol/reflect/fuzzy/FuzzyMatchers.html | 359 ---- .../fuzzy/FuzzyMethodContract.Builder.html | 836 ---------- .../reflect/fuzzy/FuzzyMethodContract.html | 493 ------ .../fuzzy/class-use/AbstractFuzzyMatcher.html | 527 ------ .../AbstractFuzzyMember.Builder.html | 226 --- .../fuzzy/class-use/AbstractFuzzyMember.html | 202 --- .../class-use/FuzzyClassContract.Builder.html | 238 --- .../fuzzy/class-use/FuzzyClassContract.html | 155 -- .../class-use/FuzzyFieldContract.Builder.html | 224 --- .../fuzzy/class-use/FuzzyFieldContract.html | 159 -- .../fuzzy/class-use/FuzzyMatchers.html | 115 -- .../FuzzyMethodContract.Builder.html | 322 ---- .../fuzzy/class-use/FuzzyMethodContract.html | 159 -- .../protocol/reflect/fuzzy/package-frame.html | 28 - .../reflect/fuzzy/package-summary.html | 189 --- .../protocol/reflect/fuzzy/package-tree.html | 146 -- .../protocol/reflect/fuzzy/package-use.html | 253 --- .../reflect/instances/BannedGenerator.html | 290 ---- .../instances/CollectionGenerator.html | 313 ---- .../reflect/instances/DefaultInstances.html | 610 ------- .../reflect/instances/ExistingGenerator.html | 304 ---- .../reflect/instances/InstanceProvider.html | 221 --- .../instances/NotConstructableException.html | 314 ---- .../reflect/instances/PrimitiveGenerator.html | 347 ---- .../instances/class-use/BannedGenerator.html | 115 -- .../class-use/CollectionGenerator.html | 157 -- .../instances/class-use/DefaultInstances.html | 197 --- .../class-use/ExistingGenerator.html | 170 -- .../instances/class-use/InstanceProvider.html | 331 ---- .../class-use/NotConstructableException.html | 115 -- .../class-use/PrimitiveGenerator.html | 157 -- .../reflect/instances/package-frame.html | 31 - .../reflect/instances/package-summary.html | 194 --- .../reflect/instances/package-tree.html | 153 -- .../reflect/instances/package-use.html | 191 --- .../protocol/reflect/package-frame.html | 35 - .../protocol/reflect/package-summary.html | 217 --- .../protocol/reflect/package-tree.html | 153 -- .../protocol/reflect/package-use.html | 344 ---- .../protocol/utility/ChatExtensions.html | 313 ---- .../protocol/utility/MinecraftMethods.html | 263 --- .../protocol/utility/MinecraftReflection.html | 1233 -------------- .../protocol/utility/MinecraftVersion.html | 486 ------ .../protocol/utility/StreamSerializer.html | 344 ---- .../utility/WrappedScheduler.TaskWrapper.html | 214 --- .../protocol/utility/WrappedScheduler.html | 339 ---- .../utility/class-use/ChatExtensions.html | 115 -- .../utility/class-use/MinecraftMethods.html | 115 -- .../class-use/MinecraftReflection.html | 115 -- .../utility/class-use/MinecraftVersion.html | 155 -- .../utility/class-use/StreamSerializer.html | 157 -- .../WrappedScheduler.TaskWrapper.html | 178 -- .../utility/class-use/WrappedScheduler.html | 115 -- .../protocol/utility/package-frame.html | 28 - .../protocol/utility/package-summary.html | 182 --- .../protocol/utility/package-tree.html | 137 -- .../protocol/utility/package-use.html | 176 -- .../protocol/wrappers/BukkitConverters.html | 382 ----- .../protocol/wrappers/ChunkPosition.html | 538 ------ .../protocol/wrappers/TroveWrapper.html | 315 ---- .../wrappers/WrappedChunkCoordinate.html | 525 ------ .../protocol/wrappers/WrappedDataWatcher.html | 812 ---------- .../wrappers/WrappedWatchableObject.html | 607 ------- .../wrappers/class-use/BukkitConverters.html | 115 -- .../wrappers/class-use/ChunkPosition.html | 275 ---- .../wrappers/class-use/TroveWrapper.html | 115 -- .../class-use/WrappedChunkCoordinate.html | 170 -- .../class-use/WrappedDataWatcher.html | 202 --- .../class-use/WrappedWatchableObject.html | 225 --- .../protocol/wrappers/nbt/NbtBase.html | 344 ---- .../protocol/wrappers/nbt/NbtCompound.html | 1058 ------------ .../nbt/NbtCompoundTest.NbtCustomTag.html | 425 ----- .../wrappers/nbt/NbtCompoundTest.html | 293 ---- .../protocol/wrappers/nbt/NbtFactory.html | 682 -------- .../protocol/wrappers/nbt/NbtFactoryTest.html | 272 ---- .../protocol/wrappers/nbt/NbtList.html | 569 ------- .../protocol/wrappers/nbt/NbtType.html | 569 ------- .../protocol/wrappers/nbt/NbtVisitor.html | 286 ---- .../protocol/wrappers/nbt/NbtWrapper.html | 245 --- .../wrappers/nbt/class-use/NbtBase.html | 473 ------ .../wrappers/nbt/class-use/NbtCompound.html | 348 ---- .../NbtCompoundTest.NbtCustomTag.html | 115 -- .../nbt/class-use/NbtCompoundTest.html | 115 -- .../wrappers/nbt/class-use/NbtFactory.html | 115 -- .../nbt/class-use/NbtFactoryTest.html | 115 -- .../wrappers/nbt/class-use/NbtList.html | 247 --- .../wrappers/nbt/class-use/NbtType.html | 252 --- .../wrappers/nbt/class-use/NbtVisitor.html | 161 -- .../wrappers/nbt/class-use/NbtWrapper.html | 229 --- .../wrappers/nbt/io/NbtBinarySerializer.html | 355 ---- .../nbt/io/NbtConfigurationSerializer.html | 435 ----- .../io/NbtConfigurationSerializerTest.html | 272 ---- .../wrappers/nbt/io/NbtTextSerializer.html | 399 ----- .../nbt/io/class-use/NbtBinarySerializer.html | 185 --- .../class-use/NbtConfigurationSerializer.html | 157 -- .../NbtConfigurationSerializerTest.html | 115 -- .../nbt/io/class-use/NbtTextSerializer.html | 157 -- .../wrappers/nbt/io/package-frame.html | 22 - .../wrappers/nbt/io/package-summary.html | 149 -- .../wrappers/nbt/io/package-tree.html | 131 -- .../protocol/wrappers/nbt/io/package-use.html | 158 -- .../protocol/wrappers/nbt/package-frame.html | 34 - .../wrappers/nbt/package-summary.html | 207 --- .../protocol/wrappers/nbt/package-tree.html | 160 -- .../protocol/wrappers/nbt/package-use.html | 258 --- .../protocol/wrappers/package-frame.html | 24 - .../protocol/wrappers/package-summary.html | 165 -- .../protocol/wrappers/package-tree.html | 133 -- .../protocol/wrappers/package-use.html | 196 --- Javadoc/constant-values.html | 1097 ------------- Javadoc/deprecated-list.html | 162 -- Javadoc/help-doc.html | 220 --- Javadoc/index-files/index-1.html | 344 ---- Javadoc/index-files/index-10.html | 140 -- Javadoc/index-files/index-11.html | 154 -- Javadoc/index-files/index-12.html | 278 ---- Javadoc/index-files/index-13.html | 277 ---- Javadoc/index-files/index-14.html | 232 --- Javadoc/index-files/index-15.html | 380 ----- Javadoc/index-files/index-16.html | 450 ------ Javadoc/index-files/index-17.html | 515 ------ Javadoc/index-files/index-18.html | 268 --- Javadoc/index-files/index-19.html | 174 -- Javadoc/index-files/index-2.html | 238 --- Javadoc/index-files/index-20.html | 226 --- Javadoc/index-files/index-21.html | 264 --- Javadoc/index-files/index-22.html | 120 -- Javadoc/index-files/index-23.html | 120 -- Javadoc/index-files/index-24.html | 120 -- Javadoc/index-files/index-3.html | 433 ----- Javadoc/index-files/index-4.html | 318 ---- Javadoc/index-files/index-5.html | 242 --- Javadoc/index-files/index-6.html | 304 ---- Javadoc/index-files/index-7.html | 1437 ----------------- Javadoc/index-files/index-8.html | 186 --- Javadoc/index-files/index-9.html | 494 ------ Javadoc/index.html | 33 - Javadoc/overview-frame.html | 35 - Javadoc/overview-summary.html | 188 --- Javadoc/overview-tree.html | 333 ---- Javadoc/package-list | 16 - Javadoc/resources/background.gif | Bin 2313 -> 0 bytes Javadoc/resources/tab.gif | Bin 291 -> 0 bytes Javadoc/resources/titlebar.gif | Bin 10701 -> 0 bytes Javadoc/resources/titlebar_end.gif | Bin 849 -> 0 bytes Javadoc/serialized-form.html | 355 ---- Javadoc/stylesheet.css | 474 ------ 340 files changed, 95243 deletions(-) delete mode 100644 Javadoc/allclasses-frame.html delete mode 100644 Javadoc/allclasses-noframe.html delete mode 100644 Javadoc/com/comphenix/protocol/Application.html delete mode 100644 Javadoc/com/comphenix/protocol/AsynchronousManager.html delete mode 100644 Javadoc/com/comphenix/protocol/BukkitInitialization.html delete mode 100644 Javadoc/com/comphenix/protocol/CommandFilter.Filter.html delete mode 100644 Javadoc/com/comphenix/protocol/CommandFilter.FilterFailedHandler.html delete mode 100644 Javadoc/com/comphenix/protocol/CommandFilter.html delete mode 100644 Javadoc/com/comphenix/protocol/MinecraftVersionTest.html delete mode 100644 Javadoc/com/comphenix/protocol/PacketStream.html delete mode 100644 Javadoc/com/comphenix/protocol/Packets.Client.html delete mode 100644 Javadoc/com/comphenix/protocol/Packets.Server.html delete mode 100644 Javadoc/com/comphenix/protocol/Packets.html delete mode 100644 Javadoc/com/comphenix/protocol/ProtocolLibrary.html delete mode 100644 Javadoc/com/comphenix/protocol/ProtocolManager.html delete mode 100644 Javadoc/com/comphenix/protocol/async/AsyncFilterManager.html delete mode 100644 Javadoc/com/comphenix/protocol/async/AsyncListenerHandler.html delete mode 100644 Javadoc/com/comphenix/protocol/async/AsyncMarker.html delete mode 100644 Javadoc/com/comphenix/protocol/async/AsyncRunnable.html delete mode 100644 Javadoc/com/comphenix/protocol/async/class-use/AsyncFilterManager.html delete mode 100644 Javadoc/com/comphenix/protocol/async/class-use/AsyncListenerHandler.html delete mode 100644 Javadoc/com/comphenix/protocol/async/class-use/AsyncMarker.html delete mode 100644 Javadoc/com/comphenix/protocol/async/class-use/AsyncRunnable.html delete mode 100644 Javadoc/com/comphenix/protocol/async/package-frame.html delete mode 100644 Javadoc/com/comphenix/protocol/async/package-summary.html delete mode 100644 Javadoc/com/comphenix/protocol/async/package-tree.html delete mode 100644 Javadoc/com/comphenix/protocol/async/package-use.html delete mode 100644 Javadoc/com/comphenix/protocol/class-use/Application.html delete mode 100644 Javadoc/com/comphenix/protocol/class-use/AsynchronousManager.html delete mode 100644 Javadoc/com/comphenix/protocol/class-use/BukkitInitialization.html delete mode 100644 Javadoc/com/comphenix/protocol/class-use/CommandFilter.Filter.html delete mode 100644 Javadoc/com/comphenix/protocol/class-use/CommandFilter.FilterFailedHandler.html delete mode 100644 Javadoc/com/comphenix/protocol/class-use/CommandFilter.html delete mode 100644 Javadoc/com/comphenix/protocol/class-use/MinecraftVersionTest.html delete mode 100644 Javadoc/com/comphenix/protocol/class-use/PacketStream.html delete mode 100644 Javadoc/com/comphenix/protocol/class-use/Packets.Client.html delete mode 100644 Javadoc/com/comphenix/protocol/class-use/Packets.Server.html delete mode 100644 Javadoc/com/comphenix/protocol/class-use/Packets.html delete mode 100644 Javadoc/com/comphenix/protocol/class-use/ProtocolLibrary.html delete mode 100644 Javadoc/com/comphenix/protocol/class-use/ProtocolManager.html delete mode 100644 Javadoc/com/comphenix/protocol/concurrency/AbstractConcurrentListenerMultimap.html delete mode 100644 Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.EndPoint.html delete mode 100644 Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.Entry.html delete mode 100644 Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.State.html delete mode 100644 Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.html delete mode 100644 Javadoc/com/comphenix/protocol/concurrency/BlockingHashMap.html delete mode 100644 Javadoc/com/comphenix/protocol/concurrency/BlockingHashMapTest.html delete mode 100644 Javadoc/com/comphenix/protocol/concurrency/IntegerSet.html delete mode 100644 Javadoc/com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html delete mode 100644 Javadoc/com/comphenix/protocol/concurrency/class-use/AbstractConcurrentListenerMultimap.html delete mode 100644 Javadoc/com/comphenix/protocol/concurrency/class-use/AbstractIntervalTree.EndPoint.html delete mode 100644 Javadoc/com/comphenix/protocol/concurrency/class-use/AbstractIntervalTree.Entry.html delete mode 100644 Javadoc/com/comphenix/protocol/concurrency/class-use/AbstractIntervalTree.State.html delete mode 100644 Javadoc/com/comphenix/protocol/concurrency/class-use/AbstractIntervalTree.html delete mode 100644 Javadoc/com/comphenix/protocol/concurrency/class-use/BlockingHashMap.html delete mode 100644 Javadoc/com/comphenix/protocol/concurrency/class-use/BlockingHashMapTest.html delete mode 100644 Javadoc/com/comphenix/protocol/concurrency/class-use/IntegerSet.html delete mode 100644 Javadoc/com/comphenix/protocol/concurrency/class-use/SortedCopyOnWriteArray.html delete mode 100644 Javadoc/com/comphenix/protocol/concurrency/package-frame.html delete mode 100644 Javadoc/com/comphenix/protocol/concurrency/package-summary.html delete mode 100644 Javadoc/com/comphenix/protocol/concurrency/package-tree.html delete mode 100644 Javadoc/com/comphenix/protocol/concurrency/package-use.html delete mode 100644 Javadoc/com/comphenix/protocol/error/BasicErrorReporter.html delete mode 100644 Javadoc/com/comphenix/protocol/error/DelegatedErrorReporter.html delete mode 100644 Javadoc/com/comphenix/protocol/error/DetailedErrorReporter.html delete mode 100644 Javadoc/com/comphenix/protocol/error/ErrorReporter.html delete mode 100644 Javadoc/com/comphenix/protocol/error/Report.ReportBuilder.html delete mode 100644 Javadoc/com/comphenix/protocol/error/Report.html delete mode 100644 Javadoc/com/comphenix/protocol/error/ReportType.html delete mode 100644 Javadoc/com/comphenix/protocol/error/class-use/BasicErrorReporter.html delete mode 100644 Javadoc/com/comphenix/protocol/error/class-use/DelegatedErrorReporter.html delete mode 100644 Javadoc/com/comphenix/protocol/error/class-use/DetailedErrorReporter.html delete mode 100644 Javadoc/com/comphenix/protocol/error/class-use/ErrorReporter.html delete mode 100644 Javadoc/com/comphenix/protocol/error/class-use/Report.ReportBuilder.html delete mode 100644 Javadoc/com/comphenix/protocol/error/class-use/Report.html delete mode 100644 Javadoc/com/comphenix/protocol/error/class-use/ReportType.html delete mode 100644 Javadoc/com/comphenix/protocol/error/package-frame.html delete mode 100644 Javadoc/com/comphenix/protocol/error/package-summary.html delete mode 100644 Javadoc/com/comphenix/protocol/error/package-tree.html delete mode 100644 Javadoc/com/comphenix/protocol/error/package-use.html delete mode 100644 Javadoc/com/comphenix/protocol/events/ConnectionSide.html delete mode 100644 Javadoc/com/comphenix/protocol/events/ListenerPriority.html delete mode 100644 Javadoc/com/comphenix/protocol/events/ListeningWhitelist.html delete mode 100644 Javadoc/com/comphenix/protocol/events/MonitorAdapter.html delete mode 100644 Javadoc/com/comphenix/protocol/events/PacketAdapter.html delete mode 100644 Javadoc/com/comphenix/protocol/events/PacketContainer.html delete mode 100644 Javadoc/com/comphenix/protocol/events/PacketContainerTest.html delete mode 100644 Javadoc/com/comphenix/protocol/events/PacketEvent.html delete mode 100644 Javadoc/com/comphenix/protocol/events/PacketListener.html delete mode 100644 Javadoc/com/comphenix/protocol/events/class-use/ConnectionSide.html delete mode 100644 Javadoc/com/comphenix/protocol/events/class-use/ListenerPriority.html delete mode 100644 Javadoc/com/comphenix/protocol/events/class-use/ListeningWhitelist.html delete mode 100644 Javadoc/com/comphenix/protocol/events/class-use/MonitorAdapter.html delete mode 100644 Javadoc/com/comphenix/protocol/events/class-use/PacketAdapter.html delete mode 100644 Javadoc/com/comphenix/protocol/events/class-use/PacketContainer.html delete mode 100644 Javadoc/com/comphenix/protocol/events/class-use/PacketContainerTest.html delete mode 100644 Javadoc/com/comphenix/protocol/events/class-use/PacketEvent.html delete mode 100644 Javadoc/com/comphenix/protocol/events/class-use/PacketListener.html delete mode 100644 Javadoc/com/comphenix/protocol/events/package-frame.html delete mode 100644 Javadoc/com/comphenix/protocol/events/package-summary.html delete mode 100644 Javadoc/com/comphenix/protocol/events/package-tree.html delete mode 100644 Javadoc/com/comphenix/protocol/events/package-use.html delete mode 100644 Javadoc/com/comphenix/protocol/injector/SortedCopyOnWriteArrayTest.html delete mode 100644 Javadoc/com/comphenix/protocol/injector/class-use/SortedCopyOnWriteArrayTest.html delete mode 100644 Javadoc/com/comphenix/protocol/injector/package-frame.html delete mode 100644 Javadoc/com/comphenix/protocol/injector/package-summary.html delete mode 100644 Javadoc/com/comphenix/protocol/injector/package-tree.html delete mode 100644 Javadoc/com/comphenix/protocol/injector/package-use.html delete mode 100644 Javadoc/com/comphenix/protocol/metrics/Metrics.Graph.html delete mode 100644 Javadoc/com/comphenix/protocol/metrics/Metrics.Plotter.html delete mode 100644 Javadoc/com/comphenix/protocol/metrics/Metrics.html delete mode 100644 Javadoc/com/comphenix/protocol/metrics/Statistics.html delete mode 100644 Javadoc/com/comphenix/protocol/metrics/Updater.UpdateResult.html delete mode 100644 Javadoc/com/comphenix/protocol/metrics/Updater.UpdateType.html delete mode 100644 Javadoc/com/comphenix/protocol/metrics/Updater.html delete mode 100644 Javadoc/com/comphenix/protocol/metrics/class-use/Metrics.Graph.html delete mode 100644 Javadoc/com/comphenix/protocol/metrics/class-use/Metrics.Plotter.html delete mode 100644 Javadoc/com/comphenix/protocol/metrics/class-use/Metrics.html delete mode 100644 Javadoc/com/comphenix/protocol/metrics/class-use/Statistics.html delete mode 100644 Javadoc/com/comphenix/protocol/metrics/class-use/Updater.UpdateResult.html delete mode 100644 Javadoc/com/comphenix/protocol/metrics/class-use/Updater.UpdateType.html delete mode 100644 Javadoc/com/comphenix/protocol/metrics/class-use/Updater.html delete mode 100644 Javadoc/com/comphenix/protocol/metrics/package-frame.html delete mode 100644 Javadoc/com/comphenix/protocol/metrics/package-summary.html delete mode 100644 Javadoc/com/comphenix/protocol/metrics/package-tree.html delete mode 100644 Javadoc/com/comphenix/protocol/metrics/package-use.html delete mode 100644 Javadoc/com/comphenix/protocol/package-frame.html delete mode 100644 Javadoc/com/comphenix/protocol/package-summary.html delete mode 100644 Javadoc/com/comphenix/protocol/package-tree.html delete mode 100644 Javadoc/com/comphenix/protocol/package-use.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/EquivalentConverter.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/FieldAccessException.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/FieldUtils.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/FuzzyReflection.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/IntEnum.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/MethodInfo.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/MethodUtils.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/ObjectWriter.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/PrettyPrinter.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/StructureModifier.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/VolatileField.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/class-use/EquivalentConverter.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/class-use/FieldAccessException.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/class-use/FieldUtils.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/class-use/FuzzyReflection.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/class-use/IntEnum.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/class-use/MethodInfo.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/class-use/MethodUtils.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/class-use/ObjectWriter.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/class-use/PrettyPrinter.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/class-use/StructureModifier.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/class-use/VolatileField.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/cloning/AggregateCloner.Builder.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/cloning/AggregateCloner.BuilderParameters.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/cloning/AggregateCloner.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/cloning/BukkitCloner.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/cloning/Cloner.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/cloning/CollectionCloner.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/cloning/FieldCloner.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/cloning/ImmutableDetector.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/cloning/NullableCloner.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/cloning/class-use/AggregateCloner.Builder.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/cloning/class-use/AggregateCloner.BuilderParameters.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/cloning/class-use/AggregateCloner.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/cloning/class-use/BukkitCloner.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/cloning/class-use/Cloner.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/cloning/class-use/CollectionCloner.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/cloning/class-use/FieldCloner.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/cloning/class-use/ImmutableDetector.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/cloning/class-use/NullableCloner.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/cloning/package-frame.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/cloning/package-summary.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/cloning/package-tree.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/cloning/package-use.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/compiler/BackgroundCompiler.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/compiler/CompileListener.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/compiler/StructureCompiler.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/compiler/class-use/BackgroundCompiler.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/compiler/class-use/CompileListener.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/compiler/class-use/CompiledStructureModifier.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/compiler/class-use/StructureCompiler.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/compiler/package-frame.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/compiler/package-summary.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/compiler/package-tree.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/compiler/package-use.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMatcher.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMember.Builder.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMember.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/fuzzy/FuzzyClassContract.Builder.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/fuzzy/FuzzyClassContract.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/fuzzy/FuzzyFieldContract.Builder.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/fuzzy/FuzzyFieldContract.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/fuzzy/FuzzyMatchers.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/fuzzy/class-use/AbstractFuzzyMatcher.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/fuzzy/class-use/AbstractFuzzyMember.Builder.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/fuzzy/class-use/AbstractFuzzyMember.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/fuzzy/class-use/FuzzyClassContract.Builder.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/fuzzy/class-use/FuzzyClassContract.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/fuzzy/class-use/FuzzyFieldContract.Builder.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/fuzzy/class-use/FuzzyFieldContract.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/fuzzy/class-use/FuzzyMatchers.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/fuzzy/class-use/FuzzyMethodContract.Builder.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/fuzzy/class-use/FuzzyMethodContract.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/fuzzy/package-frame.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/fuzzy/package-summary.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/fuzzy/package-tree.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/fuzzy/package-use.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/instances/BannedGenerator.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/instances/CollectionGenerator.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/instances/DefaultInstances.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/instances/ExistingGenerator.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/instances/InstanceProvider.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/instances/NotConstructableException.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/instances/PrimitiveGenerator.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/instances/class-use/BannedGenerator.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/instances/class-use/CollectionGenerator.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/instances/class-use/DefaultInstances.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/instances/class-use/ExistingGenerator.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/instances/class-use/InstanceProvider.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/instances/class-use/NotConstructableException.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/instances/class-use/PrimitiveGenerator.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/instances/package-frame.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/instances/package-summary.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/instances/package-tree.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/instances/package-use.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/package-frame.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/package-summary.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/package-tree.html delete mode 100644 Javadoc/com/comphenix/protocol/reflect/package-use.html delete mode 100644 Javadoc/com/comphenix/protocol/utility/ChatExtensions.html delete mode 100644 Javadoc/com/comphenix/protocol/utility/MinecraftMethods.html delete mode 100644 Javadoc/com/comphenix/protocol/utility/MinecraftReflection.html delete mode 100644 Javadoc/com/comphenix/protocol/utility/MinecraftVersion.html delete mode 100644 Javadoc/com/comphenix/protocol/utility/StreamSerializer.html delete mode 100644 Javadoc/com/comphenix/protocol/utility/WrappedScheduler.TaskWrapper.html delete mode 100644 Javadoc/com/comphenix/protocol/utility/WrappedScheduler.html delete mode 100644 Javadoc/com/comphenix/protocol/utility/class-use/ChatExtensions.html delete mode 100644 Javadoc/com/comphenix/protocol/utility/class-use/MinecraftMethods.html delete mode 100644 Javadoc/com/comphenix/protocol/utility/class-use/MinecraftReflection.html delete mode 100644 Javadoc/com/comphenix/protocol/utility/class-use/MinecraftVersion.html delete mode 100644 Javadoc/com/comphenix/protocol/utility/class-use/StreamSerializer.html delete mode 100644 Javadoc/com/comphenix/protocol/utility/class-use/WrappedScheduler.TaskWrapper.html delete mode 100644 Javadoc/com/comphenix/protocol/utility/class-use/WrappedScheduler.html delete mode 100644 Javadoc/com/comphenix/protocol/utility/package-frame.html delete mode 100644 Javadoc/com/comphenix/protocol/utility/package-summary.html delete mode 100644 Javadoc/com/comphenix/protocol/utility/package-tree.html delete mode 100644 Javadoc/com/comphenix/protocol/utility/package-use.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/BukkitConverters.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/ChunkPosition.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/TroveWrapper.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/WrappedChunkCoordinate.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/WrappedDataWatcher.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/WrappedWatchableObject.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/class-use/BukkitConverters.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/class-use/ChunkPosition.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/class-use/TroveWrapper.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedChunkCoordinate.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedDataWatcher.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedWatchableObject.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/nbt/NbtBase.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/nbt/NbtCompound.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/nbt/NbtCompoundTest.NbtCustomTag.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/nbt/NbtCompoundTest.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/nbt/NbtFactory.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/nbt/NbtFactoryTest.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/nbt/NbtList.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/nbt/NbtType.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/nbt/NbtVisitor.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/nbt/NbtWrapper.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtBase.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtCompound.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtCompoundTest.NbtCustomTag.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtCompoundTest.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtFactory.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtFactoryTest.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtList.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtType.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtVisitor.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtWrapper.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtBinarySerializer.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtConfigurationSerializer.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtConfigurationSerializerTest.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtTextSerializer.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtBinarySerializer.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtConfigurationSerializer.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtConfigurationSerializerTest.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtTextSerializer.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-frame.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-summary.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-tree.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-use.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/nbt/package-frame.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/nbt/package-summary.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/nbt/package-tree.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/nbt/package-use.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/package-frame.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/package-summary.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/package-tree.html delete mode 100644 Javadoc/com/comphenix/protocol/wrappers/package-use.html delete mode 100644 Javadoc/constant-values.html delete mode 100644 Javadoc/deprecated-list.html delete mode 100644 Javadoc/help-doc.html delete mode 100644 Javadoc/index-files/index-1.html delete mode 100644 Javadoc/index-files/index-10.html delete mode 100644 Javadoc/index-files/index-11.html delete mode 100644 Javadoc/index-files/index-12.html delete mode 100644 Javadoc/index-files/index-13.html delete mode 100644 Javadoc/index-files/index-14.html delete mode 100644 Javadoc/index-files/index-15.html delete mode 100644 Javadoc/index-files/index-16.html delete mode 100644 Javadoc/index-files/index-17.html delete mode 100644 Javadoc/index-files/index-18.html delete mode 100644 Javadoc/index-files/index-19.html delete mode 100644 Javadoc/index-files/index-2.html delete mode 100644 Javadoc/index-files/index-20.html delete mode 100644 Javadoc/index-files/index-21.html delete mode 100644 Javadoc/index-files/index-22.html delete mode 100644 Javadoc/index-files/index-23.html delete mode 100644 Javadoc/index-files/index-24.html delete mode 100644 Javadoc/index-files/index-3.html delete mode 100644 Javadoc/index-files/index-4.html delete mode 100644 Javadoc/index-files/index-5.html delete mode 100644 Javadoc/index-files/index-6.html delete mode 100644 Javadoc/index-files/index-7.html delete mode 100644 Javadoc/index-files/index-8.html delete mode 100644 Javadoc/index-files/index-9.html delete mode 100644 Javadoc/index.html delete mode 100644 Javadoc/overview-frame.html delete mode 100644 Javadoc/overview-summary.html delete mode 100644 Javadoc/overview-tree.html delete mode 100644 Javadoc/package-list delete mode 100644 Javadoc/resources/background.gif delete mode 100644 Javadoc/resources/tab.gif delete mode 100644 Javadoc/resources/titlebar.gif delete mode 100644 Javadoc/resources/titlebar_end.gif delete mode 100644 Javadoc/serialized-form.html delete mode 100644 Javadoc/stylesheet.css diff --git a/Javadoc/allclasses-frame.html b/Javadoc/allclasses-frame.html deleted file mode 100644 index 83527ff6..00000000 --- a/Javadoc/allclasses-frame.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - -All Classes - - - - -

All Classes

-
- -
- - diff --git a/Javadoc/allclasses-noframe.html b/Javadoc/allclasses-noframe.html deleted file mode 100644 index bb9aee4b..00000000 --- a/Javadoc/allclasses-noframe.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - -All Classes - - - - -

All Classes

-
- -
- - diff --git a/Javadoc/com/comphenix/protocol/Application.html b/Javadoc/com/comphenix/protocol/Application.html deleted file mode 100644 index 48e39b14..00000000 --- a/Javadoc/com/comphenix/protocol/Application.html +++ /dev/null @@ -1,259 +0,0 @@ - - - - - -Application - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol
-

Class Application

-
-
- -
-
    -
  • -
    -
    -
    public class Application
    -extends java.lang.Object
    -
    Ignore this class.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      Application() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      static voidmain(java.lang.String[] args) 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Application

        -
        public Application()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        main

        -
        public static void main(java.lang.String[] args)
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/AsynchronousManager.html b/Javadoc/com/comphenix/protocol/AsynchronousManager.html deleted file mode 100644 index 3613e920..00000000 --- a/Javadoc/com/comphenix/protocol/AsynchronousManager.html +++ /dev/null @@ -1,433 +0,0 @@ - - - - - -AsynchronousManager - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol
-

Interface AsynchronousManager

-
-
-
-
    -
  • -
    -
    All Known Implementing Classes:
    -
    AsyncFilterManager
    -
    -
    -
    -
    public interface AsynchronousManager
    -
    Represents a asynchronous packet handler.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        registerAsyncHandler

        -
        AsyncListenerHandler registerAsyncHandler(PacketListener listener)
        -
        Registers an asynchronous packet handler. -

        - Use AsyncMarker.incrementProcessingDelay() to delay a packet until its ready to be transmitted. -

        - To start listening asynchronously, pass the getListenerLoop() runnable to a different thread.

        -
        Parameters:
        listener - - the packet listener that will recieve these asynchronous events.
        -
        Returns:
        An asynchrouns handler.
        -
      • -
      - - - -
        -
      • -

        unregisterAsyncHandler

        -
        void unregisterAsyncHandler(AsyncListenerHandler handler)
        -
        Unregisters and closes the given asynchronous handler.
        -
        Parameters:
        handler - - asynchronous handler.
        -
      • -
      - - - -
        -
      • -

        unregisterAsyncHandlers

        -
        void unregisterAsyncHandlers(org.bukkit.plugin.Plugin plugin)
        -
        Unregisters every asynchronous handler associated with this plugin.
        -
        Parameters:
        plugin - - the original plugin.
        -
      • -
      - - - -
        -
      • -

        getSendingFilters

        -
        java.util.Set<java.lang.Integer> getSendingFilters()
        -
        Retrieves a immutable set containing the ID of the sent server packets that will be - observed by the asynchronous listeners.
        -
        Returns:
        Every filtered server packet.
        -
      • -
      - - - -
        -
      • -

        getReceivingFilters

        -
        java.util.Set<java.lang.Integer> getReceivingFilters()
        -
        Retrieves a immutable set containing the ID of the recieved client packets that will be - observed by the asynchronous listeners.
        -
        Returns:
        Every filtered client packet.
        -
      • -
      - - - -
        -
      • -

        hasAsynchronousListeners

        -
        boolean hasAsynchronousListeners(PacketEvent packet)
        -
        Determine if a given synchronous packet has asynchronous listeners.
        -
        Parameters:
        packet - - packet to test.
        -
        Returns:
        TRUE if it does, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        getPacketStream

        -
        PacketStream getPacketStream()
        -
        Retrieve the default packet stream.
        -
        Returns:
        Default packet stream.
        -
      • -
      - - - -
        -
      • -

        getErrorReporter

        -
        ErrorReporter getErrorReporter()
        -
        Retrieve the default error reporter.
        -
        Returns:
        Default reporter.
        -
      • -
      - - - -
        -
      • -

        cleanupAll

        -
        void cleanupAll()
        -
        Remove listeners, close threads and transmit every delayed packet.
        -
      • -
      - - - -
        -
      • -

        signalPacketTransmission

        -
        void signalPacketTransmission(PacketEvent packet)
        -
        Signal that a packet is ready to be transmitted. -

        - This should only be called if AsyncMarker.incrementProcessingDelay() - has been called previously.

        -
        Parameters:
        packet - - packet to signal.
        -
      • -
      - - - -
        -
      • -

        registerTimeoutHandler

        -
        void registerTimeoutHandler(PacketListener listener)
        -
        Register a synchronous listener that handles packets when they time out.
        -
        Parameters:
        listener - - synchronous listener that will handle timed out packets.
        -
      • -
      - - - -
        -
      • -

        unregisterTimeoutHandler

        -
        void unregisterTimeoutHandler(PacketListener listener)
        -
        Unregisters a given timeout listener.
        -
        Parameters:
        listener - - the timeout listener to unregister.
        -
      • -
      - - - -
        -
      • -

        getTimeoutHandlers

        -
        java.util.Set<PacketListener> getTimeoutHandlers()
        -
        Get a immutable list of every registered timeout handler.
        -
        Returns:
        List of every registered timeout handler.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/BukkitInitialization.html b/Javadoc/com/comphenix/protocol/BukkitInitialization.html deleted file mode 100644 index 9fb6e4c3..00000000 --- a/Javadoc/com/comphenix/protocol/BukkitInitialization.html +++ /dev/null @@ -1,281 +0,0 @@ - - - - - -BukkitInitialization - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol
-

Class BukkitInitialization

-
-
- -
-
    -
  • -
    -
    -
    public class BukkitInitialization
    -extends java.lang.Object
    -
    Used to ensure that ProtocolLib and Bukkit is prepared to be tested.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      static voidinitializeItemMeta() -
      Initialize Bukkit and ProtocolLib such that we can perfrom unit testing.
      -
      static voidinitializePackage() -
      Ensure that package names are correctly set up.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        BukkitInitialization

        -
        public BukkitInitialization()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        initializeItemMeta

        -
        public static void initializeItemMeta()
        -                               throws java.lang.IllegalAccessException
        -
        Initialize Bukkit and ProtocolLib such that we can perfrom unit testing.
        -
        Throws:
        -
        java.lang.IllegalAccessException - If we are unable to initialize Bukkit.
        -
      • -
      - - - -
        -
      • -

        initializePackage

        -
        public static void initializePackage()
        -
        Ensure that package names are correctly set up.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/CommandFilter.Filter.html b/Javadoc/com/comphenix/protocol/CommandFilter.Filter.html deleted file mode 100644 index 49da33ac..00000000 --- a/Javadoc/com/comphenix/protocol/CommandFilter.Filter.html +++ /dev/null @@ -1,371 +0,0 @@ - - - - - -CommandFilter.Filter - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol
-

Class CommandFilter.Filter

-
-
- -
-
    -
  • -
    -
    Enclosing class:
    -
    CommandFilter
    -
    -
    -
    -
    public static class CommandFilter.Filter
    -extends java.lang.Object
    -
    A filter that will be used to process a packet event.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      CommandFilter.Filter(java.lang.String name, - java.lang.String predicate, - java.util.Set<java.lang.Integer> packets) -
      Construct a new immutable filter.
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      voidclose(javax.script.ScriptEngine context) -
      Clean up all associated code from this filter in the provided script engine.
      -
      voidcompile(javax.script.ScriptEngine context) -
      Force the compilation of a specific filter.
      -
      booleanevaluate(javax.script.ScriptEngine context, - PacketEvent event) -
      Evaluate the current filter using the provided ScriptEngine as context.
      -
      java.lang.StringgetName() -
      Retrieve the unique name of the filter.
      -
      java.lang.StringgetPredicate() -
      Retrieve the JavaScript predicate that will be used to filter packet events.
      -
      java.util.Set<java.lang.Integer>getRanges() -
      Retrieve a copy of the set of packets this filter applies to.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        CommandFilter.Filter

        -
        public CommandFilter.Filter(java.lang.String name,
        -                    java.lang.String predicate,
        -                    java.util.Set<java.lang.Integer> packets)
        -
        Construct a new immutable filter.
        -
        Parameters:
        name - - the unique name of the filter.
        predicate - - the JavaScript predicate that will be used to filter packet events.
        ranges - - a list of valid packet ID ranges that this filter applies to.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getName

        -
        public java.lang.String getName()
        -
        Retrieve the unique name of the filter.
        -
        Returns:
        Unique name of the filter.
        -
      • -
      - - - -
        -
      • -

        getPredicate

        -
        public java.lang.String getPredicate()
        -
        Retrieve the JavaScript predicate that will be used to filter packet events.
        -
        Returns:
        Predicate itself.
        -
      • -
      - - - -
        -
      • -

        getRanges

        -
        public java.util.Set<java.lang.Integer> getRanges()
        -
        Retrieve a copy of the set of packets this filter applies to.
        -
        Returns:
        Set of packets this filter applies to.
        -
      • -
      - - - -
        -
      • -

        evaluate

        -
        public boolean evaluate(javax.script.ScriptEngine context,
        -               PacketEvent event)
        -                 throws javax.script.ScriptException
        -
        Evaluate the current filter using the provided ScriptEngine as context. -

        - This context may be modified with additional code.

        -
        Parameters:
        context - - the current script context.
        event - - the packet event to evaluate.
        -
        Returns:
        TRUE to pass this packet event on to the debug listeners, FALSE otherwise.
        -
        Throws:
        -
        javax.script.ScriptException - If the compilation failed or the filter is not valid.
        -
      • -
      - - - -
        -
      • -

        compile

        -
        public void compile(javax.script.ScriptEngine context)
        -             throws javax.script.ScriptException
        -
        Force the compilation of a specific filter.
        -
        Parameters:
        context - - the current script context.
        -
        Throws:
        -
        javax.script.ScriptException - If the compilation failed.
        -
      • -
      - - - -
        -
      • -

        close

        -
        public void close(javax.script.ScriptEngine context)
        -
        Clean up all associated code from this filter in the provided script engine.
        -
        Parameters:
        context - - the current script context.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/CommandFilter.FilterFailedHandler.html b/Javadoc/com/comphenix/protocol/CommandFilter.FilterFailedHandler.html deleted file mode 100644 index 203cdeb1..00000000 --- a/Javadoc/com/comphenix/protocol/CommandFilter.FilterFailedHandler.html +++ /dev/null @@ -1,218 +0,0 @@ - - - - - -CommandFilter.FilterFailedHandler - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol
-

Interface CommandFilter.FilterFailedHandler

-
-
-
-
    -
  • -
    -
    Enclosing class:
    -
    CommandFilter
    -
    -
    -
    -
    public static interface CommandFilter.FilterFailedHandler
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      booleanhandle(PacketEvent event, - CommandFilter.Filter filter, - java.lang.Exception ex) -
      Invoked when a given filter has failed.
      -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        handle

        -
        boolean handle(PacketEvent event,
        -             CommandFilter.Filter filter,
        -             java.lang.Exception ex)
        -
        Invoked when a given filter has failed.
        -
        Parameters:
        event - - the packet event.
        filter - - the filter that failed.
        ex - - the failure.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/CommandFilter.html b/Javadoc/com/comphenix/protocol/CommandFilter.html deleted file mode 100644 index d7d5cd06..00000000 --- a/Javadoc/com/comphenix/protocol/CommandFilter.html +++ /dev/null @@ -1,590 +0,0 @@ - - - - - -CommandFilter - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol
-

Class CommandFilter

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    org.bukkit.command.CommandExecutor
    -
    -
    -
    -
    public class CommandFilter
    -extends java.lang.Object
    -
    A command to apply JavaScript filtering to the packet command.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        REPORT_FALLBACK_ENGINE

        -
        public static final ReportType REPORT_FALLBACK_ENGINE
        -
      • -
      - - - -
        -
      • -

        REPORT_CANNOT_LOAD_FALLBACK_ENGINE

        -
        public static final ReportType REPORT_CANNOT_LOAD_FALLBACK_ENGINE
        -
      • -
      - - - -
        -
      • -

        REPORT_PACKAGES_UNSUPPORTED_IN_ENGINE

        -
        public static final ReportType REPORT_PACKAGES_UNSUPPORTED_IN_ENGINE
        -
      • -
      - - - -
        -
      • -

        REPORT_FILTER_REMOVED_FOR_ERROR

        -
        public static final ReportType REPORT_FILTER_REMOVED_FOR_ERROR
        -
      • -
      - - - -
        -
      • -

        REPORT_CANNOT_HANDLE_CONVERSATION

        -
        public static final ReportType REPORT_CANNOT_HANDLE_CONVERSATION
        -
      • -
      - - - -
        -
      • -

        NAME

        -
        public static final java.lang.String NAME
        -
        Name of this command.
        -
        See Also:
        Constant Field Values
        -
      • -
      - - - -
        -
      • -

        REPORT_COMMAND_ERROR

        -
        public static final ReportType REPORT_COMMAND_ERROR
        -
      • -
      - - - -
        -
      • -

        REPORT_UNEXPECTED_COMMAND

        -
        public static final ReportType REPORT_UNEXPECTED_COMMAND
        -
      • -
      - - - -
        -
      • -

        PERMISSION_ADMIN

        -
        public static final java.lang.String PERMISSION_ADMIN
        -
        See Also:
        Constant Field Values
        -
      • -
      - - - - -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        CommandFilter

        -
        public CommandFilter(ErrorReporter reporter,
        -             org.bukkit.plugin.Plugin plugin,
        -             com.comphenix.protocol.ProtocolConfig config)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        isInitialized

        -
        public boolean isInitialized()
        -
        Determine if the filter engine has been successfully initialized.
        -
        Returns:
        TRUE if it has, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        filterEvent

        -
        public boolean filterEvent(PacketEvent event)
        -
        Determine whether or not to pass the given packet event to the packet listeners. -

        - Uses a default filter failure handler that simply prints the error message and removes the filter.

        -
        Parameters:
        event - - the event.
        -
        Returns:
        TRUE if we should, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        filterEvent

        -
        public boolean filterEvent(PacketEvent event,
        -                  CommandFilter.FilterFailedHandler handler)
        -
        Determine whether or not to pass the given packet event to the packet listeners.
        -
        Parameters:
        event - - the event.
        handler - - failure handler.
        -
        Returns:
        TRUE if we should, FALSE otherwise.
        -
        Throws:
        -
        FilterFailedException - If one of the filters failed.
        -
      • -
      - - - -
        -
      • -

        handleCommand

        -
        protected boolean handleCommand(org.bukkit.command.CommandSender sender,
        -                    java.lang.String[] args)
        -
        Main implementation of this command.
        -
        Parameters:
        sender - - command sender.
        -
        Returns:
        -
      • -
      - - - -
        -
      • -

        onCommand

        -
        public final boolean onCommand(org.bukkit.command.CommandSender sender,
        -                org.bukkit.command.Command command,
        -                java.lang.String label,
        -                java.lang.String[] args)
        -
        -
        Specified by:
        -
        onCommand in interface org.bukkit.command.CommandExecutor
        -
        -
      • -
      - - - -
        -
      • -

        getPermission

        -
        public java.lang.String getPermission()
        -
        Retrieve the permission necessary to execute this command.
        -
        Returns:
        The permission, or NULL if not needed.
        -
      • -
      - - - -
        -
      • -

        getName

        -
        public java.lang.String getName()
        -
        Retrieve the primary name of this command.
        -
        Returns:
        Primary name.
        -
      • -
      - - - -
        -
      • -

        getReporter

        -
        protected ErrorReporter getReporter()
        -
        Retrieve the error reporter.
        -
        Returns:
        Error reporter.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/MinecraftVersionTest.html b/Javadoc/com/comphenix/protocol/MinecraftVersionTest.html deleted file mode 100644 index a8d4378c..00000000 --- a/Javadoc/com/comphenix/protocol/MinecraftVersionTest.html +++ /dev/null @@ -1,269 +0,0 @@ - - - - - -MinecraftVersionTest - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol
-

Class MinecraftVersionTest

-
-
- -
-
    -
  • -
    -
    -
    public class MinecraftVersionTest
    -extends java.lang.Object
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      voidtestComparision() 
      voidtestParsing() 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        MinecraftVersionTest

        -
        public MinecraftVersionTest()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        testComparision

        -
        public void testComparision()
        -
      • -
      - - - -
        -
      • -

        testParsing

        -
        public void testParsing()
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/PacketStream.html b/Javadoc/com/comphenix/protocol/PacketStream.html deleted file mode 100644 index 47974a98..00000000 --- a/Javadoc/com/comphenix/protocol/PacketStream.html +++ /dev/null @@ -1,296 +0,0 @@ - - - - - -PacketStream - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol
-

Interface PacketStream

-
-
-
-
    -
  • -
    -
    All Known Subinterfaces:
    -
    ProtocolManager
    -
    -
    -
    -
    public interface PacketStream
    -
    Represents a object capable of sending or receiving packets.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      voidrecieveClientPacket(org.bukkit.entity.Player sender, - PacketContainer packet) -
      Simulate recieving a certain packet from a given player.
      -
      voidrecieveClientPacket(org.bukkit.entity.Player sender, - PacketContainer packet, - boolean filters) -
      Simulate recieving a certain packet from a given player.
      -
      voidsendServerPacket(org.bukkit.entity.Player reciever, - PacketContainer packet) -
      Send a packet to the given player.
      -
      voidsendServerPacket(org.bukkit.entity.Player reciever, - PacketContainer packet, - boolean filters) -
      Send a packet to the given player.
      -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        sendServerPacket

        -
        void sendServerPacket(org.bukkit.entity.Player reciever,
        -                    PacketContainer packet)
        -                      throws java.lang.reflect.InvocationTargetException
        -
        Send a packet to the given player.
        -
        Parameters:
        reciever - - the reciever.
        packet - - packet to send.
        -
        Throws:
        -
        java.lang.reflect.InvocationTargetException - - if an error occured when sending the packet.
        -
      • -
      - - - -
        -
      • -

        sendServerPacket

        -
        void sendServerPacket(org.bukkit.entity.Player reciever,
        -                    PacketContainer packet,
        -                    boolean filters)
        -                      throws java.lang.reflect.InvocationTargetException
        -
        Send a packet to the given player.
        -
        Parameters:
        reciever - - the reciever.
        packet - - packet to send.
        filters - - whether or not to invoke any packet filters below ListenerPriority.MONITOR.
        -
        Throws:
        -
        java.lang.reflect.InvocationTargetException - - if an error occured when sending the packet.
        -
      • -
      - - - -
        -
      • -

        recieveClientPacket

        -
        void recieveClientPacket(org.bukkit.entity.Player sender,
        -                       PacketContainer packet)
        -                         throws java.lang.IllegalAccessException,
        -                                java.lang.reflect.InvocationTargetException
        -
        Simulate recieving a certain packet from a given player.
        -
        Parameters:
        sender - - the sender.
        packet - - the packet that was sent.
        -
        Throws:
        -
        java.lang.reflect.InvocationTargetException - If the reflection machinery failed.
        -
        java.lang.IllegalAccessException - If the underlying method caused an error.
        -
      • -
      - - - -
        -
      • -

        recieveClientPacket

        -
        void recieveClientPacket(org.bukkit.entity.Player sender,
        -                       PacketContainer packet,
        -                       boolean filters)
        -                         throws java.lang.IllegalAccessException,
        -                                java.lang.reflect.InvocationTargetException
        -
        Simulate recieving a certain packet from a given player.
        -
        Parameters:
        sender - - the sender.
        packet - - the packet that was sent.
        filters - - whether or not to invoke any packet filters below ListenerPriority.MONITOR.
        -
        Throws:
        -
        java.lang.reflect.InvocationTargetException - If the reflection machinery failed.
        -
        java.lang.IllegalAccessException - If the underlying method caused an error.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/Packets.Client.html b/Javadoc/com/comphenix/protocol/Packets.Client.html deleted file mode 100644 index 5439edc9..00000000 --- a/Javadoc/com/comphenix/protocol/Packets.Client.html +++ /dev/null @@ -1,727 +0,0 @@ - - - - - -Packets.Client - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol
-

Class Packets.Client

-
-
- -
-
    -
  • -
    -
    Enclosing class:
    -
    Packets
    -
    -
    -
    -
    public static class Packets.Client
    -extends IntEnum
    -
    List of packets sent by the client.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
- -
-
- -
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/Packets.Server.html b/Javadoc/com/comphenix/protocol/Packets.Server.html deleted file mode 100644 index 93a6154e..00000000 --- a/Javadoc/com/comphenix/protocol/Packets.Server.html +++ /dev/null @@ -1,1291 +0,0 @@ - - - - - -Packets.Server - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol
-

Class Packets.Server

-
-
- -
-
    -
  • -
    -
    Enclosing class:
    -
    Packets
    -
    -
    -
    -
    public static final class Packets.Server
    -extends IntEnum
    -
    List of packets sent only by the server.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
- -
-
- -
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/Packets.html b/Javadoc/com/comphenix/protocol/Packets.html deleted file mode 100644 index d95eded6..00000000 --- a/Javadoc/com/comphenix/protocol/Packets.html +++ /dev/null @@ -1,383 +0,0 @@ - - - - - -Packets - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol
-

Class Packets

-
-
- -
-
    -
  • -
    -
    -
    public final class Packets
    -extends java.lang.Object
    -
    List of known packet IDs since 1.3.2.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Nested Class Summary

      - - - - - - - - - - - - - - -
      Nested Classes 
      Modifier and TypeClass and Description
      static class Packets.Client -
      List of packets sent by the client.
      -
      static class Packets.Server -
      List of packets sent only by the server.
      -
      -
    • -
    - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      static intMAXIMUM_PACKET_ID -
      The highest possible packet ID.
      -
      -
    • -
    - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      Packets() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      static Packets.ClientgetClientRegistry() -
      A registry that parses between names and packet IDs.
      -
      static java.lang.StringgetDeclaredName(int packetID) -
      Retrieves the name of a packet.
      -
      static Packets.ServergetServerRegistry() -
      A registry that parses between names and packet IDs.
      -
      static intvalueOf(java.lang.String name) -
      Find a packet by name.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        MAXIMUM_PACKET_ID

        -
        public static final int MAXIMUM_PACKET_ID
        -
        The highest possible packet ID. It's unlikely that this value will ever change.
        -
        See Also:
        Constant Field Values
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Packets

        -
        public Packets()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getServerRegistry

        -
        public static Packets.Server getServerRegistry()
        -
        A registry that parses between names and packet IDs.
        -
        Returns:
        The current client registry.
        -
      • -
      - - - -
        -
      • -

        getClientRegistry

        -
        public static Packets.Client getClientRegistry()
        -
        A registry that parses between names and packet IDs.
        -
        Returns:
        The current server registry.
        -
      • -
      - - - -
        -
      • -

        valueOf

        -
        public static int valueOf(java.lang.String name)
        -
        Find a packet by name. Must be capitalized and use underscores.
        -
        Parameters:
        name - - name of packet to find.
        -
        Returns:
        The packet ID found.
        -
      • -
      - - - -
        -
      • -

        getDeclaredName

        -
        public static java.lang.String getDeclaredName(int packetID)
        -
        Retrieves the name of a packet.
        -
        Parameters:
        packetID - - packet to retrieve name.
        -
        Returns:
        The name, or NULL if unable to find such a packet.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/ProtocolLibrary.html b/Javadoc/com/comphenix/protocol/ProtocolLibrary.html deleted file mode 100644 index 02c99174..00000000 --- a/Javadoc/com/comphenix/protocol/ProtocolLibrary.html +++ /dev/null @@ -1,585 +0,0 @@ - - - - - -ProtocolLibrary - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol
-

Class ProtocolLibrary

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    org.bukkit.command.CommandExecutor, org.bukkit.command.TabCompleter, org.bukkit.command.TabExecutor, org.bukkit.plugin.Plugin
    -
    -
    -
    -
    public class ProtocolLibrary
    -extends org.bukkit.plugin.java.JavaPlugin
    -
    The main entry point for ProtocolLib.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        REPORT_CANNOT_LOAD_CONFIG

        -
        public static final ReportType REPORT_CANNOT_LOAD_CONFIG
        -
      • -
      - - - -
        -
      • -

        REPORT_CANNOT_DELETE_CONFIG

        -
        public static final ReportType REPORT_CANNOT_DELETE_CONFIG
        -
      • -
      - - - -
        -
      • -

        REPORT_CANNOT_PARSE_INJECTION_METHOD

        -
        public static final ReportType REPORT_CANNOT_PARSE_INJECTION_METHOD
        -
      • -
      - - - -
        -
      • -

        REPORT_PLUGIN_LOAD_ERROR

        -
        public static final ReportType REPORT_PLUGIN_LOAD_ERROR
        -
      • -
      - - - -
        -
      • -

        REPORT_PLUGIN_ENABLE_ERROR

        -
        public static final ReportType REPORT_PLUGIN_ENABLE_ERROR
        -
      • -
      - - - -
        -
      • -

        REPORT_METRICS_IO_ERROR

        -
        public static final ReportType REPORT_METRICS_IO_ERROR
        -
      • -
      - - - -
        -
      • -

        REPORT_METRICS_GENERIC_ERROR

        -
        public static final ReportType REPORT_METRICS_GENERIC_ERROR
        -
      • -
      - - - -
        -
      • -

        REPORT_CANNOT_PARSE_MINECRAFT_VERSION

        -
        public static final ReportType REPORT_CANNOT_PARSE_MINECRAFT_VERSION
        -
      • -
      - - - -
        -
      • -

        REPORT_CANNOT_DETECT_CONFLICTING_PLUGINS

        -
        public static final ReportType REPORT_CANNOT_DETECT_CONFLICTING_PLUGINS
        -
      • -
      - - - -
        -
      • -

        REPORT_CANNOT_REGISTER_COMMAND

        -
        public static final ReportType REPORT_CANNOT_REGISTER_COMMAND
        -
      • -
      - - - -
        -
      • -

        REPORT_CANNOT_CREATE_TIMEOUT_TASK

        -
        public static final ReportType REPORT_CANNOT_CREATE_TIMEOUT_TASK
        -
      • -
      - - - -
        -
      • -

        REPORT_CANNOT_UPDATE_PLUGIN

        -
        public static final ReportType REPORT_CANNOT_UPDATE_PLUGIN
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ProtocolLibrary

        -
        public ProtocolLibrary()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        onLoad

        -
        public void onLoad()
        -
        -
        Specified by:
        -
        onLoad in interface org.bukkit.plugin.Plugin
        -
        Overrides:
        -
        onLoad in class org.bukkit.plugin.java.JavaPlugin
        -
        -
      • -
      - - - -
        -
      • -

        reloadConfig

        -
        public void reloadConfig()
        -
        -
        Specified by:
        -
        reloadConfig in interface org.bukkit.plugin.Plugin
        -
        Overrides:
        -
        reloadConfig in class org.bukkit.plugin.java.JavaPlugin
        -
        -
      • -
      - - - -
        -
      • -

        onEnable

        -
        public void onEnable()
        -
        -
        Specified by:
        -
        onEnable in interface org.bukkit.plugin.Plugin
        -
        Overrides:
        -
        onEnable in class org.bukkit.plugin.java.JavaPlugin
        -
        -
      • -
      - - - -
        -
      • -

        onDisable

        -
        public void onDisable()
        -
        -
        Specified by:
        -
        onDisable in interface org.bukkit.plugin.Plugin
        -
        Overrides:
        -
        onDisable in class org.bukkit.plugin.java.JavaPlugin
        -
        -
      • -
      - - - -
        -
      • -

        getErrorReporter

        -
        public static ErrorReporter getErrorReporter()
        -
        Retrieve the current error reporter. -

        - This is guaranteed to not be NULL in 2.5.0 and later.

        -
        Returns:
        Current error reporter.
        -
      • -
      - - - -
        -
      • -

        getProtocolManager

        -
        public static ProtocolManager getProtocolManager()
        -
        Retrieves the packet protocol manager.
        -
        Returns:
        Packet protocol manager, or NULL if it has been disabled.
        -
      • -
      - - - -
        -
      • -

        getStatistics

        -
        public Statistics getStatistics()
        -
        Retrieve the metrics instance used to measure users of this library. -

        - Note that this method may return NULL when the server is reloading or shutting down. It is also - NULL if metrics has been disabled.

        -
        Returns:
        Metrics instance container.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/ProtocolManager.html b/Javadoc/com/comphenix/protocol/ProtocolManager.html deleted file mode 100644 index 188b8da3..00000000 --- a/Javadoc/com/comphenix/protocol/ProtocolManager.html +++ /dev/null @@ -1,544 +0,0 @@ - - - - - -ProtocolManager - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol
-

Interface ProtocolManager

-
-
-
-
    -
  • -
    -
    All Superinterfaces:
    -
    PacketStream
    -
    -
    -
    -
    public interface ProtocolManager
    -extends PacketStream
    -
    Represents an API for accessing the Minecraft protocol.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      voidaddPacketListener(PacketListener listener) -
      Adds a packet listener.
      -
      PacketContainercreatePacket(int id) -
      Constructs a new encapsulated Minecraft packet with the given ID.
      -
      PacketContainercreatePacket(int id, - boolean forceDefaults) -
      Constructs a new encapsulated Minecraft packet with the given ID.
      -
      com.comphenix.protocol.injector.PacketConstructorcreatePacketConstructor(int id, - java.lang.Object... arguments) -
      Construct a packet using the special builtin Minecraft constructors.
      -
      AsynchronousManagergetAsynchronousManager() -
      Retrieve the current asyncronous packet manager.
      -
      org.bukkit.entity.EntitygetEntityFromID(org.bukkit.World container, - int id) -
      Retrieve the associated entity.
      -
      java.util.List<org.bukkit.entity.Player>getEntityTrackers(org.bukkit.entity.Entity entity) -
      Retrieve every client that is receiving information about a given entity.
      -
      com.google.common.collect.ImmutableSet<PacketListener>getPacketListeners() -
      Retrieves a list of every registered packet listener.
      -
      java.util.Set<java.lang.Integer>getReceivingFilters() -
      Retrieves a immutable set containing the ID of the recieved client packets that will be observed by listeners.
      -
      java.util.Set<java.lang.Integer>getSendingFilters() -
      Retrieves a immutable set containing the ID of the sent server packets that will be observed by listeners.
      -
      booleanisClosed() -
      Determines whether or not this protocol mananger has been disabled.
      -
      voidrecieveClientPacket(org.bukkit.entity.Player sender, - PacketContainer packet, - boolean filters) -
      Simulate recieving a certain packet from a given player.
      -
      voidremovePacketListener(PacketListener listener) -
      Removes a given packet listener.
      -
      voidremovePacketListeners(org.bukkit.plugin.Plugin plugin) -
      Removes every listener associated with the given plugin.
      -
      voidsendServerPacket(org.bukkit.entity.Player reciever, - PacketContainer packet, - boolean filters) -
      Send a packet to the given player.
      -
      voidupdateEntity(org.bukkit.entity.Entity entity, - java.util.List<org.bukkit.entity.Player> observers) -
      Completely resend an entity to a list of clients.
      -
      - -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        sendServerPacket

        -
        void sendServerPacket(org.bukkit.entity.Player reciever,
        -                    PacketContainer packet,
        -                    boolean filters)
        -                      throws java.lang.reflect.InvocationTargetException
        -
        Send a packet to the given player. -

        - Re-sending a previously cancelled packet is discuraged. Use AsyncMarker.incrementProcessingDelay() - to delay a packet until a certain condition has been met.

        -
        -
        Specified by:
        -
        sendServerPacket in interface PacketStream
        -
        Parameters:
        reciever - - the reciever.
        packet - - packet to send.
        filters - - whether or not to invoke any packet filters below ListenerPriority.MONITOR.
        -
        Throws:
        -
        java.lang.reflect.InvocationTargetException - - if an error occured when sending the packet.
        -
      • -
      - - - -
        -
      • -

        recieveClientPacket

        -
        void recieveClientPacket(org.bukkit.entity.Player sender,
        -                       PacketContainer packet,
        -                       boolean filters)
        -                         throws java.lang.IllegalAccessException,
        -                                java.lang.reflect.InvocationTargetException
        -
        Simulate recieving a certain packet from a given player. -

        - Receiving a previously cancelled packet is discuraged. Use AsyncMarker.incrementProcessingDelay() - to delay a packet until a certain condition has been met.

        -
        -
        Specified by:
        -
        recieveClientPacket in interface PacketStream
        -
        Parameters:
        sender - - the sender.
        packet - - the packet that was sent.
        filters - - whether or not to invoke any packet filters below ListenerPriority.MONITOR.
        -
        Throws:
        -
        java.lang.reflect.InvocationTargetException - If the reflection machinery failed.
        -
        java.lang.IllegalAccessException - If the underlying method caused an error.
        -
      • -
      - - - -
        -
      • -

        getPacketListeners

        -
        com.google.common.collect.ImmutableSet<PacketListener> getPacketListeners()
        -
        Retrieves a list of every registered packet listener.
        -
        Returns:
        Every registered packet listener.
        -
      • -
      - - - -
        -
      • -

        addPacketListener

        -
        void addPacketListener(PacketListener listener)
        -
        Adds a packet listener. -

        - Adding an already registered listener has no effect. If you need to change the packets - the current listener is observing, you must first remove the packet listener before you - can register it again.

        -
        Parameters:
        listener - - new packet listener.
        -
      • -
      - - - -
        -
      • -

        removePacketListener

        -
        void removePacketListener(PacketListener listener)
        -
        Removes a given packet listener. -

        - Attempting to remove a listener that doesn't exist has no effect.

        -
        Parameters:
        listener - - the packet listener to remove.
        -
      • -
      - - - -
        -
      • -

        removePacketListeners

        -
        void removePacketListeners(org.bukkit.plugin.Plugin plugin)
        -
        Removes every listener associated with the given plugin.
        -
        Parameters:
        plugin - - the plugin to unload.
        -
      • -
      - - - -
        -
      • -

        createPacket

        -
        PacketContainer createPacket(int id)
        -
        Constructs a new encapsulated Minecraft packet with the given ID.
        -
        Parameters:
        id - - packet ID.
        -
        Returns:
        New encapsulated Minecraft packet.
        -
      • -
      - - - -
        -
      • -

        createPacket

        -
        PacketContainer createPacket(int id,
        -                           boolean forceDefaults)
        -
        Constructs a new encapsulated Minecraft packet with the given ID. -

        - If set to true, the forceDefaults option will force the system to automatically - give non-primitive fields in the packet sensible default values. For instance, certain - packets - like Packet60Explosion - require a List or Set to be non-null. If the - forceDefaults option is true, the List or Set will be automatically created.

        -
        Parameters:
        id - - packet ID.
        forceDefaults - - TRUE to use sensible defaults in most fields, FALSE otherwise.
        -
        Returns:
        New encapsulated Minecraft packet.
        -
      • -
      - - - -
        -
      • -

        createPacketConstructor

        -
        com.comphenix.protocol.injector.PacketConstructor createPacketConstructor(int id,
        -                                                                        java.lang.Object... arguments)
        -
        Construct a packet using the special builtin Minecraft constructors.
        -
        Parameters:
        id - - the packet ID.
        arguments - - arguments that will be passed to the constructor.
        -
        Returns:
        The packet constructor.
        -
      • -
      - - - -
        -
      • -

        updateEntity

        -
        void updateEntity(org.bukkit.entity.Entity entity,
        -                java.util.List<org.bukkit.entity.Player> observers)
        -                  throws FieldAccessException
        -
        Completely resend an entity to a list of clients. -

        - Note that this method is NOT thread safe. If you call this method from anything - but the main thread, it will throw an exception.

        -
        Parameters:
        entity - - entity to refresh.
        observers - - the clients to update.
        -
        Throws:
        -
        FieldAccessException
        -
      • -
      - - - -
        -
      • -

        getEntityFromID

        -
        org.bukkit.entity.Entity getEntityFromID(org.bukkit.World container,
        -                                       int id)
        -                                         throws FieldAccessException
        -
        Retrieve the associated entity.
        -
        Parameters:
        container - - the world the entity belongs to.
        id - - the unique ID of the entity.
        -
        Returns:
        The associated entity.
        -
        Throws:
        -
        FieldAccessException - Reflection failed.
        -
      • -
      - - - -
        -
      • -

        getEntityTrackers

        -
        java.util.List<org.bukkit.entity.Player> getEntityTrackers(org.bukkit.entity.Entity entity)
        -                                                           throws FieldAccessException
        -
        Retrieve every client that is receiving information about a given entity.
        -
        Parameters:
        entity - - the entity that is being tracked.
        -
        Returns:
        Every client/player that is tracking the given entity.
        -
        Throws:
        -
        FieldAccessException - If reflection failed.
        -
      • -
      - - - -
        -
      • -

        getSendingFilters

        -
        java.util.Set<java.lang.Integer> getSendingFilters()
        -
        Retrieves a immutable set containing the ID of the sent server packets that will be observed by listeners.
        -
        Returns:
        Every filtered server packet.
        -
      • -
      - - - -
        -
      • -

        getReceivingFilters

        -
        java.util.Set<java.lang.Integer> getReceivingFilters()
        -
        Retrieves a immutable set containing the ID of the recieved client packets that will be observed by listeners.
        -
        Returns:
        Every filtered client packet.
        -
      • -
      - - - -
        -
      • -

        isClosed

        -
        boolean isClosed()
        -
        Determines whether or not this protocol mananger has been disabled.
        -
        Returns:
        TRUE if it has, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        getAsynchronousManager

        -
        AsynchronousManager getAsynchronousManager()
        -
        Retrieve the current asyncronous packet manager.
        -
        Returns:
        Asyncronous packet manager.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/async/AsyncFilterManager.html b/Javadoc/com/comphenix/protocol/async/AsyncFilterManager.html deleted file mode 100644 index d0b8ecc5..00000000 --- a/Javadoc/com/comphenix/protocol/async/AsyncFilterManager.html +++ /dev/null @@ -1,758 +0,0 @@ - - - - - -AsyncFilterManager - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.async
-

Class AsyncFilterManager

-
-
- -
- -
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        AsyncFilterManager

        -
        public AsyncFilterManager(ErrorReporter reporter,
        -                  org.bukkit.scheduler.BukkitScheduler scheduler,
        -                  ProtocolManager manager)
        -
        Initialize a asynchronous filter manager. -

        - Internal method. Retrieve the global asynchronous manager from the protocol manager instead.

        -
        Parameters:
        reporter - - desired error reporter.
        scheduler - - task scheduler.
        manager - - protocol manager.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - - - - - -
        -
      • -

        registerTimeoutHandler

        -
        public void registerTimeoutHandler(PacketListener listener)
        -
        Description copied from interface: AsynchronousManager
        -
        Register a synchronous listener that handles packets when they time out.
        -
        -
        Specified by:
        -
        registerTimeoutHandler in interface AsynchronousManager
        -
        Parameters:
        listener - - synchronous listener that will handle timed out packets.
        -
      • -
      - - - - - - - -
        -
      • -

        registerAsyncHandler

        -
        public AsyncListenerHandler registerAsyncHandler(PacketListener listener,
        -                                        boolean autoInject)
        -
        Registers an asynchronous packet handler. -

        - Use AsyncMarker.incrementProcessingDelay() to delay a packet until its ready to be transmitted. -

        - To start listening asynchronously, pass the getListenerLoop() runnable to a different thread. -

        - Asynchronous events will only be executed if a synchronous listener with the same packets is registered. - If you already have a synchronous event, call this method with autoInject set to FALSE.

        -
        Parameters:
        listener - - the packet listener that will recieve these asynchronous events.
        autoInject - - whether or not to automatically create the corresponding synchronous listener,
        -
        Returns:
        An asynchrouns handler.
        -
      • -
      - - - - - - - - - - - -
        -
      • -

        unregisterAsyncHandlers

        -
        public void unregisterAsyncHandlers(org.bukkit.plugin.Plugin plugin)
        -
        Description copied from interface: AsynchronousManager
        -
        Unregisters every asynchronous handler associated with this plugin.
        -
        -
        Specified by:
        -
        unregisterAsyncHandlers in interface AsynchronousManager
        -
        Parameters:
        plugin - - the original plugin.
        -
      • -
      - - - -
        -
      • -

        enqueueSyncPacket

        -
        public void enqueueSyncPacket(PacketEvent syncPacket,
        -                     AsyncMarker asyncMarker)
        -
        Enqueue a packet for asynchronous processing.
        -
        Parameters:
        syncPacket - - synchronous packet event.
        asyncMarker - - the asynchronous marker to use.
        -
      • -
      - - - -
        -
      • -

        getSendingFilters

        -
        public java.util.Set<java.lang.Integer> getSendingFilters()
        -
        Description copied from interface: AsynchronousManager
        -
        Retrieves a immutable set containing the ID of the sent server packets that will be - observed by the asynchronous listeners.
        -
        -
        Specified by:
        -
        getSendingFilters in interface AsynchronousManager
        -
        Returns:
        Every filtered server packet.
        -
      • -
      - - - -
        -
      • -

        getReceivingFilters

        -
        public java.util.Set<java.lang.Integer> getReceivingFilters()
        -
        Description copied from interface: AsynchronousManager
        -
        Retrieves a immutable set containing the ID of the recieved client packets that will be - observed by the asynchronous listeners.
        -
        -
        Specified by:
        -
        getReceivingFilters in interface AsynchronousManager
        -
        Returns:
        Every filtered client packet.
        -
      • -
      - - - -
        -
      • -

        getScheduler

        -
        public org.bukkit.scheduler.BukkitScheduler getScheduler()
        -
        Retrieve the current task scheduler.
        -
        Returns:
        Current task scheduler.
        -
      • -
      - - - -
        -
      • -

        hasAsynchronousListeners

        -
        public boolean hasAsynchronousListeners(PacketEvent packet)
        -
        Description copied from interface: AsynchronousManager
        -
        Determine if a given synchronous packet has asynchronous listeners.
        -
        -
        Specified by:
        -
        hasAsynchronousListeners in interface AsynchronousManager
        -
        Parameters:
        packet - - packet to test.
        -
        Returns:
        TRUE if it does, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        createAsyncMarker

        -
        public AsyncMarker createAsyncMarker()
        -
        Construct a asynchronous marker with all the default values.
        -
        Returns:
        Asynchronous marker.
        -
      • -
      - - - -
        -
      • -

        createAsyncMarker

        -
        public AsyncMarker createAsyncMarker(long sendingDelta,
        -                            long timeoutDelta)
        -
        Construct an async marker with the given sending priority delta and timeout delta.
        -
        Parameters:
        sendingDelta - - how many packets we're willing to wait.
        timeoutDelta - - how long (in ms) until the packet expire.
        -
        Returns:
        An async marker.
        -
      • -
      - - - - - - - - - - - - - - - - - - - -
        -
      • -

        getSendingQueue

        -
        public com.comphenix.protocol.async.PacketSendingQueue getSendingQueue(PacketEvent packet)
        -
        Retrieve the sending queue this packet belongs to.
        -
        Parameters:
        packet - - the packet.
        -
        Returns:
        The server or client sending queue the packet belongs to.
        -
      • -
      - - - -
        -
      • -

        getSendingQueue

        -
        public com.comphenix.protocol.async.PacketSendingQueue getSendingQueue(PacketEvent packet,
        -                                                              boolean createNew)
        -
        Retrieve the sending queue this packet belongs to.
        -
        Parameters:
        packet - - the packet.
        createNew - - if TRUE, create a new queue if it hasn't already been created.
        -
        Returns:
        The server or client sending queue the packet belongs to.
        -
      • -
      - - - -
        -
      • -

        getProcessingQueue

        -
        public com.comphenix.protocol.async.PacketProcessingQueue getProcessingQueue(PacketEvent packet)
        -
        Retrieve the processing queue this packet belongs to.
        -
        Parameters:
        packet - - the packet.
        -
        Returns:
        The server or client sending processing the packet belongs to.
        -
      • -
      - - - -
        -
      • -

        signalFreeProcessingSlot

        -
        public void signalFreeProcessingSlot(PacketEvent packet)
        -
        Signal that a packet has finished processing.
        -
        Parameters:
        packet - - packet to signal.
        -
      • -
      - - - -
        -
      • -

        sendProcessedPackets

        -
        public void sendProcessedPackets(int tickCounter,
        -                        boolean onMainThread)
        -
        Send any due packets, or clean up packets that have expired.
        -
      • -
      - - - -
        -
      • -

        removePlayer

        -
        public void removePlayer(org.bukkit.entity.Player player)
        -
        Clean up after a given player has logged out.
        -
        Parameters:
        player - - the player that has just logged out.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/async/AsyncListenerHandler.html b/Javadoc/com/comphenix/protocol/async/AsyncListenerHandler.html deleted file mode 100644 index c484198f..00000000 --- a/Javadoc/com/comphenix/protocol/async/AsyncListenerHandler.html +++ /dev/null @@ -1,556 +0,0 @@ - - - - - -AsyncListenerHandler - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.async
-

Class AsyncListenerHandler

-
-
- -
-
    -
  • -
    -
    -
    public class AsyncListenerHandler
    -extends java.lang.Object
    -
    Represents a handler for an asynchronous event. -

    - Use AsyncMarker.incrementProcessingDelay() to delay a packet until a certain condition has been met.

    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      voidcancel() -
      Cancel the handler.
      -
      voidenqueuePacket(PacketEvent packet) -
      Queue a packet for processing.
      -
      PacketListenergetAsyncListener() -
      Retrieve the current asynchronous packet listener.
      -
      java.lang.StringgetFriendlyWorkerName(int id) -
      Create a friendly thread name using the following convention:
      -
      AsyncRunnablegetListenerLoop() -
      Create a worker that will initiate the listener loop.
      -
      org.bukkit.plugin.PlugingetPlugin() -
      Retrieve the plugin associated with this async listener.
      -
      intgetWorkers() -
      Retrieve the current number of registered workers.
      -
      booleanisCancelled() -
      Determine whether or not this asynchronous handler has been cancelled.
      -
      voidsetWorkers(int count) -
      Set the current number of workers.
      -
      voidstart() -
      Start a singler worker thread handling the asynchronous listener.
      -
      voidstart(com.google.common.base.Function<AsyncRunnable,java.lang.Void> executor) -
      Start a singler worker thread handling the asynchronous listener.
      -
      voidstart(int count) -
      Start multiple worker threads for this listener.
      -
      voidstop() -
      Stop a worker thread.
      -
      voidstop(int count) -
      Stop the given amount of worker threads.
      -
      booleansyncStart() -
      Start processing packets on the main thread.
      -
      booleansyncStart(long time, - java.util.concurrent.TimeUnit unit) -
      Start processing packets on the main thread.
      -
      booleansyncStop() -
      Stop processing packets on the main thread.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        isCancelled

        -
        public boolean isCancelled()
        -
        Determine whether or not this asynchronous handler has been cancelled.
        -
        Returns:
        TRUE if it has been cancelled/stopped, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        getAsyncListener

        -
        public PacketListener getAsyncListener()
        -
        Retrieve the current asynchronous packet listener.
        -
        Returns:
        Current packet listener.
        -
      • -
      - - - -
        -
      • -

        getPlugin

        -
        public org.bukkit.plugin.Plugin getPlugin()
        -
        Retrieve the plugin associated with this async listener.
        -
        Returns:
        The plugin.
        -
      • -
      - - - -
        -
      • -

        cancel

        -
        public void cancel()
        -
        Cancel the handler.
        -
      • -
      - - - -
        -
      • -

        enqueuePacket

        -
        public void enqueuePacket(PacketEvent packet)
        -
        Queue a packet for processing.
        -
        Parameters:
        packet - - a packet for processing.
        -
        Throws:
        -
        java.lang.IllegalStateException - If the underlying packet queue is full.
        -
      • -
      - - - -
        -
      • -

        getListenerLoop

        -
        public AsyncRunnable getListenerLoop()
        -
        Create a worker that will initiate the listener loop. Note that using stop() to - close a specific worker is less efficient than stopping an arbitrary worker. -

        - Warning: Never call the run() method in the main thread.

        -
      • -
      - - - -
        -
      • -

        start

        -
        public void start()
        -
        Start a singler worker thread handling the asynchronous listener.
        -
      • -
      - - - -
        -
      • -

        start

        -
        public void start(com.google.common.base.Function<AsyncRunnable,java.lang.Void> executor)
        -
        Start a singler worker thread handling the asynchronous listener. -

        - This method is intended to allow callers to customize the thread priority - before the worker loop is actually called. This is simpler than to - schedule the worker threads manually. -

        
        - listenerHandler.start(new Function<AsyncRunnable, Void>() {
        -     @Override
        -     public Void apply(@Nullable AsyncRunnable workerLoop) {
        -         Thread thread = Thread.currentThread();
        -         int prevPriority = thread.getPriority();
        -               
        -         thread.setPriority(Thread.MIN_PRIORITY);
        -         workerLoop.run();
        -         thread.setPriority(prevPriority);
        -         return null;
        -     }
        -   });
        - }
        - 
        -
        Parameters:
        executor - - a method that will execute the given listener loop.
        -
      • -
      - - - -
        -
      • -

        getFriendlyWorkerName

        -
        public java.lang.String getFriendlyWorkerName(int id)
        -
        Create a friendly thread name using the following convention: -

        -     Protocol Worker {id} - {plugin} - [recv: {packets}, send: {packets}] -

        -
        Parameters:
        id - - the worker ID.
        -
        Returns:
        A friendly thread name.
        -
      • -
      - - - -
        -
      • -

        syncStart

        -
        public boolean syncStart()
        -
        Start processing packets on the main thread. -

        - This is useful if you need to synchronize with the main thread in your packet listener, but - you're not performing any expensive processing. -

        - Note: Use a asynchronous worker if the packet listener may use more than 0.5 ms - of processing time on a single packet. Do as much as possible on the worker thread, and schedule synchronous tasks - to use the Bukkit API instead.

        -
        Returns:
        TRUE if the synchronized processing was successfully started, FALSE if it's already running.
        -
        Throws:
        -
        java.lang.IllegalStateException - If we couldn't start the underlying task.
        -
      • -
      - - - -
        -
      • -

        syncStart

        -
        public boolean syncStart(long time,
        -                java.util.concurrent.TimeUnit unit)
        -
        Start processing packets on the main thread. -

        - This is useful if you need to synchronize with the main thread in your packet listener, but - you're not performing any expensive processing. -

        - The processing time parameter gives the upper bound for the amount of time spent processing pending packets. - It should be set to a fairly low number, such as 0.5 ms or 1% of a game tick - to reduce the impact - on the main thread. Never go beyond 50 milliseconds. -

        - Note: Use a asynchronous worker if the packet listener may exceed the ideal processing time - on a single packet. Do as much as possible on the worker thread, and schedule synchronous tasks - to use the Bukkit API instead.

        -
        Parameters:
        time - - the amount of processing time alloted per game tick (20 ticks per second).
        unit - - the unit of the processingTime argument.
        -
        Returns:
        TRUE if the synchronized processing was successfully started, FALSE if it's already running.
        -
        Throws:
        -
        java.lang.IllegalStateException - If we couldn't start the underlying task.
        -
      • -
      - - - -
        -
      • -

        syncStop

        -
        public boolean syncStop()
        -
        Stop processing packets on the main thread.
        -
        Returns:
        TRUE if we stopped any processing tasks, FALSE if it has already been stopped.
        -
      • -
      - - - -
        -
      • -

        start

        -
        public void start(int count)
        -
        Start multiple worker threads for this listener.
        -
        Parameters:
        count - - number of worker threads to start.
        -
      • -
      - - - -
        -
      • -

        stop

        -
        public void stop()
        -
        Stop a worker thread.
        -
      • -
      - - - -
        -
      • -

        stop

        -
        public void stop(int count)
        -
        Stop the given amount of worker threads.
        -
        Parameters:
        count - - number of threads to stop.
        -
      • -
      - - - -
        -
      • -

        setWorkers

        -
        public void setWorkers(int count)
        -
        Set the current number of workers. -

        - This method can only be called with a count of zero when the listener is closing.

        -
        Parameters:
        count - - new number of workers.
        -
      • -
      - - - -
        -
      • -

        getWorkers

        -
        public int getWorkers()
        -
        Retrieve the current number of registered workers. -

        - Note that the returned value may be out of data.

        -
        Returns:
        Number of registered workers.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/async/AsyncMarker.html b/Javadoc/com/comphenix/protocol/async/AsyncMarker.html deleted file mode 100644 index 49a892f8..00000000 --- a/Javadoc/com/comphenix/protocol/async/AsyncMarker.html +++ /dev/null @@ -1,737 +0,0 @@ - - - - - -AsyncMarker - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.async
-

Class AsyncMarker

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.io.Serializable, java.lang.Comparable<AsyncMarker>
    -
    -
    -
    -
    public class AsyncMarker
    -extends java.lang.Object
    -implements java.io.Serializable, java.lang.Comparable<AsyncMarker>
    -
    Contains information about the packet that is being processed by asynchronous listeners. -

    - Asynchronous listeners can use this to set packet timeout or transmission order.

    -
    Author:
    -
    Kristian
    -
    See Also:
    Serialized Form
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      static intDEFAULT_SENDING_DELTA -
      Default number of packets to skip.
      -
      static intDEFAULT_TIMEOUT_DELTA -
      Default number of milliseconds until a packet will rejected.
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      intcompareTo(AsyncMarker o) 
      booleanequals(java.lang.Object other) 
      longgetInitialTime() -
      Retrieve the time the packet was initially queued for asynchronous processing.
      -
      AsyncListenerHandlergetListenerHandler() -
      Retrieve the current asynchronous listener handler.
      -
      longgetNewSendingIndex() -
      Retrieve the desired sending order after processing has completed.
      -
      longgetOriginalSendingIndex() -
      Retrieve the order the packet was originally transmitted.
      -
      PacketStreamgetPacketStream() -
      Retrieve the packet stream responsible for transmitting this packet.
      -
      intgetProcessingDelay() -
      Retrieve the number of times a packet must be signalled to be done before it's sent.
      -
      java.lang.ObjectgetProcessingLock() -
      Processing lock used to synchronize access to the parent PacketEvent and PacketContainer.
      -
      longgetQueuedSendingIndex() -
      Retrieve the sending index when the packet was queued.
      -
      longgetTimeout() -
      Retrieve the time the packet will be forcefully rejected.
      -
      intgetWorkerID() -
      Retrieve the current worker ID.
      -
      booleanhasExpired() -
      Determine if this packet has expired.
      -
      booleanhasExpired(long currentTime) -
      Determine if this packet has expired given this time.
      -
      inthashCode() 
      intincrementProcessingDelay() -
      Increment the number of times the current packet must be signalled as done before its transmitted.
      -
      booleanisAsyncCancelled() -
      Determine if the asynchronous handling should be cancelled.
      -
      booleanisMinecraftAsync(PacketEvent event) -
      Determine if Minecraft allows asynchronous processing of this packet.
      -
      booleanisProcessed() -
      Retrieve whether or not this packet has been processed by the async listeners.
      -
      booleanisQueued() -
      Whether or not this packet is or has been queued for processing.
      -
      booleanisTransmitted() -
      Retrieve whether or not this packet has already been sent.
      -
      voidsetAsyncCancelled(boolean asyncCancelled) -
      Set whether or not the asynchronous handling should be cancelled.
      -
      voidsetNewSendingIndex(long newSendingIndex) -
      Sets the desired sending order after processing has completed.
      -
      voidsetPacketStream(PacketStream packetStream) -
      Sets the output packet stream responsible for transmitting this packet.
      -
      voidsetProcessingLock(java.lang.Object processingLock) 
      voidsetTimeout(long timeout) -
      Set the time the packet will be forcefully rejected.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        DEFAULT_TIMEOUT_DELTA

        -
        public static final int DEFAULT_TIMEOUT_DELTA
        -
        Default number of milliseconds until a packet will rejected.
        -
        See Also:
        Constant Field Values
        -
      • -
      - - - -
        -
      • -

        DEFAULT_SENDING_DELTA

        -
        public static final int DEFAULT_SENDING_DELTA
        -
        Default number of packets to skip.
        -
        See Also:
        Constant Field Values
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getInitialTime

        -
        public long getInitialTime()
        -
        Retrieve the time the packet was initially queued for asynchronous processing.
        -
        Returns:
        The initial time in number of milliseconds since 01.01.1970 00:00.
        -
      • -
      - - - -
        -
      • -

        getTimeout

        -
        public long getTimeout()
        -
        Retrieve the time the packet will be forcefully rejected.
        -
        Returns:
        The time to reject the packet, in milliseconds since 01.01.1970 00:00.
        -
      • -
      - - - -
        -
      • -

        setTimeout

        -
        public void setTimeout(long timeout)
        -
        Set the time the packet will be forcefully rejected.
        -
        Parameters:
        timeout - - time to reject the packet, in milliseconds since 01.01.1970 00:00.
        -
      • -
      - - - -
        -
      • -

        getOriginalSendingIndex

        -
        public long getOriginalSendingIndex()
        -
        Retrieve the order the packet was originally transmitted.
        -
        Returns:
        The original packet index.
        -
      • -
      - - - -
        -
      • -

        getNewSendingIndex

        -
        public long getNewSendingIndex()
        -
        Retrieve the desired sending order after processing has completed. -

        - Higher sending order means lower priority.

        -
        Returns:
        Desired sending order.
        -
      • -
      - - - -
        -
      • -

        setNewSendingIndex

        -
        public void setNewSendingIndex(long newSendingIndex)
        -
        Sets the desired sending order after processing has completed. -

        - Higher sending order means lower priority.

        -
        Parameters:
        newSendingIndex - - new packet send index.
        -
      • -
      - - - -
        -
      • -

        getPacketStream

        -
        public PacketStream getPacketStream()
        -
        Retrieve the packet stream responsible for transmitting this packet.
        -
        Returns:
        The packet stream.
        -
      • -
      - - - -
        -
      • -

        setPacketStream

        -
        public void setPacketStream(PacketStream packetStream)
        -
        Sets the output packet stream responsible for transmitting this packet.
        -
        Parameters:
        packetStream - - new output packet stream.
        -
      • -
      - - - -
        -
      • -

        isProcessed

        -
        public boolean isProcessed()
        -
        Retrieve whether or not this packet has been processed by the async listeners.
        -
        Returns:
        TRUE if it has been processed, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        incrementProcessingDelay

        -
        public int incrementProcessingDelay()
        -
        Increment the number of times the current packet must be signalled as done before its transmitted. -

        - This is useful if an asynchronous listener is waiting for further information before the - packet can be sent to the user. A packet listener MUST eventually call - AsyncFilterManager.signalPacketTransmission(PacketEvent), - even if the packet is cancelled, after this method is called. -

        - It is recommended that processing outside a packet listener is wrapped in a synchronized block - using the getProcessingLock() method.

        -
        Returns:
        The new processing delay.
        -
      • -
      - - - -
        -
      • -

        getProcessingDelay

        -
        public int getProcessingDelay()
        -
        Retrieve the number of times a packet must be signalled to be done before it's sent.
        -
        Returns:
        Number of processing delays.
        -
      • -
      - - - -
        -
      • -

        isQueued

        -
        public boolean isQueued()
        -
        Whether or not this packet is or has been queued for processing.
        -
        Returns:
        TRUE if it has, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        getQueuedSendingIndex

        -
        public long getQueuedSendingIndex()
        -
        Retrieve the sending index when the packet was queued.
        -
        Returns:
        Queued sending index.
        -
      • -
      - - - -
        -
      • -

        getProcessingLock

        -
        public java.lang.Object getProcessingLock()
        -
        Processing lock used to synchronize access to the parent PacketEvent and PacketContainer. -

        - This lock is automatically acquired for every asynchronous packet listener. It should only be - used to synchronize access to a PacketEvent if it's processing has been delayed.

        -
        Returns:
        A processing lock.
        -
      • -
      - - - -
        -
      • -

        setProcessingLock

        -
        public void setProcessingLock(java.lang.Object processingLock)
        -
      • -
      - - - -
        -
      • -

        isTransmitted

        -
        public boolean isTransmitted()
        -
        Retrieve whether or not this packet has already been sent.
        -
        Returns:
        TRUE if it has been sent before, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        hasExpired

        -
        public boolean hasExpired()
        -
        Determine if this packet has expired.
        -
        Returns:
        TRUE if it has, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        hasExpired

        -
        public boolean hasExpired(long currentTime)
        -
        Determine if this packet has expired given this time.
        -
        Parameters:
        currentTime - - the current time in milliseconds since 01.01.1970 00:00.
        -
        Returns:
        TRUE if it has, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        isAsyncCancelled

        -
        public boolean isAsyncCancelled()
        -
        Determine if the asynchronous handling should be cancelled.
        -
        Returns:
        TRUE if it should, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        setAsyncCancelled

        -
        public void setAsyncCancelled(boolean asyncCancelled)
        -
        Set whether or not the asynchronous handling should be cancelled. -

        - This is only relevant during the synchronous processing. Asynchronous - listeners should use the normal cancel-field to cancel a PacketEvent.

        -
        Parameters:
        asyncCancelled - - TRUE to cancel it, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        getListenerHandler

        -
        public AsyncListenerHandler getListenerHandler()
        -
        Retrieve the current asynchronous listener handler.
        -
        Returns:
        Asychronous listener handler, or NULL if this packet is not asynchronous.
        -
      • -
      - - - -
        -
      • -

        getWorkerID

        -
        public int getWorkerID()
        -
        Retrieve the current worker ID.
        -
        Returns:
        Current worker ID.
        -
      • -
      - - - - - - - -
        -
      • -

        compareTo

        -
        public int compareTo(AsyncMarker o)
        -
        -
        Specified by:
        -
        compareTo in interface java.lang.Comparable<AsyncMarker>
        -
        -
      • -
      - - - -
        -
      • -

        equals

        -
        public boolean equals(java.lang.Object other)
        -
        -
        Overrides:
        -
        equals in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        hashCode

        -
        public int hashCode()
        -
        -
        Overrides:
        -
        hashCode in class java.lang.Object
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/async/AsyncRunnable.html b/Javadoc/com/comphenix/protocol/async/AsyncRunnable.html deleted file mode 100644 index 732f0ff0..00000000 --- a/Javadoc/com/comphenix/protocol/async/AsyncRunnable.html +++ /dev/null @@ -1,281 +0,0 @@ - - - - - -AsyncRunnable - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.async
-

Interface AsyncRunnable

-
-
-
-
    -
  • -
    -
    All Superinterfaces:
    -
    java.lang.Runnable
    -
    -
    -
    -
    public interface AsyncRunnable
    -extends java.lang.Runnable
    -
    A runnable representing a asynchronous event listener.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      intgetID() -
      Retrieve a unique worker ID.
      -
      booleanisFinished() -
      Determine if this runnable has already run its course.
      -
      booleanisRunning() -
      Determine if we're running or not.
      -
      booleanstop() -
      Stop the given runnable.
      -
      -
        -
      • - - -

        Methods inherited from interface java.lang.Runnable

        -run
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getID

        -
        int getID()
        -
        Retrieve a unique worker ID.
        -
        Returns:
        Unique worker ID.
        -
      • -
      - - - -
        -
      • -

        stop

        -
        boolean stop()
        -             throws java.lang.InterruptedException
        -
        Stop the given runnable. -

        - This may not occur right away.

        -
        Returns:
        TRUE if the thread was stopped, FALSE if it was already stopped.
        -
        Throws:
        -
        java.lang.InterruptedException
        -
      • -
      - - - -
        -
      • -

        isRunning

        -
        boolean isRunning()
        -
        Determine if we're running or not.
        -
        Returns:
        TRUE if we're running, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        isFinished

        -
        boolean isFinished()
        -
        Determine if this runnable has already run its course.
        -
        Returns:
        TRUE if it has been stopped, FALSE otherwise.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/async/class-use/AsyncFilterManager.html b/Javadoc/com/comphenix/protocol/async/class-use/AsyncFilterManager.html deleted file mode 100644 index cfae70b4..00000000 --- a/Javadoc/com/comphenix/protocol/async/class-use/AsyncFilterManager.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.async.AsyncFilterManager - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.async.AsyncFilterManager

-
-
No usage of com.comphenix.protocol.async.AsyncFilterManager
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/async/class-use/AsyncListenerHandler.html b/Javadoc/com/comphenix/protocol/async/class-use/AsyncListenerHandler.html deleted file mode 100644 index ff26914c..00000000 --- a/Javadoc/com/comphenix/protocol/async/class-use/AsyncListenerHandler.html +++ /dev/null @@ -1,222 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.async.AsyncListenerHandler - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.async.AsyncListenerHandler

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/async/class-use/AsyncMarker.html b/Javadoc/com/comphenix/protocol/async/class-use/AsyncMarker.html deleted file mode 100644 index 378b6f62..00000000 --- a/Javadoc/com/comphenix/protocol/async/class-use/AsyncMarker.html +++ /dev/null @@ -1,230 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.async.AsyncMarker - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.async.AsyncMarker

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/async/class-use/AsyncRunnable.html b/Javadoc/com/comphenix/protocol/async/class-use/AsyncRunnable.html deleted file mode 100644 index 0687e73f..00000000 --- a/Javadoc/com/comphenix/protocol/async/class-use/AsyncRunnable.html +++ /dev/null @@ -1,172 +0,0 @@ - - - - - -Uses of Interface com.comphenix.protocol.async.AsyncRunnable - - - - - - - -
- - - - - -
- - -
-

Uses of Interface
com.comphenix.protocol.async.AsyncRunnable

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/async/package-frame.html b/Javadoc/com/comphenix/protocol/async/package-frame.html deleted file mode 100644 index 972b5882..00000000 --- a/Javadoc/com/comphenix/protocol/async/package-frame.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - -com.comphenix.protocol.async - - - - -

com.comphenix.protocol.async

-
-

Interfaces

- -

Classes

- -
- - diff --git a/Javadoc/com/comphenix/protocol/async/package-summary.html b/Javadoc/com/comphenix/protocol/async/package-summary.html deleted file mode 100644 index 0e7f7748..00000000 --- a/Javadoc/com/comphenix/protocol/async/package-summary.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - - -com.comphenix.protocol.async - - - - - - - -
- - - - - -
- - -
-

Package com.comphenix.protocol.async

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/async/package-tree.html b/Javadoc/com/comphenix/protocol/async/package-tree.html deleted file mode 100644 index cedc5961..00000000 --- a/Javadoc/com/comphenix/protocol/async/package-tree.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - -com.comphenix.protocol.async Class Hierarchy - - - - - - - -
- - - - - -
- - -
-

Hierarchy For Package com.comphenix.protocol.async

-Package Hierarchies: - -
-
-

Class Hierarchy

- -

Interface Hierarchy

- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/async/package-use.html b/Javadoc/com/comphenix/protocol/async/package-use.html deleted file mode 100644 index ae3790ab..00000000 --- a/Javadoc/com/comphenix/protocol/async/package-use.html +++ /dev/null @@ -1,204 +0,0 @@ - - - - - -Uses of Package com.comphenix.protocol.async - - - - - - - -
- - - - - -
- - -
-

Uses of Package
com.comphenix.protocol.async

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/class-use/Application.html b/Javadoc/com/comphenix/protocol/class-use/Application.html deleted file mode 100644 index 63c38da3..00000000 --- a/Javadoc/com/comphenix/protocol/class-use/Application.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.Application - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.Application

-
-
No usage of com.comphenix.protocol.Application
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/class-use/AsynchronousManager.html b/Javadoc/com/comphenix/protocol/class-use/AsynchronousManager.html deleted file mode 100644 index e59da16f..00000000 --- a/Javadoc/com/comphenix/protocol/class-use/AsynchronousManager.html +++ /dev/null @@ -1,183 +0,0 @@ - - - - - -Uses of Interface com.comphenix.protocol.AsynchronousManager - - - - - - - -
- - - - - -
- - -
-

Uses of Interface
com.comphenix.protocol.AsynchronousManager

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/class-use/BukkitInitialization.html b/Javadoc/com/comphenix/protocol/class-use/BukkitInitialization.html deleted file mode 100644 index 7a295e08..00000000 --- a/Javadoc/com/comphenix/protocol/class-use/BukkitInitialization.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.BukkitInitialization - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.BukkitInitialization

-
-
No usage of com.comphenix.protocol.BukkitInitialization
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/class-use/CommandFilter.Filter.html b/Javadoc/com/comphenix/protocol/class-use/CommandFilter.Filter.html deleted file mode 100644 index f09ea99d..00000000 --- a/Javadoc/com/comphenix/protocol/class-use/CommandFilter.Filter.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.CommandFilter.Filter - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.CommandFilter.Filter

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/class-use/CommandFilter.FilterFailedHandler.html b/Javadoc/com/comphenix/protocol/class-use/CommandFilter.FilterFailedHandler.html deleted file mode 100644 index a8cda74b..00000000 --- a/Javadoc/com/comphenix/protocol/class-use/CommandFilter.FilterFailedHandler.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - -Uses of Interface com.comphenix.protocol.CommandFilter.FilterFailedHandler - - - - - - - -
- - - - - -
- - -
-

Uses of Interface
com.comphenix.protocol.CommandFilter.FilterFailedHandler

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/class-use/CommandFilter.html b/Javadoc/com/comphenix/protocol/class-use/CommandFilter.html deleted file mode 100644 index d85fb3a0..00000000 --- a/Javadoc/com/comphenix/protocol/class-use/CommandFilter.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.CommandFilter - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.CommandFilter

-
-
No usage of com.comphenix.protocol.CommandFilter
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/class-use/MinecraftVersionTest.html b/Javadoc/com/comphenix/protocol/class-use/MinecraftVersionTest.html deleted file mode 100644 index 3d0b9772..00000000 --- a/Javadoc/com/comphenix/protocol/class-use/MinecraftVersionTest.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.MinecraftVersionTest - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.MinecraftVersionTest

-
-
No usage of com.comphenix.protocol.MinecraftVersionTest
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/class-use/PacketStream.html b/Javadoc/com/comphenix/protocol/class-use/PacketStream.html deleted file mode 100644 index 20eacd55..00000000 --- a/Javadoc/com/comphenix/protocol/class-use/PacketStream.html +++ /dev/null @@ -1,217 +0,0 @@ - - - - - -Uses of Interface com.comphenix.protocol.PacketStream - - - - - - - -
- - - - - -
- - -
-

Uses of Interface
com.comphenix.protocol.PacketStream

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/class-use/Packets.Client.html b/Javadoc/com/comphenix/protocol/class-use/Packets.Client.html deleted file mode 100644 index 7cd5fb75..00000000 --- a/Javadoc/com/comphenix/protocol/class-use/Packets.Client.html +++ /dev/null @@ -1,165 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.Packets.Client - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.Packets.Client

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/class-use/Packets.Server.html b/Javadoc/com/comphenix/protocol/class-use/Packets.Server.html deleted file mode 100644 index 463535b6..00000000 --- a/Javadoc/com/comphenix/protocol/class-use/Packets.Server.html +++ /dev/null @@ -1,165 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.Packets.Server - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.Packets.Server

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/class-use/Packets.html b/Javadoc/com/comphenix/protocol/class-use/Packets.html deleted file mode 100644 index c7cd080c..00000000 --- a/Javadoc/com/comphenix/protocol/class-use/Packets.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.Packets - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.Packets

-
-
No usage of com.comphenix.protocol.Packets
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/class-use/ProtocolLibrary.html b/Javadoc/com/comphenix/protocol/class-use/ProtocolLibrary.html deleted file mode 100644 index 4fba5f8b..00000000 --- a/Javadoc/com/comphenix/protocol/class-use/ProtocolLibrary.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.ProtocolLibrary - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.ProtocolLibrary

-
-
No usage of com.comphenix.protocol.ProtocolLibrary
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/class-use/ProtocolManager.html b/Javadoc/com/comphenix/protocol/class-use/ProtocolManager.html deleted file mode 100644 index bf665ed6..00000000 --- a/Javadoc/com/comphenix/protocol/class-use/ProtocolManager.html +++ /dev/null @@ -1,203 +0,0 @@ - - - - - -Uses of Interface com.comphenix.protocol.ProtocolManager - - - - - - - -
- - - - - -
- - -
-

Uses of Interface
com.comphenix.protocol.ProtocolManager

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/concurrency/AbstractConcurrentListenerMultimap.html b/Javadoc/com/comphenix/protocol/concurrency/AbstractConcurrentListenerMultimap.html deleted file mode 100644 index e19db0f8..00000000 --- a/Javadoc/com/comphenix/protocol/concurrency/AbstractConcurrentListenerMultimap.html +++ /dev/null @@ -1,359 +0,0 @@ - - - - - -AbstractConcurrentListenerMultimap - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.concurrency
-

Class AbstractConcurrentListenerMultimap<TListener>

-
-
- -
-
    -
  • -
    -
    -
    public abstract class AbstractConcurrentListenerMultimap<TListener>
    -extends java.lang.Object
    -
    A thread-safe implementation of a listener multimap.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      voidaddListener(TListener listener, - ListeningWhitelist whitelist) -
      Adds a listener to its requested list of packet recievers.
      -
      protected voidclearListeners() -
      Remove all packet listeners.
      -
      java.util.Collection<com.comphenix.protocol.injector.PrioritizedListener<TListener>>getListener(int packetID) -
      Retrieve the registered listeners, in order from the lowest to the highest priority.
      -
      java.util.Set<java.lang.Integer>keySet() -
      Retrieve every registered packet ID:
      -
      java.util.List<java.lang.Integer>removeListener(TListener listener, - ListeningWhitelist whitelist) -
      Removes the given listener from the packet event list.
      -
      java.lang.Iterable<com.comphenix.protocol.injector.PrioritizedListener<TListener>>values() -
      Retrieve every listener.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        AbstractConcurrentListenerMultimap

        -
        public AbstractConcurrentListenerMultimap(int maximumPacketID)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - - - -
        -
      • -

        addListener

        -
        public void addListener(TListener listener,
        -               ListeningWhitelist whitelist)
        -
        Adds a listener to its requested list of packet recievers.
        -
        Parameters:
        listener - - listener with a list of packets to recieve notifcations for.
        whitelist - - the packet whitelist to use.
        -
      • -
      - - - - - -
        -
      • -

        removeListener

        -
        public java.util.List<java.lang.Integer> removeListener(TListener listener,
        -                                               ListeningWhitelist whitelist)
        -
        Removes the given listener from the packet event list.
        -
        Parameters:
        listener - - listener to remove.
        whitelist - - the packet whitelist that was used.
        -
        Returns:
        Every packet ID that was removed due to no listeners.
        -
      • -
      - - - -
        -
      • -

        getListener

        -
        public java.util.Collection<com.comphenix.protocol.injector.PrioritizedListener<TListener>> getListener(int packetID)
        -
        Retrieve the registered listeners, in order from the lowest to the highest priority. -

        - The returned list is thread-safe and doesn't require synchronization.

        -
        Parameters:
        packetID - - packet ID.
        -
        Returns:
        Registered listeners.
        -
      • -
      - - - -
        -
      • -

        values

        -
        public java.lang.Iterable<com.comphenix.protocol.injector.PrioritizedListener<TListener>> values()
        -
        Retrieve every listener.
        -
        Returns:
        Every listener.
        -
      • -
      - - - -
        -
      • -

        keySet

        -
        public java.util.Set<java.lang.Integer> keySet()
        -
        Retrieve every registered packet ID:
        -
        Returns:
        Registered packet ID.
        -
      • -
      - - - -
        -
      • -

        clearListeners

        -
        protected void clearListeners()
        -
        Remove all packet listeners.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.EndPoint.html b/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.EndPoint.html deleted file mode 100644 index 72daf0ab..00000000 --- a/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.EndPoint.html +++ /dev/null @@ -1,301 +0,0 @@ - - - - - -AbstractIntervalTree.EndPoint - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.concurrency
-

Class AbstractIntervalTree.EndPoint

-
-
- -
-
    -
  • -
    -
    Enclosing class:
    -
    AbstractIntervalTree<TKey extends java.lang.Comparable<TKey>,TValue>
    -
    -
    -
    -
    protected class AbstractIntervalTree.EndPoint
    -extends java.lang.Object
    -
    Represents a single end point (open, close or both) of a range.
    -
  • -
-
-
- -
-
- -
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.Entry.html b/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.Entry.html deleted file mode 100644 index 24bb0fae..00000000 --- a/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.Entry.html +++ /dev/null @@ -1,327 +0,0 @@ - - - - - -AbstractIntervalTree.Entry - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.concurrency
-

Class AbstractIntervalTree.Entry

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.util.Map.Entry<com.google.common.collect.Range<TKey>,TValue>
    -
    -
    -
    Enclosing class:
    -
    AbstractIntervalTree<TKey extends java.lang.Comparable<TKey>,TValue>
    -
    -
    -
    -
    public class AbstractIntervalTree.Entry
    -extends java.lang.Object
    -implements java.util.Map.Entry<com.google.common.collect.Range<TKey>,TValue>
    -
    Represents a range and a value in this interval tree.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      booleanequals(java.lang.Object obj) 
      com.google.common.collect.Range<TKey>getKey() 
      TValuegetValue() 
      inthashCode() 
      TValuesetValue(TValue value) 
      java.lang.StringtoString() 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getKey

        -
        public com.google.common.collect.Range<TKey> getKey()
        -
        -
        Specified by:
        -
        getKey in interface java.util.Map.Entry<com.google.common.collect.Range<TKey extends java.lang.Comparable<TKey>>,TValue>
        -
        -
      • -
      - - - -
        -
      • -

        getValue

        -
        public TValue getValue()
        -
        -
        Specified by:
        -
        getValue in interface java.util.Map.Entry<com.google.common.collect.Range<TKey extends java.lang.Comparable<TKey>>,TValue>
        -
        -
      • -
      - - - - - -
        -
      • -

        setValue

        -
        public TValue setValue(TValue value)
        -
        -
        Specified by:
        -
        setValue in interface java.util.Map.Entry<com.google.common.collect.Range<TKey extends java.lang.Comparable<TKey>>,TValue>
        -
        -
      • -
      - - - -
        -
      • -

        equals

        -
        public boolean equals(java.lang.Object obj)
        -
        -
        Specified by:
        -
        equals in interface java.util.Map.Entry<com.google.common.collect.Range<TKey extends java.lang.Comparable<TKey>>,TValue>
        -
        Overrides:
        -
        equals in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        hashCode

        -
        public int hashCode()
        -
        -
        Specified by:
        -
        hashCode in interface java.util.Map.Entry<com.google.common.collect.Range<TKey extends java.lang.Comparable<TKey>>,TValue>
        -
        Overrides:
        -
        hashCode in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.State.html b/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.State.html deleted file mode 100644 index facf483b..00000000 --- a/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.State.html +++ /dev/null @@ -1,337 +0,0 @@ - - - - - -AbstractIntervalTree.State - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.concurrency
-

Enum AbstractIntervalTree.State

-
-
- -
- -
-
-
    -
  • - -
      -
    • - - -

      Enum Constant Summary

      - - - - - - - - - - - - - - -
      Enum Constants 
      Enum Constant and Description
      BOTH 
      CLOSE 
      OPEN 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      static AbstractIntervalTree.StatevalueOf(java.lang.String name) -
      Returns the enum constant of this type with the specified name.
      -
      static AbstractIntervalTree.State[]values() -
      Returns an array containing the constants of this enum type, in -the order they are declared.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Enum

        -clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -getClass, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        values

        -
        public static AbstractIntervalTree.State[] values()
        -
        Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate -over the constants as follows: -
        -for (AbstractIntervalTree.State c : AbstractIntervalTree.State.values())
        -    System.out.println(c);
        -
        -
        Returns:
        an array containing the constants of this enum type, in -the order they are declared
        -
      • -
      - - - -
        -
      • -

        valueOf

        -
        public static AbstractIntervalTree.State valueOf(java.lang.String name)
        -
        Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.)
        -
        Parameters:
        name - the name of the enum constant to be returned.
        -
        Returns:
        the enum constant with the specified name
        -
        Throws:
        -
        java.lang.IllegalArgumentException - if this enum type has no constant -with the specified name
        -
        java.lang.NullPointerException - if the argument is null
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.html b/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.html deleted file mode 100644 index 2e1661cf..00000000 --- a/Javadoc/com/comphenix/protocol/concurrency/AbstractIntervalTree.html +++ /dev/null @@ -1,654 +0,0 @@ - - - - - -AbstractIntervalTree - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.concurrency
-

Class AbstractIntervalTree<TKey extends java.lang.Comparable<TKey>,TValue>

-
-
- -
-
    -
  • -
    Type Parameters:
    TKey - - type of the key. Must implement Comparable.
    TValue - - type of the value to associate.
    -
    -
    -
    public abstract class AbstractIntervalTree<TKey extends java.lang.Comparable<TKey>,TValue>
    -extends java.lang.Object
    -
    Represents a generic store of intervals and associated values. No two intervals - can overlap in this representation. -

    - Note that this implementation is not thread safe.

    -
    Author:
    -
    Kristian
    -
  • -
-
-
- -
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        AbstractIntervalTree

        -
        public AbstractIntervalTree()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - - - -
        -
      • -

        remove

        -
        public java.util.Set<AbstractIntervalTree.Entry> remove(TKey lowerBound,
        -                                               TKey upperBound)
        -
        Removes every interval that intersects with the given range.
        -
        Parameters:
        lowerBound - - lowest value to remove.
        upperBound - - highest value to remove.
        -
      • -
      - - - - - -
        -
      • -

        remove

        -
        public java.util.Set<AbstractIntervalTree.Entry> remove(TKey lowerBound,
        -                                               TKey upperBound,
        -                                               boolean preserveDifference)
        -
        Removes every interval that intersects with the given range.
        -
        Parameters:
        lowerBound - - lowest value to remove.
        upperBound - - highest value to remove.
        preserveDifference - - whether or not to preserve the intervals that are partially outside.
        -
      • -
      - - - - - - - - - - - - - - - -
        -
      • -

        put

        -
        public void put(TKey lowerBound,
        -       TKey upperBound,
        -       TValue value)
        -
        Associates a given interval of keys with a certain value. Any previous - association will be overwritten in the given interval. -

        - Overlapping intervals are not permitted. A key can only be associated with a single value.

        -
        Parameters:
        lowerBound - - the minimum key (inclusive).
        upperBound - - the maximum key (inclusive).
        value - - the value, or NULL to reset this range.
        -
      • -
      - - - - - -
        -
      • -

        containsKey

        -
        public boolean containsKey(TKey key)
        -
        Determines if the given key is within an interval.
        -
        Parameters:
        key - - key to check.
        -
        Returns:
        TRUE if the given key is within an interval in this tree, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        entrySet

        -
        public java.util.Set<AbstractIntervalTree.Entry> entrySet()
        -
        Enumerates over every range in this interval tree.
        -
        Returns:
        Number of ranges.
        -
      • -
      - - - -
        -
      • -

        clear

        -
        public void clear()
        -
        Remove every interval.
        -
      • -
      - - - -
        -
      • -

        putAll

        -
        public void putAll(AbstractIntervalTree<TKey,TValue> other)
        -
        Inserts every range from the given tree into the current tree.
        -
        Parameters:
        other - - the other tree to read from.
        -
      • -
      - - - - - -
        -
      • -

        get

        -
        public TValue get(TKey key)
        -
        Retrieves the value of the range that matches the given key, or NULL if nothing was found.
        -
        Parameters:
        key - - the level to read for.
        -
        Returns:
        The correct amount of experience, or NULL if nothing was recorded.
        -
      • -
      - - - - - -
        -
      • -

        getEndPoint

        -
        protected AbstractIntervalTree.EndPoint getEndPoint(TKey key)
        -
        Get the left-most end-point associated with this key.
        -
        Parameters:
        key - - key to search for.
        -
        Returns:
        The end point found, or NULL.
        -
      • -
      - - - - - -
        -
      • -

        getPreviousEndPoint

        -
        protected AbstractIntervalTree.EndPoint getPreviousEndPoint(TKey point,
        -                                                boolean inclusive)
        -
        Get the previous end point of a given key.
        -
        Parameters:
        point - - the point to search with.
        inclusive - - whether or not to include the current point in the search.
        -
        Returns:
        The previous end point of a given given key, or NULL if not found.
        -
      • -
      - - - - - -
        -
      • -

        getNextEndPoint

        -
        protected AbstractIntervalTree.EndPoint getNextEndPoint(TKey point,
        -                                            boolean inclusive)
        -
        Get the next end point of a given key.
        -
        Parameters:
        point - - the point to search with.
        inclusive - - whether or not to include the current point in the search.
        -
        Returns:
        The next end point of a given given key, or NULL if not found.
        -
      • -
      - - - -
        -
      • -

        onEntryAdded

        -
        protected void onEntryAdded(AbstractIntervalTree.Entry added)
        -
        Invoked when an entry is added.
        -
        Parameters:
        added - - the entry that was added.
        -
      • -
      - - - -
        -
      • -

        onEntryRemoved

        -
        protected void onEntryRemoved(AbstractIntervalTree.Entry removed)
        -
        Invoked when an entry is removed.
        -
        Parameters:
        removed - - the removed entry.
        -
      • -
      - - - - - -
        -
      • -

        decrementKey

        -
        protected abstract TKey decrementKey(TKey key)
        -
        Decrement the given key by one unit.
        -
        Parameters:
        key - - the key that should be decremented.
        -
        Returns:
        The new decremented key.
        -
      • -
      - - - - - -
        -
      • -

        incrementKey

        -
        protected abstract TKey incrementKey(TKey key)
        -
        Increment the given key by one unit.
        -
        Parameters:
        key - - the key that should be incremented.
        -
        Returns:
        The new incremented key.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/concurrency/BlockingHashMap.html b/Javadoc/com/comphenix/protocol/concurrency/BlockingHashMap.html deleted file mode 100644 index 6a56a2b7..00000000 --- a/Javadoc/com/comphenix/protocol/concurrency/BlockingHashMap.html +++ /dev/null @@ -1,453 +0,0 @@ - - - - - -BlockingHashMap - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.concurrency
-

Class BlockingHashMap<TKey,TValue>

-
-
- -
-
    -
  • -
    Type Parameters:
    TKey - - type of the key.
    TValue - - type of the value.
    -
    -
    -
    public class BlockingHashMap<TKey,TValue>
    -extends java.lang.Object
    -
    A map that supports blocking on read operations. Null keys are not supported. -

    - Values are stored as weak references, and will be automatically removed once they've all been dereferenced. -

    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      BlockingHashMap() -
      Initialize a new map.
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      static <TKey,TValue> 
      BlockingHashMap<TKey,TValue>
      create() -
      Initialize a new map.
      -
      TValueget(TKey key) -
      Waits until a value has been associated with the given key, and then retrieves that value.
      -
      TValueget(TKey key, - long timeout, - java.util.concurrent.TimeUnit unit) -
      Waits until a value has been associated with the given key, and then retrieves that value.
      -
      TValueget(TKey key, - long timeout, - java.util.concurrent.TimeUnit unit, - boolean ignoreInterrupted) -
      Waits until a value has been associated with the given key, and then retrieves that value.
      -
      java.util.Set<TKey>keys() 
      static <TKey,TValue> 
      com.google.common.cache.CacheLoader<TKey,TValue>
      newInvalidCacheLoader() -
      Retrieve a cache loader that will always throw an exception.
      -
      TValueput(TKey key, - TValue value) -
      Associate a given key with the given value.
      -
      TValueputIfAbsent(TKey key, - TValue value) -
      If and only if a key is not present in the map will it be associated with the given value.
      -
      intsize() 
      java.util.Collection<TValue>values() 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        BlockingHashMap

        -
        public BlockingHashMap()
        -
        Initialize a new map.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        newInvalidCacheLoader

        -
        public static <TKey,TValue> com.google.common.cache.CacheLoader<TKey,TValue> newInvalidCacheLoader()
        -
        Retrieve a cache loader that will always throw an exception.
        -
        Returns:
        An invalid cache loader.
        -
      • -
      - - - -
        -
      • -

        create

        -
        public static <TKey,TValue> BlockingHashMap<TKey,TValue> create()
        -
        Initialize a new map.
        -
        Returns:
        The created map.
        -
      • -
      - - - - - -
        -
      • -

        get

        -
        public TValue get(TKey key)
        -           throws java.lang.InterruptedException
        -
        Waits until a value has been associated with the given key, and then retrieves that value.
        -
        Parameters:
        key - - the key whose associated value is to be returned
        -
        Returns:
        The value to which the specified key is mapped.
        -
        Throws:
        -
        java.lang.InterruptedException - If the current thread got interrupted while waiting.
        -
      • -
      - - - - - -
        -
      • -

        get

        -
        public TValue get(TKey key,
        -         long timeout,
        -         java.util.concurrent.TimeUnit unit)
        -           throws java.lang.InterruptedException
        -
        Waits until a value has been associated with the given key, and then retrieves that value.
        -
        Parameters:
        key - - the key whose associated value is to be returned
        timeout - - the amount of time to wait until an association has been made.
        unit - - unit of timeout.
        -
        Returns:
        The value to which the specified key is mapped, or NULL if the timeout elapsed.
        -
        Throws:
        -
        java.lang.InterruptedException - If the current thread got interrupted while waiting.
        -
      • -
      - - - - - -
        -
      • -

        get

        -
        public TValue get(TKey key,
        -         long timeout,
        -         java.util.concurrent.TimeUnit unit,
        -         boolean ignoreInterrupted)
        -           throws java.lang.InterruptedException
        -
        Waits until a value has been associated with the given key, and then retrieves that value. -

        - If timeout is zero, this method will return immediately if it can't find an socket injector.

        -
        Parameters:
        key - - the key whose associated value is to be returned
        timeout - - the amount of time to wait until an association has been made.
        unit - - unit of timeout.
        ignoreInterrupted - - TRUE if we should ignore the thread being interrupted, FALSE otherwise.
        -
        Returns:
        The value to which the specified key is mapped, or NULL if the timeout elapsed.
        -
        Throws:
        -
        java.lang.InterruptedException - If the current thread got interrupted while waiting.
        -
      • -
      - - - - - -
        -
      • -

        put

        -
        public TValue put(TKey key,
        -         TValue value)
        -
        Associate a given key with the given value. -

        - Wakes up any blocking getters on this specific key.

        -
        Parameters:
        key - - the key to associate.
        value - - the value.
        -
        Returns:
        The previously associated value.
        -
      • -
      - - - - - -
        -
      • -

        putIfAbsent

        -
        public TValue putIfAbsent(TKey key,
        -                 TValue value)
        -
        If and only if a key is not present in the map will it be associated with the given value.
        -
        Parameters:
        key - - the key to associate.
        value - - the value to associate.
        -
        Returns:
        The previous value this key has been associated with.
        -
      • -
      - - - -
        -
      • -

        size

        -
        public int size()
        -
      • -
      - - - -
        -
      • -

        values

        -
        public java.util.Collection<TValue> values()
        -
      • -
      - - - -
        -
      • -

        keys

        -
        public java.util.Set<TKey> keys()
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/concurrency/BlockingHashMapTest.html b/Javadoc/com/comphenix/protocol/concurrency/BlockingHashMapTest.html deleted file mode 100644 index 02b9c830..00000000 --- a/Javadoc/com/comphenix/protocol/concurrency/BlockingHashMapTest.html +++ /dev/null @@ -1,261 +0,0 @@ - - - - - -BlockingHashMapTest - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.concurrency
-

Class BlockingHashMapTest

-
-
- -
-
    -
  • -
    -
    -
    public class BlockingHashMapTest
    -extends java.lang.Object
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      voidtest() 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        BlockingHashMapTest

        -
        public BlockingHashMapTest()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        test

        -
        public void test()
        -          throws java.lang.InterruptedException,
        -                 java.util.concurrent.ExecutionException
        -
        Throws:
        -
        java.lang.InterruptedException
        -
        java.util.concurrent.ExecutionException
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/concurrency/IntegerSet.html b/Javadoc/com/comphenix/protocol/concurrency/IntegerSet.html deleted file mode 100644 index 862e3d81..00000000 --- a/Javadoc/com/comphenix/protocol/concurrency/IntegerSet.html +++ /dev/null @@ -1,360 +0,0 @@ - - - - - -IntegerSet - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.concurrency
-

Class IntegerSet

-
-
- -
-
    -
  • -
    -
    -
    public class IntegerSet
    -extends java.lang.Object
    -
    Represents a very quick integer set that uses a lookup table to store membership. -

    - This class is intentionally missing a size method.

    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      IntegerSet(int maximumCount) -
      Initialize a lookup table with the given maximum number of elements.
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      voidadd(int element) -
      Add the given element to the set, or do nothing if it already exists.
      -
      voidaddAll(java.util.Collection<java.lang.Integer> packets) -
      Add the given collection of elements to the set.
      -
      voidclear() -
      Remove every element from the set.
      -
      booleancontains(int element) -
      Determine whether or not the given element exists in the set.
      -
      voidremove(int element) -
      Remove the given element from the set, or do nothing if it's already removed.
      -
      java.util.Set<java.lang.Integer>toSet() -
      Convert the current IntegerSet to an equivalent HashSet.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        IntegerSet

        -
        public IntegerSet(int maximumCount)
        -
        Initialize a lookup table with the given maximum number of elements. -

        - This creates a set for elements in the range [0, count). -

        - Formally, the current set must be a subset of [0, 1, 2, ..., count - 1].

        -
        Parameters:
        maximumCount - - maximum element value and count.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        contains

        -
        public boolean contains(int element)
        -
        Determine whether or not the given element exists in the set.
        -
        Parameters:
        element - - the element to check. Must be in the range [0, count).
        -
        Returns:
        TRUE if the given element exists, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        add

        -
        public void add(int element)
        -
        Add the given element to the set, or do nothing if it already exists.
        -
        Parameters:
        element - - element to add.
        -
        Throws:
        -
        OutOfBoundsException - If the given element is not in the range [0, count).
        -
      • -
      - - - -
        -
      • -

        addAll

        -
        public void addAll(java.util.Collection<java.lang.Integer> packets)
        -
        Add the given collection of elements to the set.
        -
        Parameters:
        packets - - elements to add.
        -
      • -
      - - - -
        -
      • -

        remove

        -
        public void remove(int element)
        -
        Remove the given element from the set, or do nothing if it's already removed.
        -
        Parameters:
        element - - element to remove.
        -
      • -
      - - - -
        -
      • -

        clear

        -
        public void clear()
        -
        Remove every element from the set.
        -
      • -
      - - - -
        -
      • -

        toSet

        -
        public java.util.Set<java.lang.Integer> toSet()
        -
        Convert the current IntegerSet to an equivalent HashSet.
        -
        Returns:
        The resulting HashSet.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html b/Javadoc/com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html deleted file mode 100644 index 0d862ebf..00000000 --- a/Javadoc/com/comphenix/protocol/concurrency/SortedCopyOnWriteArray.html +++ /dev/null @@ -1,571 +0,0 @@ - - - - - -SortedCopyOnWriteArray - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.concurrency
-

Class SortedCopyOnWriteArray<T extends java.lang.Comparable<T>>

-
-
- -
-
    -
  • -
    Type Parameters:
    T - - type of the elements in the list.
    -
    -
    All Implemented Interfaces:
    -
    java.lang.Iterable<T>, java.util.Collection<T>
    -
    -
    -
    -
    public class SortedCopyOnWriteArray<T extends java.lang.Comparable<T>>
    -extends java.lang.Object
    -implements java.lang.Iterable<T>, java.util.Collection<T>
    -
    An implicitly sorted array list that preserves insertion order and maintains duplicates.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - - - - -
      Constructors 
      Constructor and Description
      SortedCopyOnWriteArray() -
      Construct an empty sorted array.
      -
      SortedCopyOnWriteArray(java.util.Collection<T> wrapped) -
      Create a sorted array from the given list.
      -
      SortedCopyOnWriteArray(java.util.Collection<T> wrapped, - boolean sort) -
      Create a sorted array from the given list.
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      booleanadd(T value) -
      Inserts the given element in the proper location.
      -
      booleanaddAll(java.util.Collection<? extends T> values) 
      voidclear() 
      booleancontains(java.lang.Object value) 
      booleancontainsAll(java.util.Collection<?> values) 
      Tget(int index) -
      Retrieves an element by index.
      -
      booleanisEmpty() 
      java.util.Iterator<T>iterator() -
      Retrieves an iterator over the elements in the given list.
      -
      voidremove(int index) -
      Removes from the list by making a copy of every element except the one with the given index.
      -
      booleanremove(java.lang.Object value) -
      Removes from the list by making a new list with every element except the one given.
      -
      booleanremoveAll(java.util.Collection<?> values) 
      booleanretainAll(java.util.Collection<?> values) 
      intsize() -
      Retrieve the size of the list.
      -
      java.lang.Object[]toArray() 
      <T> T[]toArray(T[] a) 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
        -
      • - - -

        Methods inherited from interface java.util.Collection

        -equals, hashCode
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        SortedCopyOnWriteArray

        -
        public SortedCopyOnWriteArray()
        -
        Construct an empty sorted array.
        -
      • -
      - - - -
        -
      • -

        SortedCopyOnWriteArray

        -
        public SortedCopyOnWriteArray(java.util.Collection<T> wrapped)
        -
        Create a sorted array from the given list. The elements will be automatically sorted.
        -
        Parameters:
        wrapped - - the collection whose elements are to be placed into the list.
        -
      • -
      - - - -
        -
      • -

        SortedCopyOnWriteArray

        -
        public SortedCopyOnWriteArray(java.util.Collection<T> wrapped,
        -                      boolean sort)
        -
        Create a sorted array from the given list.
        -
        Parameters:
        wrapped - - the collection whose elements are to be placed into the list.
        sort - - TRUE to automatically sort the collection, FALSE if it is already sorted.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - - - -
        -
      • -

        add

        -
        public boolean add(T value)
        -
        Inserts the given element in the proper location.
        -
        -
        Specified by:
        -
        add in interface java.util.Collection<T extends java.lang.Comparable<T>>
        -
        Parameters:
        value - - element to insert.
        -
      • -
      - - - -
        -
      • -

        addAll

        -
        public boolean addAll(java.util.Collection<? extends T> values)
        -
        -
        Specified by:
        -
        addAll in interface java.util.Collection<T extends java.lang.Comparable<T>>
        -
        -
      • -
      - - - -
        -
      • -

        remove

        -
        public boolean remove(java.lang.Object value)
        -
        Removes from the list by making a new list with every element except the one given. -

        - Objects will be compared using the given objects equals() method.

        -
        -
        Specified by:
        -
        remove in interface java.util.Collection<T extends java.lang.Comparable<T>>
        -
        Parameters:
        value - - value to remove.
        -
      • -
      - - - -
        -
      • -

        removeAll

        -
        public boolean removeAll(java.util.Collection<?> values)
        -
        -
        Specified by:
        -
        removeAll in interface java.util.Collection<T extends java.lang.Comparable<T>>
        -
        -
      • -
      - - - -
        -
      • -

        retainAll

        -
        public boolean retainAll(java.util.Collection<?> values)
        -
        -
        Specified by:
        -
        retainAll in interface java.util.Collection<T extends java.lang.Comparable<T>>
        -
        -
      • -
      - - - -
        -
      • -

        remove

        -
        public void remove(int index)
        -
        Removes from the list by making a copy of every element except the one with the given index.
        -
        Parameters:
        index - - index of the element to remove.
        -
      • -
      - - - -
        -
      • -

        get

        -
        public T get(int index)
        -
        Retrieves an element by index.
        -
        Parameters:
        index - - index of element to retrieve.
        -
        Returns:
        The element at the given location.
        -
      • -
      - - - -
        -
      • -

        size

        -
        public int size()
        -
        Retrieve the size of the list.
        -
        -
        Specified by:
        -
        size in interface java.util.Collection<T extends java.lang.Comparable<T>>
        -
        Returns:
        Size of the list.
        -
      • -
      - - - -
        -
      • -

        iterator

        -
        public java.util.Iterator<T> iterator()
        -
        Retrieves an iterator over the elements in the given list. - Warning: No not attempt to remove elements using the iterator.
        -
        -
        Specified by:
        -
        iterator in interface java.lang.Iterable<T extends java.lang.Comparable<T>>
        -
        Specified by:
        -
        iterator in interface java.util.Collection<T extends java.lang.Comparable<T>>
        -
        -
      • -
      - - - -
        -
      • -

        clear

        -
        public void clear()
        -
        -
        Specified by:
        -
        clear in interface java.util.Collection<T extends java.lang.Comparable<T>>
        -
        -
      • -
      - - - -
        -
      • -

        contains

        -
        public boolean contains(java.lang.Object value)
        -
        -
        Specified by:
        -
        contains in interface java.util.Collection<T extends java.lang.Comparable<T>>
        -
        -
      • -
      - - - -
        -
      • -

        containsAll

        -
        public boolean containsAll(java.util.Collection<?> values)
        -
        -
        Specified by:
        -
        containsAll in interface java.util.Collection<T extends java.lang.Comparable<T>>
        -
        -
      • -
      - - - -
        -
      • -

        isEmpty

        -
        public boolean isEmpty()
        -
        -
        Specified by:
        -
        isEmpty in interface java.util.Collection<T extends java.lang.Comparable<T>>
        -
        -
      • -
      - - - -
        -
      • -

        toArray

        -
        public java.lang.Object[] toArray()
        -
        -
        Specified by:
        -
        toArray in interface java.util.Collection<T extends java.lang.Comparable<T>>
        -
        -
      • -
      - - - - - -
        -
      • -

        toArray

        -
        public <T> T[] toArray(T[] a)
        -
        -
        Specified by:
        -
        toArray in interface java.util.Collection<T extends java.lang.Comparable<T>>
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/concurrency/class-use/AbstractConcurrentListenerMultimap.html b/Javadoc/com/comphenix/protocol/concurrency/class-use/AbstractConcurrentListenerMultimap.html deleted file mode 100644 index de3dc47e..00000000 --- a/Javadoc/com/comphenix/protocol/concurrency/class-use/AbstractConcurrentListenerMultimap.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.concurrency.AbstractConcurrentListenerMultimap - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.concurrency.AbstractConcurrentListenerMultimap

-
-
No usage of com.comphenix.protocol.concurrency.AbstractConcurrentListenerMultimap
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/concurrency/class-use/AbstractIntervalTree.EndPoint.html b/Javadoc/com/comphenix/protocol/concurrency/class-use/AbstractIntervalTree.EndPoint.html deleted file mode 100644 index 979dd55f..00000000 --- a/Javadoc/com/comphenix/protocol/concurrency/class-use/AbstractIntervalTree.EndPoint.html +++ /dev/null @@ -1,213 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.concurrency.AbstractIntervalTree.EndPoint - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.concurrency.AbstractIntervalTree.EndPoint

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/concurrency/class-use/AbstractIntervalTree.Entry.html b/Javadoc/com/comphenix/protocol/concurrency/class-use/AbstractIntervalTree.Entry.html deleted file mode 100644 index e7d7c08b..00000000 --- a/Javadoc/com/comphenix/protocol/concurrency/class-use/AbstractIntervalTree.Entry.html +++ /dev/null @@ -1,209 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.concurrency.AbstractIntervalTree.Entry - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.concurrency.AbstractIntervalTree.Entry

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/concurrency/class-use/AbstractIntervalTree.State.html b/Javadoc/com/comphenix/protocol/concurrency/class-use/AbstractIntervalTree.State.html deleted file mode 100644 index 6d7365c9..00000000 --- a/Javadoc/com/comphenix/protocol/concurrency/class-use/AbstractIntervalTree.State.html +++ /dev/null @@ -1,205 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.concurrency.AbstractIntervalTree.State - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.concurrency.AbstractIntervalTree.State

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/concurrency/class-use/AbstractIntervalTree.html b/Javadoc/com/comphenix/protocol/concurrency/class-use/AbstractIntervalTree.html deleted file mode 100644 index fe860191..00000000 --- a/Javadoc/com/comphenix/protocol/concurrency/class-use/AbstractIntervalTree.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.concurrency.AbstractIntervalTree - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.concurrency.AbstractIntervalTree

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/concurrency/class-use/BlockingHashMap.html b/Javadoc/com/comphenix/protocol/concurrency/class-use/BlockingHashMap.html deleted file mode 100644 index efee5172..00000000 --- a/Javadoc/com/comphenix/protocol/concurrency/class-use/BlockingHashMap.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.concurrency.BlockingHashMap - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.concurrency.BlockingHashMap

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/concurrency/class-use/BlockingHashMapTest.html b/Javadoc/com/comphenix/protocol/concurrency/class-use/BlockingHashMapTest.html deleted file mode 100644 index faeb61c0..00000000 --- a/Javadoc/com/comphenix/protocol/concurrency/class-use/BlockingHashMapTest.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.concurrency.BlockingHashMapTest - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.concurrency.BlockingHashMapTest

-
-
No usage of com.comphenix.protocol.concurrency.BlockingHashMapTest
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/concurrency/class-use/IntegerSet.html b/Javadoc/com/comphenix/protocol/concurrency/class-use/IntegerSet.html deleted file mode 100644 index 770c3f05..00000000 --- a/Javadoc/com/comphenix/protocol/concurrency/class-use/IntegerSet.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.concurrency.IntegerSet - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.concurrency.IntegerSet

-
-
No usage of com.comphenix.protocol.concurrency.IntegerSet
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/concurrency/class-use/SortedCopyOnWriteArray.html b/Javadoc/com/comphenix/protocol/concurrency/class-use/SortedCopyOnWriteArray.html deleted file mode 100644 index 231a8100..00000000 --- a/Javadoc/com/comphenix/protocol/concurrency/class-use/SortedCopyOnWriteArray.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.concurrency.SortedCopyOnWriteArray

-
-
No usage of com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/concurrency/package-frame.html b/Javadoc/com/comphenix/protocol/concurrency/package-frame.html deleted file mode 100644 index 38887593..00000000 --- a/Javadoc/com/comphenix/protocol/concurrency/package-frame.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - -com.comphenix.protocol.concurrency - - - - -

com.comphenix.protocol.concurrency

-
-

Classes

- -

Enums

- -
- - diff --git a/Javadoc/com/comphenix/protocol/concurrency/package-summary.html b/Javadoc/com/comphenix/protocol/concurrency/package-summary.html deleted file mode 100644 index 0f9a7ff7..00000000 --- a/Javadoc/com/comphenix/protocol/concurrency/package-summary.html +++ /dev/null @@ -1,178 +0,0 @@ - - - - - -com.comphenix.protocol.concurrency - - - - - - - -
- - - - - -
- - -
-

Package com.comphenix.protocol.concurrency

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/concurrency/package-tree.html b/Javadoc/com/comphenix/protocol/concurrency/package-tree.html deleted file mode 100644 index 118993e3..00000000 --- a/Javadoc/com/comphenix/protocol/concurrency/package-tree.html +++ /dev/null @@ -1,147 +0,0 @@ - - - - - -com.comphenix.protocol.concurrency Class Hierarchy - - - - - - - -
- - - - - -
- - -
-

Hierarchy For Package com.comphenix.protocol.concurrency

-Package Hierarchies: - -
-
-

Class Hierarchy

- -

Enum Hierarchy

- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/concurrency/package-use.html b/Javadoc/com/comphenix/protocol/concurrency/package-use.html deleted file mode 100644 index e487d9a6..00000000 --- a/Javadoc/com/comphenix/protocol/concurrency/package-use.html +++ /dev/null @@ -1,168 +0,0 @@ - - - - - -Uses of Package com.comphenix.protocol.concurrency - - - - - - - -
- - - - - -
- - -
-

Uses of Package
com.comphenix.protocol.concurrency

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/error/BasicErrorReporter.html b/Javadoc/com/comphenix/protocol/error/BasicErrorReporter.html deleted file mode 100644 index 8d7e089f..00000000 --- a/Javadoc/com/comphenix/protocol/error/BasicErrorReporter.html +++ /dev/null @@ -1,417 +0,0 @@ - - - - - -BasicErrorReporter - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.error
-

Class BasicErrorReporter

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    ErrorReporter
    -
    -
    -
    -
    public class BasicErrorReporter
    -extends java.lang.Object
    -implements ErrorReporter
    -
    Represents a basic error reporter that prints error reports to the standard error stream. -

    - Note that this implementation doesn't distinguish between reportWarning(Object, Report) - and reportDetailed(Object, Report) - they both have the exact same behavior.

    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - -
      Constructors 
      Constructor and Description
      BasicErrorReporter() -
      Construct a new basic error reporter that prints directly the standard error stream.
      -
      BasicErrorReporter(java.io.PrintStream output) -
      Construct a error reporter that prints to the given output stream.
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      voidreportDetailed(java.lang.Object sender, - Report.ReportBuilder reportBuilder) -
      Prints a detailed error report about an unhandled exception.
      -
      voidreportDetailed(java.lang.Object sender, - Report report) -
      Prints a detailed error report about an unhandled exception.
      -
      voidreportMinimal(org.bukkit.plugin.Plugin sender, - java.lang.String methodName, - java.lang.Throwable error) -
      Prints a small minimal error report regarding an exception from another plugin.
      -
      voidreportMinimal(org.bukkit.plugin.Plugin sender, - java.lang.String methodName, - java.lang.Throwable error, - java.lang.Object... parameters) -
      Prints a small minimal error report regarding an exception from another plugin.
      -
      voidreportWarning(java.lang.Object sender, - Report.ReportBuilder reportBuilder) -
      Prints a warning message from the current plugin.
      -
      voidreportWarning(java.lang.Object sender, - Report report) -
      Prints a warning message from the current plugin.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        BasicErrorReporter

        -
        public BasicErrorReporter()
        -
        Construct a new basic error reporter that prints directly the standard error stream.
        -
      • -
      - - - -
        -
      • -

        BasicErrorReporter

        -
        public BasicErrorReporter(java.io.PrintStream output)
        -
        Construct a error reporter that prints to the given output stream.
        -
        Parameters:
        output - - the output stream.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        reportMinimal

        -
        public void reportMinimal(org.bukkit.plugin.Plugin sender,
        -                 java.lang.String methodName,
        -                 java.lang.Throwable error)
        -
        Description copied from interface: ErrorReporter
        -
        Prints a small minimal error report regarding an exception from another plugin.
        -
        -
        Specified by:
        -
        reportMinimal in interface ErrorReporter
        -
        Parameters:
        sender - - the other plugin.
        methodName - - name of the caller method.
        error - - the exception itself.
        -
      • -
      - - - -
        -
      • -

        reportMinimal

        -
        public void reportMinimal(org.bukkit.plugin.Plugin sender,
        -                 java.lang.String methodName,
        -                 java.lang.Throwable error,
        -                 java.lang.Object... parameters)
        -
        Description copied from interface: ErrorReporter
        -
        Prints a small minimal error report regarding an exception from another plugin.
        -
        -
        Specified by:
        -
        reportMinimal in interface ErrorReporter
        -
        Parameters:
        sender - - the other plugin.
        methodName - - name of the caller method.
        error - - the exception itself.
        parameters - - any relevant parameters to print.
        -
      • -
      - - - -
        -
      • -

        reportWarning

        -
        public void reportWarning(java.lang.Object sender,
        -                 Report report)
        -
        Description copied from interface: ErrorReporter
        -
        Prints a warning message from the current plugin.
        -
        -
        Specified by:
        -
        reportWarning in interface ErrorReporter
        -
        Parameters:
        sender - - the object containing the caller method.
        report - - an error report to include.
        -
      • -
      - - - -
        -
      • -

        reportWarning

        -
        public void reportWarning(java.lang.Object sender,
        -                 Report.ReportBuilder reportBuilder)
        -
        Description copied from interface: ErrorReporter
        -
        Prints a warning message from the current plugin.
        -
        -
        Specified by:
        -
        reportWarning in interface ErrorReporter
        -
        Parameters:
        sender - - the object containing the caller method.
        reportBuilder - - an error report builder that will be used to get the report.
        -
      • -
      - - - -
        -
      • -

        reportDetailed

        -
        public void reportDetailed(java.lang.Object sender,
        -                  Report report)
        -
        Description copied from interface: ErrorReporter
        -
        Prints a detailed error report about an unhandled exception.
        -
        -
        Specified by:
        -
        reportDetailed in interface ErrorReporter
        -
        Parameters:
        sender - - the object containing the caller method.
        report - - an error report to include.
        -
      • -
      - - - -
        -
      • -

        reportDetailed

        -
        public void reportDetailed(java.lang.Object sender,
        -                  Report.ReportBuilder reportBuilder)
        -
        Description copied from interface: ErrorReporter
        -
        Prints a detailed error report about an unhandled exception.
        -
        -
        Specified by:
        -
        reportDetailed in interface ErrorReporter
        -
        Parameters:
        sender - - the object containing the caller method.
        reportBuilder - - an error report builder that will be used to get the report.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/error/DelegatedErrorReporter.html b/Javadoc/com/comphenix/protocol/error/DelegatedErrorReporter.html deleted file mode 100644 index 6d4e78f8..00000000 --- a/Javadoc/com/comphenix/protocol/error/DelegatedErrorReporter.html +++ /dev/null @@ -1,440 +0,0 @@ - - - - - -DelegatedErrorReporter - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.error
-

Class DelegatedErrorReporter

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    ErrorReporter
    -
    -
    -
    -
    public class DelegatedErrorReporter
    -extends java.lang.Object
    -implements ErrorReporter
    -
    Construct an error reporter that delegates to another error reporter.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      DelegatedErrorReporter(ErrorReporter delegated) -
      Construct a new error reporter that forwards all reports to a given reporter.
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      protected ReportfilterReport(java.lang.Object sender, - Report report, - boolean detailed) -
      Invoked before an error report is passed on to the underlying error reporter.
      -
      ErrorReportergetDelegated() -
      Retrieve the underlying error reporter.
      -
      voidreportDetailed(java.lang.Object sender, - Report.ReportBuilder reportBuilder) -
      Prints a detailed error report about an unhandled exception.
      -
      voidreportDetailed(java.lang.Object sender, - Report report) -
      Prints a detailed error report about an unhandled exception.
      -
      voidreportMinimal(org.bukkit.plugin.Plugin sender, - java.lang.String methodName, - java.lang.Throwable error) -
      Prints a small minimal error report regarding an exception from another plugin.
      -
      voidreportMinimal(org.bukkit.plugin.Plugin sender, - java.lang.String methodName, - java.lang.Throwable error, - java.lang.Object... parameters) -
      Prints a small minimal error report regarding an exception from another plugin.
      -
      voidreportWarning(java.lang.Object sender, - Report.ReportBuilder reportBuilder) -
      Prints a warning message from the current plugin.
      -
      voidreportWarning(java.lang.Object sender, - Report report) -
      Prints a warning message from the current plugin.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        DelegatedErrorReporter

        -
        public DelegatedErrorReporter(ErrorReporter delegated)
        -
        Construct a new error reporter that forwards all reports to a given reporter.
        -
        Parameters:
        delegated - - the delegated reporter.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getDelegated

        -
        public ErrorReporter getDelegated()
        -
        Retrieve the underlying error reporter.
        -
        Returns:
        Underlying error reporter.
        -
      • -
      - - - -
        -
      • -

        reportMinimal

        -
        public void reportMinimal(org.bukkit.plugin.Plugin sender,
        -                 java.lang.String methodName,
        -                 java.lang.Throwable error)
        -
        Description copied from interface: ErrorReporter
        -
        Prints a small minimal error report regarding an exception from another plugin.
        -
        -
        Specified by:
        -
        reportMinimal in interface ErrorReporter
        -
        Parameters:
        sender - - the other plugin.
        methodName - - name of the caller method.
        error - - the exception itself.
        -
      • -
      - - - -
        -
      • -

        reportMinimal

        -
        public void reportMinimal(org.bukkit.plugin.Plugin sender,
        -                 java.lang.String methodName,
        -                 java.lang.Throwable error,
        -                 java.lang.Object... parameters)
        -
        Description copied from interface: ErrorReporter
        -
        Prints a small minimal error report regarding an exception from another plugin.
        -
        -
        Specified by:
        -
        reportMinimal in interface ErrorReporter
        -
        Parameters:
        sender - - the other plugin.
        methodName - - name of the caller method.
        error - - the exception itself.
        parameters - - any relevant parameters to print.
        -
      • -
      - - - -
        -
      • -

        reportWarning

        -
        public void reportWarning(java.lang.Object sender,
        -                 Report report)
        -
        Description copied from interface: ErrorReporter
        -
        Prints a warning message from the current plugin.
        -
        -
        Specified by:
        -
        reportWarning in interface ErrorReporter
        -
        Parameters:
        sender - - the object containing the caller method.
        report - - an error report to include.
        -
      • -
      - - - -
        -
      • -

        reportDetailed

        -
        public void reportDetailed(java.lang.Object sender,
        -                  Report report)
        -
        Description copied from interface: ErrorReporter
        -
        Prints a detailed error report about an unhandled exception.
        -
        -
        Specified by:
        -
        reportDetailed in interface ErrorReporter
        -
        Parameters:
        sender - - the object containing the caller method.
        report - - an error report to include.
        -
      • -
      - - - -
        -
      • -

        filterReport

        -
        protected Report filterReport(java.lang.Object sender,
        -                  Report report,
        -                  boolean detailed)
        -
        Invoked before an error report is passed on to the underlying error reporter. -

        - To cancel a report, return NULL.

        -
        Parameters:
        sender - - the sender component.
        report - - the error report.
        detailed - - whether or not the report will be displayed in detail.
        -
        Returns:
        The report to pass on, or NULL to cancel it.
        -
      • -
      - - - -
        -
      • -

        reportWarning

        -
        public void reportWarning(java.lang.Object sender,
        -                 Report.ReportBuilder reportBuilder)
        -
        Description copied from interface: ErrorReporter
        -
        Prints a warning message from the current plugin.
        -
        -
        Specified by:
        -
        reportWarning in interface ErrorReporter
        -
        Parameters:
        sender - - the object containing the caller method.
        reportBuilder - - an error report builder that will be used to get the report.
        -
      • -
      - - - -
        -
      • -

        reportDetailed

        -
        public void reportDetailed(java.lang.Object sender,
        -                  Report.ReportBuilder reportBuilder)
        -
        Description copied from interface: ErrorReporter
        -
        Prints a detailed error report about an unhandled exception.
        -
        -
        Specified by:
        -
        reportDetailed in interface ErrorReporter
        -
        Parameters:
        sender - - the object containing the caller method.
        reportBuilder - - an error report builder that will be used to get the report.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/error/DetailedErrorReporter.html b/Javadoc/com/comphenix/protocol/error/DetailedErrorReporter.html deleted file mode 100644 index 45828415..00000000 --- a/Javadoc/com/comphenix/protocol/error/DetailedErrorReporter.html +++ /dev/null @@ -1,988 +0,0 @@ - - - - - -DetailedErrorReporter - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.error
-

Class DetailedErrorReporter

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    ErrorReporter
    -
    -
    -
    -
    public class DetailedErrorReporter
    -extends java.lang.Object
    -implements ErrorReporter
    -
    Internal class used to handle exceptions.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - - - - -
      Constructors 
      Constructor and Description
      DetailedErrorReporter(org.bukkit.plugin.Plugin plugin) -
      Create a default error reporting system.
      -
      DetailedErrorReporter(org.bukkit.plugin.Plugin plugin, - java.lang.String prefix, - java.lang.String supportURL) -
      Create a central error reporting system.
      -
      DetailedErrorReporter(org.bukkit.plugin.Plugin plugin, - java.lang.String prefix, - java.lang.String supportURL, - int maxErrorCount, - java.util.logging.Logger logger) -
      Create a central error reporting system.
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      voidaddGlobalParameter(java.lang.String key, - java.lang.Object value) -
      Adds the given global parameter.
      -
      protected java.lang.StringaddPrefix(java.lang.String text, - java.lang.String prefix) -
      Adds the given prefix to every line in the text.
      -
      voidclearGlobalParameters() -
      Reset all global parameters.
      -
      intgetErrorCount() -
      Retrieve the current number of errors printed through reportDetailed(Object, Report).
      -
      java.lang.ObjectgetGlobalParameter(java.lang.String key) -
      Retrieve a global parameter by its key.
      -
      java.util.logging.LoggergetLogger() -
      Retrieve the current logger that is used to print all reports.
      -
      intgetMaxErrorCount() -
      Retrieve the maximum number of errors we can print before we begin suppressing errors.
      -
      java.lang.StringgetPrefix() -
      Retrieve the prefix to apply to every line in the error reports.
      -
      protected java.lang.StringgetStringDescription(java.lang.Object value) -
      Retrieve a string representation of the given object.
      -
      java.lang.StringgetSupportURL() -
      Retrieve the support URL that will be added to all detailed reports.
      -
      java.util.Set<java.lang.String>globalParameters() -
      Retrieve a set of every registered global parameter.
      -
      protected booleanisSimpleType(java.lang.Object test) -
      Determine if the given object is a wrapper for a primitive/simple type or not.
      -
      voidreportDetailed(java.lang.Object sender, - Report.ReportBuilder reportBuilder) -
      Prints a detailed error report about an unhandled exception.
      -
      voidreportDetailed(java.lang.Object sender, - Report report) -
      Prints a detailed error report about an unhandled exception.
      -
      voidreportMinimal(org.bukkit.plugin.Plugin sender, - java.lang.String methodName, - java.lang.Throwable error) -
      Prints a small minimal error report regarding an exception from another plugin.
      -
      voidreportMinimal(org.bukkit.plugin.Plugin sender, - java.lang.String methodName, - java.lang.Throwable error, - java.lang.Object... parameters) -
      Prints a small minimal error report regarding an exception from another plugin.
      -
      booleanreportMinimalNoSpam(org.bukkit.plugin.Plugin sender, - java.lang.String methodName, - java.lang.Throwable error) -
      Report a problem with a given method and plugin, ensuring that we don't exceed the maximum number of error reports.
      -
      voidreportWarning(java.lang.Object sender, - Report.ReportBuilder reportBuilder) -
      Prints a warning message from the current plugin.
      -
      voidreportWarning(java.lang.Object sender, - Report report) -
      Prints a warning message from the current plugin.
      -
      voidsetErrorCount(int errorCount) -
      Set the number of errors printed.
      -
      voidsetLogger(java.util.logging.Logger logger) -
      Set the current logger that is used to print all reports.
      -
      voidsetMaxErrorCount(int maxErrorCount) -
      Set the maximum number of errors we can print before we begin suppressing errors.
      -
      voidsetPrefix(java.lang.String prefix) -
      Set the prefix to apply to every line in the error reports.
      -
      voidsetSupportURL(java.lang.String supportURL) -
      Set the support URL that will be added to all detailed reports.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        REPORT_EXCEPTION_COUNT

        -
        public static final ReportType REPORT_EXCEPTION_COUNT
        -
        Report format for printing the current exception count.
        -
      • -
      - - - -
        -
      • -

        SECOND_LEVEL_PREFIX

        -
        public static final java.lang.String SECOND_LEVEL_PREFIX
        -
        See Also:
        Constant Field Values
        -
      • -
      - - - -
        -
      • -

        DEFAULT_PREFIX

        -
        public static final java.lang.String DEFAULT_PREFIX
        -
        See Also:
        Constant Field Values
        -
      • -
      - - - -
        -
      • -

        DEFAULT_SUPPORT_URL

        -
        public static final java.lang.String DEFAULT_SUPPORT_URL
        -
        See Also:
        Constant Field Values
        -
      • -
      - - - -
        -
      • -

        ERROR_PERMISSION

        -
        public static final java.lang.String ERROR_PERMISSION
        -
        See Also:
        Constant Field Values
        -
      • -
      - - - -
        -
      • -

        DEFAULT_MAX_ERROR_COUNT

        -
        public static final int DEFAULT_MAX_ERROR_COUNT
        -
        See Also:
        Constant Field Values
        -
      • -
      - - - -
        -
      • -

        prefix

        -
        protected java.lang.String prefix
        -
      • -
      - - - -
        -
      • -

        supportURL

        -
        protected java.lang.String supportURL
        -
      • -
      - - - -
        -
      • -

        internalErrorCount

        -
        protected java.util.concurrent.atomic.AtomicInteger internalErrorCount
        -
      • -
      - - - -
        -
      • -

        maxErrorCount

        -
        protected int maxErrorCount
        -
      • -
      - - - -
        -
      • -

        logger

        -
        protected java.util.logging.Logger logger
        -
      • -
      - - - -
        -
      • -

        pluginReference

        -
        protected java.lang.ref.WeakReference<org.bukkit.plugin.Plugin> pluginReference
        -
      • -
      - - - -
        -
      • -

        pluginName

        -
        protected java.lang.String pluginName
        -
      • -
      - - - -
        -
      • -

        apacheCommonsMissing

        -
        protected boolean apacheCommonsMissing
        -
      • -
      - - - -
        -
      • -

        globalParameters

        -
        protected java.util.Map<java.lang.String,java.lang.Object> globalParameters
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        DetailedErrorReporter

        -
        public DetailedErrorReporter(org.bukkit.plugin.Plugin plugin)
        -
        Create a default error reporting system.
        -
      • -
      - - - -
        -
      • -

        DetailedErrorReporter

        -
        public DetailedErrorReporter(org.bukkit.plugin.Plugin plugin,
        -                     java.lang.String prefix,
        -                     java.lang.String supportURL)
        -
        Create a central error reporting system.
        -
        Parameters:
        plugin - - the plugin owner.
        prefix - - default line prefix.
        supportURL - - URL to report the error.
        -
      • -
      - - - -
        -
      • -

        DetailedErrorReporter

        -
        public DetailedErrorReporter(org.bukkit.plugin.Plugin plugin,
        -                     java.lang.String prefix,
        -                     java.lang.String supportURL,
        -                     int maxErrorCount,
        -                     java.util.logging.Logger logger)
        -
        Create a central error reporting system.
        -
        Parameters:
        plugin - - the plugin owner.
        prefix - - default line prefix.
        supportURL - - URL to report the error.
        maxErrorCount - - number of errors to print before giving up.
        logger - - current logger.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        reportMinimal

        -
        public void reportMinimal(org.bukkit.plugin.Plugin sender,
        -                 java.lang.String methodName,
        -                 java.lang.Throwable error,
        -                 java.lang.Object... parameters)
        -
        Description copied from interface: ErrorReporter
        -
        Prints a small minimal error report regarding an exception from another plugin.
        -
        -
        Specified by:
        -
        reportMinimal in interface ErrorReporter
        -
        Parameters:
        sender - - the other plugin.
        methodName - - name of the caller method.
        error - - the exception itself.
        parameters - - any relevant parameters to print.
        -
      • -
      - - - -
        -
      • -

        reportMinimal

        -
        public void reportMinimal(org.bukkit.plugin.Plugin sender,
        -                 java.lang.String methodName,
        -                 java.lang.Throwable error)
        -
        Description copied from interface: ErrorReporter
        -
        Prints a small minimal error report regarding an exception from another plugin.
        -
        -
        Specified by:
        -
        reportMinimal in interface ErrorReporter
        -
        Parameters:
        sender - - the other plugin.
        methodName - - name of the caller method.
        error - - the exception itself.
        -
      • -
      - - - -
        -
      • -

        reportMinimalNoSpam

        -
        public boolean reportMinimalNoSpam(org.bukkit.plugin.Plugin sender,
        -                          java.lang.String methodName,
        -                          java.lang.Throwable error)
        -
        Report a problem with a given method and plugin, ensuring that we don't exceed the maximum number of error reports.
        -
        Parameters:
        sender - - the component that observed this exception.
        methodName - - the method name.
        error - - the error itself.
        -
        Returns:
        TRUE if the error was printed, FALSE if it was suppressed.
        -
      • -
      - - - -
        -
      • -

        reportWarning

        -
        public void reportWarning(java.lang.Object sender,
        -                 Report.ReportBuilder reportBuilder)
        -
        Description copied from interface: ErrorReporter
        -
        Prints a warning message from the current plugin.
        -
        -
        Specified by:
        -
        reportWarning in interface ErrorReporter
        -
        Parameters:
        sender - - the object containing the caller method.
        reportBuilder - - an error report builder that will be used to get the report.
        -
      • -
      - - - -
        -
      • -

        reportWarning

        -
        public void reportWarning(java.lang.Object sender,
        -                 Report report)
        -
        Description copied from interface: ErrorReporter
        -
        Prints a warning message from the current plugin.
        -
        -
        Specified by:
        -
        reportWarning in interface ErrorReporter
        -
        Parameters:
        sender - - the object containing the caller method.
        report - - an error report to include.
        -
      • -
      - - - -
        -
      • -

        reportDetailed

        -
        public void reportDetailed(java.lang.Object sender,
        -                  Report.ReportBuilder reportBuilder)
        -
        Description copied from interface: ErrorReporter
        -
        Prints a detailed error report about an unhandled exception.
        -
        -
        Specified by:
        -
        reportDetailed in interface ErrorReporter
        -
        Parameters:
        sender - - the object containing the caller method.
        reportBuilder - - an error report builder that will be used to get the report.
        -
      • -
      - - - -
        -
      • -

        reportDetailed

        -
        public void reportDetailed(java.lang.Object sender,
        -                  Report report)
        -
        Description copied from interface: ErrorReporter
        -
        Prints a detailed error report about an unhandled exception.
        -
        -
        Specified by:
        -
        reportDetailed in interface ErrorReporter
        -
        Parameters:
        sender - - the object containing the caller method.
        report - - an error report to include.
        -
      • -
      - - - -
        -
      • -

        addPrefix

        -
        protected java.lang.String addPrefix(java.lang.String text,
        -                         java.lang.String prefix)
        -
        Adds the given prefix to every line in the text.
        -
        Parameters:
        text - - text to modify.
        prefix - - prefix added to every line in the text.
        -
        Returns:
        The modified text.
        -
      • -
      - - - -
        -
      • -

        getStringDescription

        -
        protected java.lang.String getStringDescription(java.lang.Object value)
        -
        Retrieve a string representation of the given object.
        -
        Parameters:
        value - - object to convert.
        -
        Returns:
        String representation.
        -
      • -
      - - - -
        -
      • -

        isSimpleType

        -
        protected boolean isSimpleType(java.lang.Object test)
        -
        Determine if the given object is a wrapper for a primitive/simple type or not.
        -
        Parameters:
        test - - the object to test.
        -
        Returns:
        TRUE if this object is simple enough to simply be printed, FALSE othewise.
        -
      • -
      - - - -
        -
      • -

        getErrorCount

        -
        public int getErrorCount()
        -
        Retrieve the current number of errors printed through reportDetailed(Object, Report).
        -
        Returns:
        Number of errors printed.
        -
      • -
      - - - -
        -
      • -

        setErrorCount

        -
        public void setErrorCount(int errorCount)
        -
        Set the number of errors printed.
        -
        Parameters:
        errorCount - - new number of errors printed.
        -
      • -
      - - - -
        -
      • -

        getMaxErrorCount

        -
        public int getMaxErrorCount()
        -
        Retrieve the maximum number of errors we can print before we begin suppressing errors.
        -
        Returns:
        Maximum number of errors.
        -
      • -
      - - - -
        -
      • -

        setMaxErrorCount

        -
        public void setMaxErrorCount(int maxErrorCount)
        -
        Set the maximum number of errors we can print before we begin suppressing errors.
        -
        Parameters:
        maxErrorCount - - new max count.
        -
      • -
      - - - -
        -
      • -

        addGlobalParameter

        -
        public void addGlobalParameter(java.lang.String key,
        -                      java.lang.Object value)
        -
        Adds the given global parameter. It will be included in every error report. -

        - Both key and value must be non-null.

        -
        Parameters:
        key - - name of parameter.
        value - - the global parameter itself.
        -
      • -
      - - - -
        -
      • -

        getGlobalParameter

        -
        public java.lang.Object getGlobalParameter(java.lang.String key)
        -
        Retrieve a global parameter by its key.
        -
        Parameters:
        key - - key of the parameter to retrieve.
        -
        Returns:
        The value of the global parameter, or NULL if not found.
        -
      • -
      - - - -
        -
      • -

        clearGlobalParameters

        -
        public void clearGlobalParameters()
        -
        Reset all global parameters.
        -
      • -
      - - - -
        -
      • -

        globalParameters

        -
        public java.util.Set<java.lang.String> globalParameters()
        -
        Retrieve a set of every registered global parameter.
        -
        Returns:
        Set of all registered global parameters.
        -
      • -
      - - - -
        -
      • -

        getSupportURL

        -
        public java.lang.String getSupportURL()
        -
        Retrieve the support URL that will be added to all detailed reports.
        -
        Returns:
        Support URL.
        -
      • -
      - - - -
        -
      • -

        setSupportURL

        -
        public void setSupportURL(java.lang.String supportURL)
        -
        Set the support URL that will be added to all detailed reports.
        -
        Parameters:
        supportURL - - the new support URL.
        -
      • -
      - - - -
        -
      • -

        getPrefix

        -
        public java.lang.String getPrefix()
        -
        Retrieve the prefix to apply to every line in the error reports.
        -
        Returns:
        Error report prefix.
        -
      • -
      - - - -
        -
      • -

        setPrefix

        -
        public void setPrefix(java.lang.String prefix)
        -
        Set the prefix to apply to every line in the error reports.
        -
        Parameters:
        prefix - - new prefix.
        -
      • -
      - - - -
        -
      • -

        getLogger

        -
        public java.util.logging.Logger getLogger()
        -
        Retrieve the current logger that is used to print all reports.
        -
        Returns:
        The current logger.
        -
      • -
      - - - -
        -
      • -

        setLogger

        -
        public void setLogger(java.util.logging.Logger logger)
        -
        Set the current logger that is used to print all reports.
        -
        Parameters:
        logger - - new logger.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/error/ErrorReporter.html b/Javadoc/com/comphenix/protocol/error/ErrorReporter.html deleted file mode 100644 index 6aeaf065..00000000 --- a/Javadoc/com/comphenix/protocol/error/ErrorReporter.html +++ /dev/null @@ -1,320 +0,0 @@ - - - - - -ErrorReporter - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.error
-

Interface ErrorReporter

-
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      voidreportDetailed(java.lang.Object sender, - Report.ReportBuilder reportBuilder) -
      Prints a detailed error report about an unhandled exception.
      -
      voidreportDetailed(java.lang.Object sender, - Report report) -
      Prints a detailed error report about an unhandled exception.
      -
      voidreportMinimal(org.bukkit.plugin.Plugin sender, - java.lang.String methodName, - java.lang.Throwable error) -
      Prints a small minimal error report regarding an exception from another plugin.
      -
      voidreportMinimal(org.bukkit.plugin.Plugin sender, - java.lang.String methodName, - java.lang.Throwable error, - java.lang.Object... parameters) -
      Prints a small minimal error report regarding an exception from another plugin.
      -
      voidreportWarning(java.lang.Object sender, - Report.ReportBuilder reportBuilder) -
      Prints a warning message from the current plugin.
      -
      voidreportWarning(java.lang.Object sender, - Report report) -
      Prints a warning message from the current plugin.
      -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        reportMinimal

        -
        void reportMinimal(org.bukkit.plugin.Plugin sender,
        -                 java.lang.String methodName,
        -                 java.lang.Throwable error)
        -
        Prints a small minimal error report regarding an exception from another plugin.
        -
        Parameters:
        sender - - the other plugin.
        methodName - - name of the caller method.
        error - - the exception itself.
        -
      • -
      - - - -
        -
      • -

        reportMinimal

        -
        void reportMinimal(org.bukkit.plugin.Plugin sender,
        -                 java.lang.String methodName,
        -                 java.lang.Throwable error,
        -                 java.lang.Object... parameters)
        -
        Prints a small minimal error report regarding an exception from another plugin.
        -
        Parameters:
        sender - - the other plugin.
        methodName - - name of the caller method.
        error - - the exception itself.
        parameters - - any relevant parameters to print.
        -
      • -
      - - - -
        -
      • -

        reportWarning

        -
        void reportWarning(java.lang.Object sender,
        -                 Report report)
        -
        Prints a warning message from the current plugin.
        -
        Parameters:
        sender - - the object containing the caller method.
        report - - an error report to include.
        -
      • -
      - - - -
        -
      • -

        reportWarning

        -
        void reportWarning(java.lang.Object sender,
        -                 Report.ReportBuilder reportBuilder)
        -
        Prints a warning message from the current plugin.
        -
        Parameters:
        sender - - the object containing the caller method.
        reportBuilder - - an error report builder that will be used to get the report.
        -
      • -
      - - - -
        -
      • -

        reportDetailed

        -
        void reportDetailed(java.lang.Object sender,
        -                  Report report)
        -
        Prints a detailed error report about an unhandled exception.
        -
        Parameters:
        sender - - the object containing the caller method.
        report - - an error report to include.
        -
      • -
      - - - -
        -
      • -

        reportDetailed

        -
        void reportDetailed(java.lang.Object sender,
        -                  Report.ReportBuilder reportBuilder)
        -
        Prints a detailed error report about an unhandled exception.
        -
        Parameters:
        sender - - the object containing the caller method.
        reportBuilder - - an error report builder that will be used to get the report.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/error/Report.ReportBuilder.html b/Javadoc/com/comphenix/protocol/error/Report.ReportBuilder.html deleted file mode 100644 index 49ee8fa8..00000000 --- a/Javadoc/com/comphenix/protocol/error/Report.ReportBuilder.html +++ /dev/null @@ -1,306 +0,0 @@ - - - - - -Report.ReportBuilder - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.error
-

Class Report.ReportBuilder

-
-
- -
-
    -
  • -
    -
    Enclosing class:
    -
    Report
    -
    -
    -
    -
    public static class Report.ReportBuilder
    -extends java.lang.Object
    -
    Must be constructed through the factory method in Report.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      Reportbuild() -
      Construct a new report with the provided input.
      -
      Report.ReportBuildercallerParam(java.lang.Object... callerParameters) -
      Set the parameters in the caller method.
      -
      Report.ReportBuildererror(java.lang.Throwable exception) -
      Set the current exception that occured.
      -
      Report.ReportBuildermessageParam(java.lang.Object... messageParameters) -
      Set the message parameters that are used to construct a message text.
      -
      Report.ReportBuildertype(ReportType type) -
      Set the current report type.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        type

        -
        public Report.ReportBuilder type(ReportType type)
        -
        Set the current report type. Cannot be NULL.
        -
        Parameters:
        type - - report type.
        -
        Returns:
        This builder, for chaining.
        -
      • -
      - - - -
        -
      • -

        error

        -
        public Report.ReportBuilder error(@Nullable
        -                         java.lang.Throwable exception)
        -
        Set the current exception that occured.
        -
        Parameters:
        exception - - exception that occured.
        -
        Returns:
        This builder, for chaining.
        -
      • -
      - - - -
        -
      • -

        messageParam

        -
        public Report.ReportBuilder messageParam(@Nullable
        -                                java.lang.Object... messageParameters)
        -
        Set the message parameters that are used to construct a message text.
        -
        Parameters:
        messageParameters - - parameters for the report type.
        -
        Returns:
        This builder, for chaining.
        -
      • -
      - - - -
        -
      • -

        callerParam

        -
        public Report.ReportBuilder callerParam(@Nullable
        -                               java.lang.Object... callerParameters)
        -
        Set the parameters in the caller method. This is optional.
        -
        Parameters:
        callerParameters - - parameters of the caller method.
        -
        Returns:
        This builder, for chaining.
        -
      • -
      - - - -
        -
      • -

        build

        -
        public Report build()
        -
        Construct a new report with the provided input.
        -
        Returns:
        A new report.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/error/Report.html b/Javadoc/com/comphenix/protocol/error/Report.html deleted file mode 100644 index ac28474f..00000000 --- a/Javadoc/com/comphenix/protocol/error/Report.html +++ /dev/null @@ -1,421 +0,0 @@ - - - - - -Report - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.error
-

Class Report

-
-
- -
-
    -
  • -
    -
    -
    public class Report
    -extends java.lang.Object
    -
    Represents a error or warning report.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Nested Class Summary

      - - - - - - - - - - -
      Nested Classes 
      Modifier and TypeClass and Description
      static class Report.ReportBuilder -
      Must be constructed through the factory method in Report.
      -
      -
    • -
    - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - -
      Constructors 
      ModifierConstructor and Description
      protected Report(ReportType type, - java.lang.Throwable exception, - java.lang.Object[] messageParameters, - java.lang.Object[] callerParameters) -
      Construct a new report with the given type and parameters.
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      java.lang.Object[]getCallerParameters() -
      Retrieve the parameters of the caller method.
      -
      java.lang.ThrowablegetException() -
      Retrieve the associated exception, or NULL if not found.
      -
      java.lang.Object[]getMessageParameters() -
      Retrieve the message parameters that will be used to construc the report message.
      -
      java.lang.StringgetReportMessage() -
      Format the current report type with the provided message parameters.
      -
      ReportTypegetType() -
      Retrieve the report type.
      -
      booleanhasCallerParameters() -
      Determine if we have any caller parameters.
      -
      booleanhasMessageParameters() -
      Determine if we have any message parameters.
      -
      static Report.ReportBuildernewBuilder(ReportType type) -
      Construct a new report builder.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Report

        -
        protected Report(ReportType type,
        -      @Nullable
        -      java.lang.Throwable exception,
        -      @Nullable
        -      java.lang.Object[] messageParameters,
        -      @Nullable
        -      java.lang.Object[] callerParameters)
        -
        Construct a new report with the given type and parameters.
        -
        Parameters:
        exception - - exception that occured in the caller method.
        type - - the report type that will be used to construct the message.
        messageParameters - - parameters used to construct the report message.
        callerParameters - - parameters from the caller method.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        newBuilder

        -
        public static Report.ReportBuilder newBuilder(ReportType type)
        -
        Construct a new report builder.
        -
        Parameters:
        type - - the initial report type.
        -
        Returns:
        Report builder.
        -
      • -
      - - - -
        -
      • -

        getReportMessage

        -
        public java.lang.String getReportMessage()
        -
        Format the current report type with the provided message parameters.
        -
        Returns:
        The formated report message.
        -
      • -
      - - - -
        -
      • -

        getMessageParameters

        -
        public java.lang.Object[] getMessageParameters()
        -
        Retrieve the message parameters that will be used to construc the report message. - -
        Returns:
        Message parameters.
        -
      • -
      - - - -
        -
      • -

        getCallerParameters

        -
        public java.lang.Object[] getCallerParameters()
        -
        Retrieve the parameters of the caller method. Optional - may be NULL.
        -
        Returns:
        Parameters or the caller method.
        -
      • -
      - - - -
        -
      • -

        getType

        -
        public ReportType getType()
        -
        Retrieve the report type.
        -
        Returns:
        Report type.
        -
      • -
      - - - -
        -
      • -

        getException

        -
        public java.lang.Throwable getException()
        -
        Retrieve the associated exception, or NULL if not found.
        -
        Returns:
        Associated exception, or NULL.
        -
      • -
      - - - -
        -
      • -

        hasMessageParameters

        -
        public boolean hasMessageParameters()
        -
        Determine if we have any message parameters.
        -
        Returns:
        TRUE if there are any message parameters, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        hasCallerParameters

        -
        public boolean hasCallerParameters()
        -
        Determine if we have any caller parameters.
        -
        Returns:
        TRUE if there are any caller parameters, FALSE otherwise.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/error/ReportType.html b/Javadoc/com/comphenix/protocol/error/ReportType.html deleted file mode 100644 index e6f8a41d..00000000 --- a/Javadoc/com/comphenix/protocol/error/ReportType.html +++ /dev/null @@ -1,305 +0,0 @@ - - - - - -ReportType - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.error
-

Class ReportType

-
-
- -
-
    -
  • -
    -
    -
    public class ReportType
    -extends java.lang.Object
    -
    Represents a strongly-typed report. Subclasses should be immutable. -

    - By convention, a report must be declared as a static field publicly accessible from the sender class.

    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      ReportType(java.lang.String errorFormat) -
      Construct a new report type.
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      java.lang.StringgetMessage(java.lang.Object[] parameters) -
      Convert the given report to a string, using the provided parameters.
      -
      static ReportType[]getReports(java.lang.Class<?> clazz) -
      Retrieve all publicly associated reports.
      -
      java.lang.StringtoString() 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ReportType

        -
        public ReportType(java.lang.String errorFormat)
        -
        Construct a new report type.
        -
        Parameters:
        errorFormat - - string used to format the underlying report.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getMessage

        -
        public java.lang.String getMessage(java.lang.Object[] parameters)
        -
        Convert the given report to a string, using the provided parameters.
        -
        Parameters:
        parameters - - parameters to insert, or NULL to insert nothing.
        -
        Returns:
        The full report in string format.
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        getReports

        -
        public static ReportType[] getReports(java.lang.Class<?> clazz)
        -
        Retrieve all publicly associated reports.
        -
        Parameters:
        clazz - - sender class.
        -
        Returns:
        All associated reports.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/error/class-use/BasicErrorReporter.html b/Javadoc/com/comphenix/protocol/error/class-use/BasicErrorReporter.html deleted file mode 100644 index 08ebe309..00000000 --- a/Javadoc/com/comphenix/protocol/error/class-use/BasicErrorReporter.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.error.BasicErrorReporter - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.error.BasicErrorReporter

-
-
No usage of com.comphenix.protocol.error.BasicErrorReporter
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/error/class-use/DelegatedErrorReporter.html b/Javadoc/com/comphenix/protocol/error/class-use/DelegatedErrorReporter.html deleted file mode 100644 index 7641a475..00000000 --- a/Javadoc/com/comphenix/protocol/error/class-use/DelegatedErrorReporter.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.error.DelegatedErrorReporter - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.error.DelegatedErrorReporter

-
-
No usage of com.comphenix.protocol.error.DelegatedErrorReporter
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/error/class-use/DetailedErrorReporter.html b/Javadoc/com/comphenix/protocol/error/class-use/DetailedErrorReporter.html deleted file mode 100644 index 6c038933..00000000 --- a/Javadoc/com/comphenix/protocol/error/class-use/DetailedErrorReporter.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.error.DetailedErrorReporter - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.error.DetailedErrorReporter

-
-
No usage of com.comphenix.protocol.error.DetailedErrorReporter
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/error/class-use/ErrorReporter.html b/Javadoc/com/comphenix/protocol/error/class-use/ErrorReporter.html deleted file mode 100644 index 7c6ea475..00000000 --- a/Javadoc/com/comphenix/protocol/error/class-use/ErrorReporter.html +++ /dev/null @@ -1,309 +0,0 @@ - - - - - -Uses of Interface com.comphenix.protocol.error.ErrorReporter - - - - - - - -
- - - - - -
- - -
-

Uses of Interface
com.comphenix.protocol.error.ErrorReporter

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/error/class-use/Report.ReportBuilder.html b/Javadoc/com/comphenix/protocol/error/class-use/Report.ReportBuilder.html deleted file mode 100644 index 8505f98c..00000000 --- a/Javadoc/com/comphenix/protocol/error/class-use/Report.ReportBuilder.html +++ /dev/null @@ -1,234 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.error.Report.ReportBuilder - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.error.Report.ReportBuilder

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/error/class-use/Report.html b/Javadoc/com/comphenix/protocol/error/class-use/Report.html deleted file mode 100644 index 11e5ed96..00000000 --- a/Javadoc/com/comphenix/protocol/error/class-use/Report.html +++ /dev/null @@ -1,226 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.error.Report - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.error.Report

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/error/class-use/ReportType.html b/Javadoc/com/comphenix/protocol/error/class-use/ReportType.html deleted file mode 100644 index 325a8d23..00000000 --- a/Javadoc/com/comphenix/protocol/error/class-use/ReportType.html +++ /dev/null @@ -1,333 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.error.ReportType - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.error.ReportType

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/error/package-frame.html b/Javadoc/com/comphenix/protocol/error/package-frame.html deleted file mode 100644 index 06d4526b..00000000 --- a/Javadoc/com/comphenix/protocol/error/package-frame.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - -com.comphenix.protocol.error - - - - -

com.comphenix.protocol.error

-
-

Interfaces

- -

Classes

- -
- - diff --git a/Javadoc/com/comphenix/protocol/error/package-summary.html b/Javadoc/com/comphenix/protocol/error/package-summary.html deleted file mode 100644 index 34f3beb1..00000000 --- a/Javadoc/com/comphenix/protocol/error/package-summary.html +++ /dev/null @@ -1,182 +0,0 @@ - - - - - -com.comphenix.protocol.error - - - - - - - -
- - - - - -
- - -
-

Package com.comphenix.protocol.error

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/error/package-tree.html b/Javadoc/com/comphenix/protocol/error/package-tree.html deleted file mode 100644 index c60db6ca..00000000 --- a/Javadoc/com/comphenix/protocol/error/package-tree.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - -com.comphenix.protocol.error Class Hierarchy - - - - - - - -
- - - - - -
- - -
-

Hierarchy For Package com.comphenix.protocol.error

-Package Hierarchies: - -
-
-

Class Hierarchy

- -

Interface Hierarchy

- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/error/package-use.html b/Javadoc/com/comphenix/protocol/error/package-use.html deleted file mode 100644 index 0f139f87..00000000 --- a/Javadoc/com/comphenix/protocol/error/package-use.html +++ /dev/null @@ -1,240 +0,0 @@ - - - - - -Uses of Package com.comphenix.protocol.error - - - - - - - -
- - - - - -
- - -
-

Uses of Package
com.comphenix.protocol.error

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/events/ConnectionSide.html b/Javadoc/com/comphenix/protocol/events/ConnectionSide.html deleted file mode 100644 index 20a19cb7..00000000 --- a/Javadoc/com/comphenix/protocol/events/ConnectionSide.html +++ /dev/null @@ -1,371 +0,0 @@ - - - - - -ConnectionSide - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.events
-

Enum ConnectionSide

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.io.Serializable, java.lang.Comparable<ConnectionSide>
    -
    -
    -
    -
    public enum ConnectionSide
    -extends java.lang.Enum<ConnectionSide>
    -
    Used to set a packet filter.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Enum Constant Summary

      - - - - - - - - - - - - - - -
      Enum Constants 
      Enum Constant and Description
      BOTH -
      Listen for both client and server side packets.
      -
      CLIENT_SIDE -
      Listen for client side packets that will invoke onPacketReceiving().
      -
      SERVER_SIDE -
      Listen for server side packets that will invoke onPacketSending().
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      booleanisForClient() 
      booleanisForServer() 
      static ConnectionSidevalueOf(java.lang.String name) -
      Returns the enum constant of this type with the specified name.
      -
      static ConnectionSide[]values() -
      Returns an array containing the constants of this enum type, in -the order they are declared.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Enum

        -clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -getClass, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Enum Constant Detail

      - - - -
        -
      • -

        SERVER_SIDE

        -
        public static final ConnectionSide SERVER_SIDE
        -
        Listen for server side packets that will invoke onPacketSending().
        -
      • -
      - - - -
        -
      • -

        CLIENT_SIDE

        -
        public static final ConnectionSide CLIENT_SIDE
        -
        Listen for client side packets that will invoke onPacketReceiving().
        -
      • -
      - - - -
        -
      • -

        BOTH

        -
        public static final ConnectionSide BOTH
        -
        Listen for both client and server side packets.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        values

        -
        public static ConnectionSide[] values()
        -
        Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate -over the constants as follows: -
        -for (ConnectionSide c : ConnectionSide.values())
        -    System.out.println(c);
        -
        -
        Returns:
        an array containing the constants of this enum type, in -the order they are declared
        -
      • -
      - - - -
        -
      • -

        valueOf

        -
        public static ConnectionSide valueOf(java.lang.String name)
        -
        Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.)
        -
        Parameters:
        name - the name of the enum constant to be returned.
        -
        Returns:
        the enum constant with the specified name
        -
        Throws:
        -
        java.lang.IllegalArgumentException - if this enum type has no constant -with the specified name
        -
        java.lang.NullPointerException - if the argument is null
        -
      • -
      - - - -
        -
      • -

        isForClient

        -
        public boolean isForClient()
        -
      • -
      - - - -
        -
      • -

        isForServer

        -
        public boolean isForServer()
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/events/ListenerPriority.html b/Javadoc/com/comphenix/protocol/events/ListenerPriority.html deleted file mode 100644 index 0ed44842..00000000 --- a/Javadoc/com/comphenix/protocol/events/ListenerPriority.html +++ /dev/null @@ -1,413 +0,0 @@ - - - - - -ListenerPriority - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.events
-

Enum ListenerPriority

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.io.Serializable, java.lang.Comparable<ListenerPriority>
    -
    -
    -
    -
    public enum ListenerPriority
    -extends java.lang.Enum<ListenerPriority>
    -
    Represents a packet event priority, similar to the Bukkit EventPriority.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Enum Constant Summary

      - - - - - - - - - - - - - - - - - - - - - - - -
      Enum Constants 
      Enum Constant and Description
      HIGH -
      Event call is of high importance.
      -
      HIGHEST -
      Event call is critical and must have the final say in what happens to the - event.
      -
      LOW -
      Event call is of low importance.
      -
      LOWEST -
      Event call is of very low importance and should be ran first, to allow - other plugins to further customise the outcome.
      -
      MONITOR -
      Event is listened to purely for monitoring the outcome of an event.
      -
      NORMAL -
      Event call is neither important or unimportant, and may be ran normally.
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      intgetSlot() -
      A low slot represents a low priority.
      -
      static ListenerPriorityvalueOf(java.lang.String name) -
      Returns the enum constant of this type with the specified name.
      -
      static ListenerPriority[]values() -
      Returns an array containing the constants of this enum type, in -the order they are declared.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Enum

        -clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -getClass, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Enum Constant Detail

      - - - -
        -
      • -

        LOWEST

        -
        public static final ListenerPriority LOWEST
        -
        Event call is of very low importance and should be ran first, to allow - other plugins to further customise the outcome.
        -
      • -
      - - - -
        -
      • -

        LOW

        -
        public static final ListenerPriority LOW
        -
        Event call is of low importance.
        -
      • -
      - - - -
        -
      • -

        NORMAL

        -
        public static final ListenerPriority NORMAL
        -
        Event call is neither important or unimportant, and may be ran normally.
        -
      • -
      - - - -
        -
      • -

        HIGH

        -
        public static final ListenerPriority HIGH
        -
        Event call is of high importance.
        -
      • -
      - - - -
        -
      • -

        HIGHEST

        -
        public static final ListenerPriority HIGHEST
        -
        Event call is critical and must have the final say in what happens to the - event.
        -
      • -
      - - - -
        -
      • -

        MONITOR

        -
        public static final ListenerPriority MONITOR
        -
        Event is listened to purely for monitoring the outcome of an event. -

        - No modifications to the event should be made under this priority.

        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        values

        -
        public static ListenerPriority[] values()
        -
        Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate -over the constants as follows: -
        -for (ListenerPriority c : ListenerPriority.values())
        -    System.out.println(c);
        -
        -
        Returns:
        an array containing the constants of this enum type, in -the order they are declared
        -
      • -
      - - - -
        -
      • -

        valueOf

        -
        public static ListenerPriority valueOf(java.lang.String name)
        -
        Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.)
        -
        Parameters:
        name - the name of the enum constant to be returned.
        -
        Returns:
        the enum constant with the specified name
        -
        Throws:
        -
        java.lang.IllegalArgumentException - if this enum type has no constant -with the specified name
        -
        java.lang.NullPointerException - if the argument is null
        -
      • -
      - - - -
        -
      • -

        getSlot

        -
        public int getSlot()
        -
        A low slot represents a low priority.
        -
        Returns:
        Integer representation of this priorty.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/events/ListeningWhitelist.html b/Javadoc/com/comphenix/protocol/events/ListeningWhitelist.html deleted file mode 100644 index da64d8f2..00000000 --- a/Javadoc/com/comphenix/protocol/events/ListeningWhitelist.html +++ /dev/null @@ -1,506 +0,0 @@ - - - - - -ListeningWhitelist - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.events
-

Class ListeningWhitelist

-
-
- -
-
    -
  • -
    -
    -
    public class ListeningWhitelist
    -extends java.lang.Object
    -
    Determines which packets will be observed by a listener, and with what priority.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      static ListeningWhitelistEMPTY_WHITELIST -
      A whitelist with no packets - indicates that the listener shouldn't observe any packets.
      -
      -
    • -
    - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - - - - - - - -
      Constructors 
      Constructor and Description
      ListeningWhitelist(ListenerPriority priority, - java.lang.Integer... whitelist) -
      Creates a packet whitelist of a given priority for a list of packets.
      -
      ListeningWhitelist(ListenerPriority priority, - java.lang.Integer[] whitelist, - com.comphenix.protocol.injector.GamePhase gamePhase) -
      Creates a packet whitelist for a given priority with a set of packet IDs.
      -
      ListeningWhitelist(ListenerPriority priority, - java.util.Set<java.lang.Integer> whitelist) -
      Creates a packet whitelist for a given priority with a set of packet IDs.
      -
      ListeningWhitelist(ListenerPriority priority, - java.util.Set<java.lang.Integer> whitelist, - com.comphenix.protocol.injector.GamePhase gamePhase) -
      Creates a packet whitelist for a given priority with a set of packet IDs.
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      static booleancontainsAny(ListeningWhitelist whitelist, - int... idList) -
      Determine if any of the given IDs can be found in the whitelist.
      -
      booleanequals(java.lang.Object obj) 
      com.comphenix.protocol.injector.GamePhasegetGamePhase() -
      Retrieve which game phase this listener is active under.
      -
      ListenerPrioritygetPriority() -
      Retrieve the priority in the execution order of the packet listener.
      -
      java.util.Set<java.lang.Integer>getWhitelist() -
      Retrieves the list of packets that will be observed by the listeners.
      -
      inthashCode() 
      static booleanisEmpty(ListeningWhitelist whitelist) -
      Determine if the given whitelist is empty or not.
      -
      booleanisEnabled() -
      Whether or not this whitelist has any enabled packets.
      -
      java.lang.StringtoString() 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        EMPTY_WHITELIST

        -
        public static final ListeningWhitelist EMPTY_WHITELIST
        -
        A whitelist with no packets - indicates that the listener shouldn't observe any packets.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ListeningWhitelist

        -
        public ListeningWhitelist(ListenerPriority priority,
        -                  java.util.Set<java.lang.Integer> whitelist)
        -
        Creates a packet whitelist for a given priority with a set of packet IDs.
        -
        Parameters:
        priority - - the listener priority.
        whitelist - - set of IDs to observe/enable.
        -
      • -
      - - - -
        -
      • -

        ListeningWhitelist

        -
        public ListeningWhitelist(ListenerPriority priority,
        -                  java.util.Set<java.lang.Integer> whitelist,
        -                  com.comphenix.protocol.injector.GamePhase gamePhase)
        -
        Creates a packet whitelist for a given priority with a set of packet IDs.
        -
        Parameters:
        priority - - the listener priority.
        whitelist - - set of IDs to observe/enable.
        gamePhase - - which game phase to receieve notifications on.
        -
      • -
      - - - -
        -
      • -

        ListeningWhitelist

        -
        public ListeningWhitelist(ListenerPriority priority,
        -                  java.lang.Integer... whitelist)
        -
        Creates a packet whitelist of a given priority for a list of packets.
        -
        Parameters:
        priority - - the listener priority.
        whitelist - - list of packet IDs to observe/enable.
        -
      • -
      - - - -
        -
      • -

        ListeningWhitelist

        -
        public ListeningWhitelist(ListenerPriority priority,
        -                  java.lang.Integer[] whitelist,
        -                  com.comphenix.protocol.injector.GamePhase gamePhase)
        -
        Creates a packet whitelist for a given priority with a set of packet IDs.
        -
        Parameters:
        priority - - the listener priority.
        whitelist - - list of packet IDs to observe/enable.
        gamePhase - - which game phase to receieve notifications on.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        isEnabled

        -
        public boolean isEnabled()
        -
        Whether or not this whitelist has any enabled packets.
        -
        Returns:
        TRUE if there are any packets, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        getPriority

        -
        public ListenerPriority getPriority()
        -
        Retrieve the priority in the execution order of the packet listener. Highest priority will be executed last.
        -
        Returns:
        Execution order in terms of priority.
        -
      • -
      - - - -
        -
      • -

        getWhitelist

        -
        public java.util.Set<java.lang.Integer> getWhitelist()
        -
        Retrieves the list of packets that will be observed by the listeners.
        -
        Returns:
        Packet whitelist.
        -
      • -
      - - - -
        -
      • -

        getGamePhase

        -
        public com.comphenix.protocol.injector.GamePhase getGamePhase()
        -
        Retrieve which game phase this listener is active under.
        -
        Returns:
        The active game phase.
        -
      • -
      - - - -
        -
      • -

        hashCode

        -
        public int hashCode()
        -
        -
        Overrides:
        -
        hashCode in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        containsAny

        -
        public static boolean containsAny(ListeningWhitelist whitelist,
        -                  int... idList)
        -
        Determine if any of the given IDs can be found in the whitelist.
        -
        Parameters:
        whitelist - - whitelist to test.
        idList - - list of packet IDs to find.
        -
        Returns:
        TRUE if any of the packets in the list can be found in the whitelist, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        isEmpty

        -
        public static boolean isEmpty(ListeningWhitelist whitelist)
        -
        Determine if the given whitelist is empty or not.
        -
        Parameters:
        whitelist - - the whitelist to test.
        -
        Returns:
        TRUE if the whitelist is empty, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        equals

        -
        public boolean equals(java.lang.Object obj)
        -
        -
        Overrides:
        -
        equals in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/events/MonitorAdapter.html b/Javadoc/com/comphenix/protocol/events/MonitorAdapter.html deleted file mode 100644 index 44b38c93..00000000 --- a/Javadoc/com/comphenix/protocol/events/MonitorAdapter.html +++ /dev/null @@ -1,339 +0,0 @@ - - - - - -MonitorAdapter - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.events
-

Class MonitorAdapter

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    PacketListener
    -
    -
    -
    -
    public abstract class MonitorAdapter
    -extends java.lang.Object
    -implements PacketListener
    -
    Represents a listener that is notified of every sent and recieved packet.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        MonitorAdapter

        -
        public MonitorAdapter(org.bukkit.plugin.Plugin plugin,
        -              ConnectionSide side)
        -
      • -
      - - - -
        -
      • -

        MonitorAdapter

        -
        public MonitorAdapter(org.bukkit.plugin.Plugin plugin,
        -              ConnectionSide side,
        -              java.util.logging.Logger logger)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getSendingWhitelist

        -
        public ListeningWhitelist getSendingWhitelist()
        -
        Description copied from interface: PacketListener
        -
        Retrieve which packets sent by the server this listener will observe.
        -
        -
        Specified by:
        -
        getSendingWhitelist in interface PacketListener
        -
        Returns:
        List of server packets to observe, along with the priority.
        -
      • -
      - - - -
        -
      • -

        getReceivingWhitelist

        -
        public ListeningWhitelist getReceivingWhitelist()
        -
        Description copied from interface: PacketListener
        -
        Retrieve which packets sent by the client this listener will observe.
        -
        -
        Specified by:
        -
        getReceivingWhitelist in interface PacketListener
        -
        Returns:
        List of server packets to observe, along with the priority.
        -
      • -
      - - - -
        -
      • -

        getPlugin

        -
        public org.bukkit.plugin.Plugin getPlugin()
        -
        Description copied from interface: PacketListener
        -
        Retrieve the plugin that created list packet listener.
        -
        -
        Specified by:
        -
        getPlugin in interface PacketListener
        -
        Returns:
        The plugin, or NULL if not available.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/events/PacketAdapter.html b/Javadoc/com/comphenix/protocol/events/PacketAdapter.html deleted file mode 100644 index 34c44dac..00000000 --- a/Javadoc/com/comphenix/protocol/events/PacketAdapter.html +++ /dev/null @@ -1,645 +0,0 @@ - - - - - -PacketAdapter - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.events
-

Class PacketAdapter

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    PacketListener
    -
    -
    -
    -
    public abstract class PacketAdapter
    -extends java.lang.Object
    -implements PacketListener
    -
    Represents a packet listener with useful constructors. -

    - Remember to override onPacketReceiving() and onPacketSending(), depending on the ConnectionSide.

    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Constructors 
      Constructor and Description
      PacketAdapter(org.bukkit.plugin.Plugin plugin, - ConnectionSide connectionSide, - com.comphenix.protocol.injector.GamePhase gamePhase, - java.lang.Integer... packets) -
      Initialize a packet listener for a single connection side.
      -
      PacketAdapter(org.bukkit.plugin.Plugin plugin, - ConnectionSide connectionSide, - com.comphenix.protocol.injector.GamePhase gamePhase, - java.util.Set<java.lang.Integer> packets) -
      Initialize a packet listener for a single connection side.
      -
      PacketAdapter(org.bukkit.plugin.Plugin plugin, - ConnectionSide connectionSide, - java.lang.Integer... packets) -
      Initialize a packet listener with default priority.
      -
      PacketAdapter(org.bukkit.plugin.Plugin plugin, - ConnectionSide connectionSide, - ListenerPriority listenerPriority, - com.comphenix.protocol.injector.GamePhase gamePhase, - java.lang.Integer... packets) -
      Initialize a packet listener for a single connection side.
      -
      PacketAdapter(org.bukkit.plugin.Plugin plugin, - ConnectionSide connectionSide, - ListenerPriority listenerPriority, - com.comphenix.protocol.injector.GamePhase gamePhase, - java.util.Set<java.lang.Integer> packets) -
      Initialize a packet listener for a single connection side.
      -
      PacketAdapter(org.bukkit.plugin.Plugin plugin, - ConnectionSide connectionSide, - ListenerPriority listenerPriority, - java.lang.Integer... packets) -
      Initialize a packet listener for a single connection side.
      -
      PacketAdapter(org.bukkit.plugin.Plugin plugin, - ConnectionSide connectionSide, - ListenerPriority listenerPriority, - java.util.Set<java.lang.Integer> packets) -
      Initialize a packet listener for a single connection side.
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      org.bukkit.plugin.PlugingetPlugin() -
      Retrieve the plugin that created list packet listener.
      -
      static java.lang.StringgetPluginName(PacketListener listener) -
      Retrieves the name of the plugin that has been associated with the listener.
      -
      static java.lang.StringgetPluginName(org.bukkit.plugin.Plugin plugin) -
      Retrieves the name of the given plugin.
      -
      ListeningWhitelistgetReceivingWhitelist() -
      Retrieve which packets sent by the client this listener will observe.
      -
      ListeningWhitelistgetSendingWhitelist() -
      Retrieve which packets sent by the server this listener will observe.
      -
      voidonPacketReceiving(PacketEvent event) -
      Invoked right before a recieved packet from a client is being processed.
      -
      voidonPacketSending(PacketEvent event) -
      Invoked right before a packet is transmitted from the server to the client.
      -
      java.lang.StringtoString() 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        PacketAdapter

        -
        public PacketAdapter(org.bukkit.plugin.Plugin plugin,
        -             ConnectionSide connectionSide,
        -             java.lang.Integer... packets)
        -
        Initialize a packet listener with default priority.
        -
        Parameters:
        plugin - - the plugin that spawned this listener.
        connectionSide - - the packet type the listener is looking for.
        packets - - the packet IDs the listener is looking for.
        -
      • -
      - - - -
        -
      • -

        PacketAdapter

        -
        public PacketAdapter(org.bukkit.plugin.Plugin plugin,
        -             ConnectionSide connectionSide,
        -             ListenerPriority listenerPriority,
        -             java.util.Set<java.lang.Integer> packets)
        -
        Initialize a packet listener for a single connection side.
        -
        Parameters:
        plugin - - the plugin that spawned this listener.
        connectionSide - - the packet type the listener is looking for.
        listenerPriority - - the event priority.
        packets - - the packet IDs the listener is looking for.
        -
      • -
      - - - -
        -
      • -

        PacketAdapter

        -
        public PacketAdapter(org.bukkit.plugin.Plugin plugin,
        -             ConnectionSide connectionSide,
        -             com.comphenix.protocol.injector.GamePhase gamePhase,
        -             java.util.Set<java.lang.Integer> packets)
        -
        Initialize a packet listener for a single connection side. -

        - The game phase is used to optmize performance. A listener should only choose BOTH or LOGIN if it's absolutely necessary.

        -
        Parameters:
        plugin - - the plugin that spawned this listener.
        connectionSide - - the packet type the listener is looking for.
        gamePhase - - which game phase this listener is active under.
        packets - - the packet IDs the listener is looking for.
        -
      • -
      - - - -
        -
      • -

        PacketAdapter

        -
        public PacketAdapter(org.bukkit.plugin.Plugin plugin,
        -             ConnectionSide connectionSide,
        -             ListenerPriority listenerPriority,
        -             com.comphenix.protocol.injector.GamePhase gamePhase,
        -             java.util.Set<java.lang.Integer> packets)
        -
        Initialize a packet listener for a single connection side. -

        - The game phase is used to optmize performance. A listener should only choose BOTH or LOGIN if it's absolutely necessary.

        -
        Parameters:
        plugin - - the plugin that spawned this listener.
        connectionSide - - the packet type the listener is looking for.
        listenerPriority - - the event priority.
        gamePhase - - which game phase this listener is active under.
        packets - - the packet IDs the listener is looking for.
        -
      • -
      - - - -
        -
      • -

        PacketAdapter

        -
        public PacketAdapter(org.bukkit.plugin.Plugin plugin,
        -             ConnectionSide connectionSide,
        -             ListenerPriority listenerPriority,
        -             java.lang.Integer... packets)
        -
        Initialize a packet listener for a single connection side.
        -
        Parameters:
        plugin - - the plugin that spawned this listener.
        connectionSide - - the packet type the listener is looking for.
        listenerPriority - - the event priority.
        packets - - the packet IDs the listener is looking for.
        -
      • -
      - - - -
        -
      • -

        PacketAdapter

        -
        public PacketAdapter(org.bukkit.plugin.Plugin plugin,
        -             ConnectionSide connectionSide,
        -             com.comphenix.protocol.injector.GamePhase gamePhase,
        -             java.lang.Integer... packets)
        -
        Initialize a packet listener for a single connection side.
        -
        Parameters:
        plugin - - the plugin that spawned this listener.
        connectionSide - - the packet type the listener is looking for.
        gamePhase - - which game phase this listener is active under.
        packets - - the packet IDs the listener is looking for.
        -
      • -
      - - - -
        -
      • -

        PacketAdapter

        -
        public PacketAdapter(org.bukkit.plugin.Plugin plugin,
        -             ConnectionSide connectionSide,
        -             ListenerPriority listenerPriority,
        -             com.comphenix.protocol.injector.GamePhase gamePhase,
        -             java.lang.Integer... packets)
        -
        Initialize a packet listener for a single connection side. -

        - The game phase is used to optmize performance. A listener should only choose BOTH or LOGIN if it's absolutely necessary.

        -
        Parameters:
        plugin - - the plugin that spawned this listener.
        connectionSide - - the packet type the listener is looking for.
        listenerPriority - - the event priority.
        gamePhase - - which game phase this listener is active under.
        packets - - the packet IDs the listener is looking for.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        onPacketReceiving

        -
        public void onPacketReceiving(PacketEvent event)
        -
        Description copied from interface: PacketListener
        -
        Invoked right before a recieved packet from a client is being processed. -

        - WARNING:
        - This method will be called asynchronously! You should synchronize with the main - thread using scheduleSyncDelayedTask - if you need to call the Bukkit API.

        -
        -
        Specified by:
        -
        onPacketReceiving in interface PacketListener
        -
        Parameters:
        event - - the packet that has been recieved.
        -
      • -
      - - - -
        -
      • -

        onPacketSending

        -
        public void onPacketSending(PacketEvent event)
        -
        Description copied from interface: PacketListener
        -
        Invoked right before a packet is transmitted from the server to the client. -

        - Note that the packet may be replaced, if needed. -

        - This method is executed on the main thread, and thus the Bukkit API is safe to use.

        -
        -
        Specified by:
        -
        onPacketSending in interface PacketListener
        -
        Parameters:
        event - - the packet that should be sent.
        -
      • -
      - - - -
        -
      • -

        getReceivingWhitelist

        -
        public ListeningWhitelist getReceivingWhitelist()
        -
        Description copied from interface: PacketListener
        -
        Retrieve which packets sent by the client this listener will observe.
        -
        -
        Specified by:
        -
        getReceivingWhitelist in interface PacketListener
        -
        Returns:
        List of server packets to observe, along with the priority.
        -
      • -
      - - - -
        -
      • -

        getSendingWhitelist

        -
        public ListeningWhitelist getSendingWhitelist()
        -
        Description copied from interface: PacketListener
        -
        Retrieve which packets sent by the server this listener will observe.
        -
        -
        Specified by:
        -
        getSendingWhitelist in interface PacketListener
        -
        Returns:
        List of server packets to observe, along with the priority.
        -
      • -
      - - - -
        -
      • -

        getPlugin

        -
        public org.bukkit.plugin.Plugin getPlugin()
        -
        Description copied from interface: PacketListener
        -
        Retrieve the plugin that created list packet listener.
        -
        -
        Specified by:
        -
        getPlugin in interface PacketListener
        -
        Returns:
        The plugin, or NULL if not available.
        -
      • -
      - - - -
        -
      • -

        getPluginName

        -
        public static java.lang.String getPluginName(PacketListener listener)
        -
        Retrieves the name of the plugin that has been associated with the listener.
        -
        Parameters:
        listener - - the listener.
        -
        Returns:
        Name of the associated plugin.
        -
      • -
      - - - -
        -
      • -

        getPluginName

        -
        public static java.lang.String getPluginName(org.bukkit.plugin.Plugin plugin)
        -
        Retrieves the name of the given plugin.
        -
        Parameters:
        plugin - - the plugin.
        -
        Returns:
        Name of the given plugin.
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/events/PacketContainer.html b/Javadoc/com/comphenix/protocol/events/PacketContainer.html deleted file mode 100644 index b40604ad..00000000 --- a/Javadoc/com/comphenix/protocol/events/PacketContainer.html +++ /dev/null @@ -1,864 +0,0 @@ - - - - - -PacketContainer - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.events
-

Class PacketContainer

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.io.Serializable
    -
    -
    -
    -
    public class PacketContainer
    -extends java.lang.Object
    -implements java.io.Serializable
    -
    Represents a Minecraft packet indirectly.
    -
    Author:
    -
    Kristian
    -
    See Also:
    Serialized Form
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        id

        -
        protected int id
        -
      • -
      - - - -
        -
      • -

        handle

        -
        protected transient java.lang.Object handle
        -
      • -
      - - - -
        -
      • -

        structureModifier

        -
        protected transient StructureModifier<java.lang.Object> structureModifier
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        PacketContainer

        -
        public PacketContainer(int id)
        -
        Creates a packet container for a new packet.
        -
        Parameters:
        id - - ID of the packet to create.
        -
      • -
      - - - -
        -
      • -

        PacketContainer

        -
        public PacketContainer(int id,
        -               java.lang.Object handle)
        -
        Creates a packet container for an existing packet.
        -
        Parameters:
        id - - ID of the given packet.
        handle - - contained packet.
        -
      • -
      - - - -
        -
      • -

        PacketContainer

        -
        public PacketContainer(int id,
        -               java.lang.Object handle,
        -               StructureModifier<java.lang.Object> structure)
        -
        Creates a packet container for an existing packet.
        -
        Parameters:
        id - - ID of the given packet.
        handle - - contained packet.
        structure - - structure modifier.
        -
      • -
      - - - -
        -
      • -

        PacketContainer

        -
        protected PacketContainer()
        -
        For serialization.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getHandle

        -
        public java.lang.Object getHandle()
        -
        Retrieves the underlying Minecraft packet.
        -
        Returns:
        Underlying Minecraft packet.
        -
      • -
      - - - -
        -
      • -

        getModifier

        -
        public StructureModifier<java.lang.Object> getModifier()
        -
        Retrieves the generic structure modifier for this packet.
        -
        Returns:
        Structure modifier.
        -
      • -
      - - - -
        -
      • -

        getSpecificModifier

        -
        public <T> StructureModifier<T> getSpecificModifier(java.lang.Class<T> primitiveType)
        -
        Retrieves a read/write structure for every field with the given type.
        -
        Parameters:
        primitiveType - - the type to find.
        -
        Returns:
        A modifier for this specific type.
        -
      • -
      - - - -
        -
      • -

        getBytes

        -
        public StructureModifier<java.lang.Byte> getBytes()
        -
        Retrieves a read/write structure for every byte field.
        -
        Returns:
        A modifier for every byte field.
        -
      • -
      - - - -
        -
      • -

        getBooleans

        -
        public StructureModifier<java.lang.Boolean> getBooleans()
        -
        Retrieves a read/write structure for every boolean field.
        -
        Returns:
        A modifier for every boolean field.
        -
      • -
      - - - -
        -
      • -

        getShorts

        -
        public StructureModifier<java.lang.Short> getShorts()
        -
        Retrieves a read/write structure for every short field.
        -
        Returns:
        A modifier for every short field.
        -
      • -
      - - - -
        -
      • -

        getIntegers

        -
        public StructureModifier<java.lang.Integer> getIntegers()
        -
        Retrieves a read/write structure for every integer field.
        -
        Returns:
        A modifier for every integer field.
        -
      • -
      - - - -
        -
      • -

        getLongs

        -
        public StructureModifier<java.lang.Long> getLongs()
        -
        Retrieves a read/write structure for every long field.
        -
        Returns:
        A modifier for every long field.
        -
      • -
      - - - -
        -
      • -

        getFloat

        -
        public StructureModifier<java.lang.Float> getFloat()
        -
        Retrieves a read/write structure for every float field.
        -
        Returns:
        A modifier for every float field.
        -
      • -
      - - - -
        -
      • -

        getDoubles

        -
        public StructureModifier<java.lang.Double> getDoubles()
        -
        Retrieves a read/write structure for every double field.
        -
        Returns:
        A modifier for every double field.
        -
      • -
      - - - -
        -
      • -

        getStrings

        -
        public StructureModifier<java.lang.String> getStrings()
        -
        Retrieves a read/write structure for every String field.
        -
        Returns:
        A modifier for every String field.
        -
      • -
      - - - -
        -
      • -

        getStringArrays

        -
        public StructureModifier<java.lang.String[]> getStringArrays()
        -
        Retrieves a read/write structure for every String array field.
        -
        Returns:
        A modifier for every String array field.
        -
      • -
      - - - -
        -
      • -

        getByteArrays

        -
        public StructureModifier<byte[]> getByteArrays()
        -
        Retrieves a read/write structure for every byte array field.
        -
        Returns:
        A modifier for every byte array field.
        -
      • -
      - - - -
        -
      • -

        getByteArraySerializer

        -
        public StreamSerializer getByteArraySerializer()
        -
        Retrieve a serializer for reading and writing ItemStacks stored in a byte array.
        -
        Returns:
        A instance of the serializer.
        -
      • -
      - - - -
        -
      • -

        getIntegerArrays

        -
        public StructureModifier<int[]> getIntegerArrays()
        -
        Retrieves a read/write structure for every int array field.
        -
        Returns:
        A modifier for every int array field.
        -
      • -
      - - - -
        -
      • -

        getItemModifier

        -
        public StructureModifier<org.bukkit.inventory.ItemStack> getItemModifier()
        -
        Retrieves a read/write structure for ItemStack. -

        - This modifier will automatically marshall between the Bukkit ItemStack and the - internal Minecraft ItemStack.

        -
        Returns:
        A modifier for ItemStack fields.
        -
      • -
      - - - -
        -
      • -

        getItemArrayModifier

        -
        public StructureModifier<org.bukkit.inventory.ItemStack[]> getItemArrayModifier()
        -
        Retrieves a read/write structure for arrays of ItemStacks. -

        - This modifier will automatically marshall between the Bukkit ItemStack and the - internal Minecraft ItemStack.

        -
        Returns:
        A modifier for ItemStack array fields.
        -
      • -
      - - - -
        -
      • -

        getWorldTypeModifier

        -
        public StructureModifier<org.bukkit.WorldType> getWorldTypeModifier()
        -
        Retrieves a read/write structure for the world type enum. -

        - This modifier will automatically marshall between the Bukkit world type and the - internal Minecraft world type.

        -
        Returns:
        A modifier for world type fields.
        -
      • -
      - - - -
        -
      • -

        getDataWatcherModifier

        -
        public StructureModifier<WrappedDataWatcher> getDataWatcherModifier()
        -
        Retrieves a read/write structure for data watchers.
        -
        Returns:
        A modifier for data watchers.
        -
      • -
      - - - -
        -
      • -

        getEntityModifier

        -
        public StructureModifier<org.bukkit.entity.Entity> getEntityModifier(org.bukkit.World world)
        -
        Retrieves a read/write structure for entity objects. -

        - Note that entities are transmitted by integer ID, and the type may not be enough - to distinguish between entities and other values. Thus, this structure modifier - MAY return null or invalid entities for certain fields. Using the correct index - is essential.

        -
        Returns:
        A modifier entity types.
        -
      • -
      - - - -
        -
      • -

        getPositionModifier

        -
        public StructureModifier<ChunkPosition> getPositionModifier()
        -
        Retrieves a read/write structure for chunk positions.
        -
        Returns:
        A modifier for a ChunkPosition.
        -
      • -
      - - - -
        -
      • -

        getNbtModifier

        -
        public StructureModifier<NbtBase<?>> getNbtModifier()
        -
        Retrieves a read/write structure for NBT classes.
        -
        Returns:
        A modifier for NBT classes.
        -
      • -
      - - - -
        -
      • -

        getPositionCollectionModifier

        -
        public StructureModifier<java.util.List<ChunkPosition>> getPositionCollectionModifier()
        -
        Retrieves a read/write structure for collections of chunk positions. -

        - This modifier will automatically marshall between the visible ProtocolLib ChunkPosition and the - internal Minecraft ChunkPosition.

        -
        Returns:
        A modifier for ChunkPosition list fields.
        -
      • -
      - - - -
        -
      • -

        getWatchableCollectionModifier

        -
        public StructureModifier<java.util.List<WrappedWatchableObject>> getWatchableCollectionModifier()
        -
        Retrieves a read/write structure for collections of watchable objects. -

        - This modifier will automatically marshall between the visible WrappedWatchableObject and the - internal Minecraft WatchableObject.

        -
        Returns:
        A modifier for watchable object list fields.
        -
      • -
      - - - -
        -
      • -

        getID

        -
        public int getID()
        -
        Retrieves the ID of this packet.
        -
        Returns:
        Packet ID.
        -
      • -
      - - - -
        -
      • -

        shallowClone

        -
        public PacketContainer shallowClone()
        -
        Create a shallow copy of the current packet. -

        - This merely writes the content of each field to the new class directly, - without performing any expensive copies.

        -
        Returns:
        A shallow copy of the current packet.
        -
      • -
      - - - -
        -
      • -

        deepClone

        -
        public PacketContainer deepClone()
        -
        Create a deep copy of the current packet. -

        - This will perform a full copy of the entire object tree, only skipping - known immutable objects and primitive types. -

        - Note that the inflated buffers in packet 51 and 56 will be copied directly to save memory.

        -
        Returns:
        A deep copy of the current packet.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/events/PacketContainerTest.html b/Javadoc/com/comphenix/protocol/events/PacketContainerTest.html deleted file mode 100644 index f296b9c2..00000000 --- a/Javadoc/com/comphenix/protocol/events/PacketContainerTest.html +++ /dev/null @@ -1,494 +0,0 @@ - - - - - -PacketContainerTest - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.events
-

Class PacketContainerTest

-
-
- -
-
    -
  • -
    -
    -
    @PrepareForTest(value=org.bukkit.craftbukkit.v1_5_R2.inventory.CraftItemFactory.class)
    -public class PacketContainerTest
    -extends java.lang.Object
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        PacketContainerTest

        -
        public PacketContainerTest()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        initializeBukkit

        -
        public static void initializeBukkit()
        -                             throws java.lang.IllegalAccessException
        -
        Throws:
        -
        java.lang.IllegalAccessException
        -
      • -
      - - - -
        -
      • -

        testGetByteArrays

        -
        public void testGetByteArrays()
        -
      • -
      - - - -
        -
      • -

        testGetBytes

        -
        public void testGetBytes()
        -
      • -
      - - - -
        -
      • -

        testGetShorts

        -
        public void testGetShorts()
        -
      • -
      - - - -
        -
      • -

        testGetIntegers

        -
        public void testGetIntegers()
        -
      • -
      - - - -
        -
      • -

        testGetLongs

        -
        public void testGetLongs()
        -
      • -
      - - - -
        -
      • -

        testGetFloat

        -
        public void testGetFloat()
        -
      • -
      - - - -
        -
      • -

        testGetDoubles

        -
        public void testGetDoubles()
        -
      • -
      - - - -
        -
      • -

        testGetStrings

        -
        public void testGetStrings()
        -
      • -
      - - - -
        -
      • -

        testGetStringArrays

        -
        public void testGetStringArrays()
        -
      • -
      - - - -
        -
      • -

        testGetIntegerArrays

        -
        public void testGetIntegerArrays()
        -
      • -
      - - - -
        -
      • -

        testGetItemModifier

        -
        public void testGetItemModifier()
        -
      • -
      - - - -
        -
      • -

        testGetItemArrayModifier

        -
        public void testGetItemArrayModifier()
        -
      • -
      - - - -
        -
      • -

        testGetWorldTypeModifier

        -
        public void testGetWorldTypeModifier()
        -
      • -
      - - - -
        -
      • -

        testGetNbtModifier

        -
        public void testGetNbtModifier()
        -
      • -
      - - - -
        -
      • -

        testGetDataWatcherModifier

        -
        public void testGetDataWatcherModifier()
        -
      • -
      - - - -
        -
      • -

        testGetPositionCollectionModifier

        -
        public void testGetPositionCollectionModifier()
        -
      • -
      - - - -
        -
      • -

        testGetWatchableCollectionModifier

        -
        public void testGetWatchableCollectionModifier()
        -
      • -
      - - - -
        -
      • -

        testDeepClone

        -
        public void testDeepClone()
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/events/PacketEvent.html b/Javadoc/com/comphenix/protocol/events/PacketEvent.html deleted file mode 100644 index b709777a..00000000 --- a/Javadoc/com/comphenix/protocol/events/PacketEvent.html +++ /dev/null @@ -1,583 +0,0 @@ - - - - - -PacketEvent - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.events
-

Class PacketEvent

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.io.Serializable, org.bukkit.event.Cancellable
    -
    -
    -
    -
    public class PacketEvent
    -extends java.util.EventObject
    -implements org.bukkit.event.Cancellable
    -
    See Also:
    Serialized Form
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      -
        -
      • - - -

        Fields inherited from class java.util.EventObject

        -source
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      PacketEvent(java.lang.Object source) -
      Use the static constructors to create instances of this event.
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      static PacketEventfromClient(java.lang.Object source, - PacketContainer packet, - org.bukkit.entity.Player client) -
      Creates an event representing a client packet transmission.
      -
      static PacketEventfromServer(java.lang.Object source, - PacketContainer packet, - org.bukkit.entity.Player recipient) -
      Creates an event representing a server packet transmission.
      -
      static PacketEventfromSynchronous(PacketEvent event, - AsyncMarker marker) -
      Create an asynchronous packet event from a synchronous event and a async marker.
      -
      AsyncMarkergetAsyncMarker() -
      Retrieve the asynchronous marker.
      -
      PacketContainergetPacket() -
      Retrieves the packet that will be sent to the player.
      -
      intgetPacketID() -
      Retrieves the packet ID.
      -
      org.bukkit.entity.PlayergetPlayer() -
      Retrieves the player that has sent the packet or is recieving it.
      -
      booleanisAsynchronous() -
      Determine if the packet event has been executed asynchronously or not.
      -
      booleanisCancelled() -
      Retrieves whether or not the packet should be cancelled.
      -
      booleanisReadOnly() -
      Determine if the current packet event is read only.
      -
      booleanisServerPacket() -
      Whether or not this packet was created by the server.
      -
      voidsetAsyncMarker(AsyncMarker asyncMarker) -
      Set the asynchronous marker.
      -
      voidsetCancelled(boolean cancel) -
      Sets whether or not the packet should be cancelled.
      -
      voidsetPacket(PacketContainer packet) -
      Replace the packet that will be sent to the player.
      -
      voidsetReadOnly(boolean readOnly) -
      Set the read-only state of this packet event.
      -
      -
        -
      • - - -

        Methods inherited from class java.util.EventObject

        -getSource, toString
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        PacketEvent

        -
        public PacketEvent(java.lang.Object source)
        -
        Use the static constructors to create instances of this event.
        -
        Parameters:
        source - - the event source.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        fromClient

        -
        public static PacketEvent fromClient(java.lang.Object source,
        -                     PacketContainer packet,
        -                     org.bukkit.entity.Player client)
        -
        Creates an event representing a client packet transmission.
        -
        Parameters:
        source - - the event source.
        packet - - the packet.
        client - - the client that sent the packet.
        -
        Returns:
        The event.
        -
      • -
      - - - -
        -
      • -

        fromServer

        -
        public static PacketEvent fromServer(java.lang.Object source,
        -                     PacketContainer packet,
        -                     org.bukkit.entity.Player recipient)
        -
        Creates an event representing a server packet transmission.
        -
        Parameters:
        source - - the event source.
        packet - - the packet.
        recipient - - the client that will receieve the packet.
        -
        Returns:
        The event.
        -
      • -
      - - - -
        -
      • -

        fromSynchronous

        -
        public static PacketEvent fromSynchronous(PacketEvent event,
        -                          AsyncMarker marker)
        -
        Create an asynchronous packet event from a synchronous event and a async marker.
        -
        Parameters:
        event - - the original synchronous event.
        marker - - the asynchronous marker.
        -
        Returns:
        The new packet event.
        -
      • -
      - - - -
        -
      • -

        getPacket

        -
        public PacketContainer getPacket()
        -
        Retrieves the packet that will be sent to the player.
        -
        Returns:
        Packet to send to the player.
        -
      • -
      - - - -
        -
      • -

        setPacket

        -
        public void setPacket(PacketContainer packet)
        -
        Replace the packet that will be sent to the player.
        -
        Parameters:
        packet - - the packet that will be sent instead.
        -
      • -
      - - - -
        -
      • -

        getPacketID

        -
        public int getPacketID()
        -
        Retrieves the packet ID.
        -
        Returns:
        The current packet ID.
        -
      • -
      - - - -
        -
      • -

        isCancelled

        -
        public boolean isCancelled()
        -
        Retrieves whether or not the packet should be cancelled.
        -
        -
        Specified by:
        -
        isCancelled in interface org.bukkit.event.Cancellable
        -
        Returns:
        TRUE if it should be cancelled, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        setCancelled

        -
        public void setCancelled(boolean cancel)
        -
        Sets whether or not the packet should be cancelled. Uncancelling is possible. -

        - Warning: A cancelled packet should never be re-transmitted. Use the asynchronous - packet manager if you need to perform extensive processing. It should also be used - if you need to synchronize with the main thread. -

        - This ensures that other plugins can work with the same packet. -

        - An asynchronous listener can also delay a packet indefinitely without having to block its thread.

        -
        -
        Specified by:
        -
        setCancelled in interface org.bukkit.event.Cancellable
        -
        Parameters:
        cancel - - TRUE if it should be cancelled, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        getPlayer

        -
        public org.bukkit.entity.Player getPlayer()
        -
        Retrieves the player that has sent the packet or is recieving it.
        -
        Returns:
        The player associated with this event.
        -
      • -
      - - - -
        -
      • -

        isServerPacket

        -
        public boolean isServerPacket()
        -
        Whether or not this packet was created by the server. -

        - Most listeners can deduce this by noting which listener method was invoked.

        -
        Returns:
        TRUE if the packet was created by the server, FALSE if it was created by a client.
        -
      • -
      - - - -
        -
      • -

        getAsyncMarker

        -
        public AsyncMarker getAsyncMarker()
        -
        Retrieve the asynchronous marker. -

        - If the packet is synchronous, this marker will be used to schedule an asynchronous event. In the following - asynchronous event, the marker is used to correctly pass the packet around to the different threads. -

        - Note that if there are no asynchronous events that can receive this packet, the marker is NULL.

        -
        Returns:
        The current asynchronous marker, or NULL.
        -
      • -
      - - - -
        -
      • -

        setAsyncMarker

        -
        public void setAsyncMarker(AsyncMarker asyncMarker)
        -
        Set the asynchronous marker. -

        - If the marker is non-null at the end of an synchronous event processing, the packet will be scheduled - to be processed asynchronously with the given settings. -

        - Note that if there are no asynchronous events that can receive this packet, the marker should be NULL.

        -
        Parameters:
        asyncMarker - - the new asynchronous marker, or NULL.
        -
        Throws:
        -
        java.lang.IllegalStateException - If the current event is asynchronous.
        -
      • -
      - - - -
        -
      • -

        isReadOnly

        -
        public boolean isReadOnly()
        -
        Determine if the current packet event is read only. -

        - This is used to ensure that a monitor listener doesn't accidentally alter the state of the event. However, - it is still possible to modify the packet itself, as it would require too many resources to verify its integrity. -

        - Thus, the packet is considered immutable if the packet event is read only.

        -
        Returns:
        TRUE if it is, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        setReadOnly

        -
        public void setReadOnly(boolean readOnly)
        -
        Set the read-only state of this packet event. -

        - This will be reset for every packet listener.

        -
        Parameters:
        readOnly - - TRUE if it is read-only, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        isAsynchronous

        -
        public boolean isAsynchronous()
        -
        Determine if the packet event has been executed asynchronously or not.
        -
        Returns:
        TRUE if this packet event is asynchronous, FALSE otherwise.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/events/PacketListener.html b/Javadoc/com/comphenix/protocol/events/PacketListener.html deleted file mode 100644 index 3cc891e7..00000000 --- a/Javadoc/com/comphenix/protocol/events/PacketListener.html +++ /dev/null @@ -1,296 +0,0 @@ - - - - - -PacketListener - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.events
-

Interface PacketListener

-
-
-
-
    -
  • -
    -
    All Known Implementing Classes:
    -
    MonitorAdapter, PacketAdapter
    -
    -
    -
    -
    public interface PacketListener
    -
    Represents a listener that recieves notifications when packets are sent or recieved. -

    - Use PacketAdapter for a simple wrapper around this interface.

    -
    Author:
    -
    Kristian
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        onPacketSending

        -
        void onPacketSending(PacketEvent event)
        -
        Invoked right before a packet is transmitted from the server to the client. -

        - Note that the packet may be replaced, if needed. -

        - This method is executed on the main thread, and thus the Bukkit API is safe to use.

        -
        Parameters:
        event - - the packet that should be sent.
        -
      • -
      - - - -
        -
      • -

        onPacketReceiving

        -
        void onPacketReceiving(PacketEvent event)
        -
        Invoked right before a recieved packet from a client is being processed. -

        - WARNING:
        - This method will be called asynchronously! You should synchronize with the main - thread using scheduleSyncDelayedTask - if you need to call the Bukkit API.

        -
        Parameters:
        event - - the packet that has been recieved.
        -
      • -
      - - - -
        -
      • -

        getSendingWhitelist

        -
        ListeningWhitelist getSendingWhitelist()
        -
        Retrieve which packets sent by the server this listener will observe.
        -
        Returns:
        List of server packets to observe, along with the priority.
        -
      • -
      - - - -
        -
      • -

        getReceivingWhitelist

        -
        ListeningWhitelist getReceivingWhitelist()
        -
        Retrieve which packets sent by the client this listener will observe.
        -
        Returns:
        List of server packets to observe, along with the priority.
        -
      • -
      - - - -
        -
      • -

        getPlugin

        -
        org.bukkit.plugin.Plugin getPlugin()
        -
        Retrieve the plugin that created list packet listener.
        -
        Returns:
        The plugin, or NULL if not available.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/events/class-use/ConnectionSide.html b/Javadoc/com/comphenix/protocol/events/class-use/ConnectionSide.html deleted file mode 100644 index c1e2c2be..00000000 --- a/Javadoc/com/comphenix/protocol/events/class-use/ConnectionSide.html +++ /dev/null @@ -1,251 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.events.ConnectionSide - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.events.ConnectionSide

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/events/class-use/ListenerPriority.html b/Javadoc/com/comphenix/protocol/events/class-use/ListenerPriority.html deleted file mode 100644 index f14d8deb..00000000 --- a/Javadoc/com/comphenix/protocol/events/class-use/ListenerPriority.html +++ /dev/null @@ -1,238 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.events.ListenerPriority - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.events.ListenerPriority

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/events/class-use/ListeningWhitelist.html b/Javadoc/com/comphenix/protocol/events/class-use/ListeningWhitelist.html deleted file mode 100644 index 1d1e8b13..00000000 --- a/Javadoc/com/comphenix/protocol/events/class-use/ListeningWhitelist.html +++ /dev/null @@ -1,256 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.events.ListeningWhitelist - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.events.ListeningWhitelist

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/events/class-use/MonitorAdapter.html b/Javadoc/com/comphenix/protocol/events/class-use/MonitorAdapter.html deleted file mode 100644 index fa236026..00000000 --- a/Javadoc/com/comphenix/protocol/events/class-use/MonitorAdapter.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.events.MonitorAdapter - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.events.MonitorAdapter

-
-
No usage of com.comphenix.protocol.events.MonitorAdapter
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/events/class-use/PacketAdapter.html b/Javadoc/com/comphenix/protocol/events/class-use/PacketAdapter.html deleted file mode 100644 index 4c271a9a..00000000 --- a/Javadoc/com/comphenix/protocol/events/class-use/PacketAdapter.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.events.PacketAdapter - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.events.PacketAdapter

-
-
No usage of com.comphenix.protocol.events.PacketAdapter
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/events/class-use/PacketContainer.html b/Javadoc/com/comphenix/protocol/events/class-use/PacketContainer.html deleted file mode 100644 index f68fb25b..00000000 --- a/Javadoc/com/comphenix/protocol/events/class-use/PacketContainer.html +++ /dev/null @@ -1,288 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.events.PacketContainer - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.events.PacketContainer

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/events/class-use/PacketContainerTest.html b/Javadoc/com/comphenix/protocol/events/class-use/PacketContainerTest.html deleted file mode 100644 index 1f378190..00000000 --- a/Javadoc/com/comphenix/protocol/events/class-use/PacketContainerTest.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.events.PacketContainerTest - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.events.PacketContainerTest

-
-
No usage of com.comphenix.protocol.events.PacketContainerTest
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/events/class-use/PacketEvent.html b/Javadoc/com/comphenix/protocol/events/class-use/PacketEvent.html deleted file mode 100644 index 6d85c899..00000000 --- a/Javadoc/com/comphenix/protocol/events/class-use/PacketEvent.html +++ /dev/null @@ -1,340 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.events.PacketEvent - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.events.PacketEvent

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/events/class-use/PacketListener.html b/Javadoc/com/comphenix/protocol/events/class-use/PacketListener.html deleted file mode 100644 index 39f80a59..00000000 --- a/Javadoc/com/comphenix/protocol/events/class-use/PacketListener.html +++ /dev/null @@ -1,314 +0,0 @@ - - - - - -Uses of Interface com.comphenix.protocol.events.PacketListener - - - - - - - -
- - - - - -
- - -
-

Uses of Interface
com.comphenix.protocol.events.PacketListener

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/events/package-frame.html b/Javadoc/com/comphenix/protocol/events/package-frame.html deleted file mode 100644 index de61f56b..00000000 --- a/Javadoc/com/comphenix/protocol/events/package-frame.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - -com.comphenix.protocol.events - - - - -

com.comphenix.protocol.events

-
-

Interfaces

- -

Classes

- -

Enums

- -
- - diff --git a/Javadoc/com/comphenix/protocol/events/package-summary.html b/Javadoc/com/comphenix/protocol/events/package-summary.html deleted file mode 100644 index 8aa76aa3..00000000 --- a/Javadoc/com/comphenix/protocol/events/package-summary.html +++ /dev/null @@ -1,201 +0,0 @@ - - - - - -com.comphenix.protocol.events - - - - - - - -
- - - - - -
- - -
-

Package com.comphenix.protocol.events

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/events/package-tree.html b/Javadoc/com/comphenix/protocol/events/package-tree.html deleted file mode 100644 index 75be57dc..00000000 --- a/Javadoc/com/comphenix/protocol/events/package-tree.html +++ /dev/null @@ -1,154 +0,0 @@ - - - - - -com.comphenix.protocol.events Class Hierarchy - - - - - - - -
- - - - - -
- - -
-

Hierarchy For Package com.comphenix.protocol.events

-Package Hierarchies: - -
-
-

Class Hierarchy

- -

Interface Hierarchy

- -

Enum Hierarchy

- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/events/package-use.html b/Javadoc/com/comphenix/protocol/events/package-use.html deleted file mode 100644 index 76bc65cf..00000000 --- a/Javadoc/com/comphenix/protocol/events/package-use.html +++ /dev/null @@ -1,249 +0,0 @@ - - - - - -Uses of Package com.comphenix.protocol.events - - - - - - - -
- - - - - -
- - -
-

Uses of Package
com.comphenix.protocol.events

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/injector/SortedCopyOnWriteArrayTest.html b/Javadoc/com/comphenix/protocol/injector/SortedCopyOnWriteArrayTest.html deleted file mode 100644 index 1b1576b8..00000000 --- a/Javadoc/com/comphenix/protocol/injector/SortedCopyOnWriteArrayTest.html +++ /dev/null @@ -1,269 +0,0 @@ - - - - - -SortedCopyOnWriteArrayTest - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.injector
-

Class SortedCopyOnWriteArrayTest

-
-
- -
-
    -
  • -
    -
    -
    public class SortedCopyOnWriteArrayTest
    -extends java.lang.Object
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      voidtestInsertion() 
      voidtestOrder() 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        SortedCopyOnWriteArrayTest

        -
        public SortedCopyOnWriteArrayTest()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        testInsertion

        -
        public void testInsertion()
        -
      • -
      - - - -
        -
      • -

        testOrder

        -
        public void testOrder()
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/SortedCopyOnWriteArrayTest.html b/Javadoc/com/comphenix/protocol/injector/class-use/SortedCopyOnWriteArrayTest.html deleted file mode 100644 index d33332b2..00000000 --- a/Javadoc/com/comphenix/protocol/injector/class-use/SortedCopyOnWriteArrayTest.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.injector.SortedCopyOnWriteArrayTest - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.injector.SortedCopyOnWriteArrayTest

-
-
No usage of com.comphenix.protocol.injector.SortedCopyOnWriteArrayTest
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/injector/package-frame.html b/Javadoc/com/comphenix/protocol/injector/package-frame.html deleted file mode 100644 index b287131b..00000000 --- a/Javadoc/com/comphenix/protocol/injector/package-frame.html +++ /dev/null @@ -1,19 +0,0 @@ - - - - - -com.comphenix.protocol.injector - - - - -

com.comphenix.protocol.injector

-
-

Classes

- -
- - diff --git a/Javadoc/com/comphenix/protocol/injector/package-summary.html b/Javadoc/com/comphenix/protocol/injector/package-summary.html deleted file mode 100644 index 26c0ca3f..00000000 --- a/Javadoc/com/comphenix/protocol/injector/package-summary.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - -com.comphenix.protocol.injector - - - - - - - -
- - - - - -
- - -
-

Package com.comphenix.protocol.injector

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/injector/package-tree.html b/Javadoc/com/comphenix/protocol/injector/package-tree.html deleted file mode 100644 index 3ef64569..00000000 --- a/Javadoc/com/comphenix/protocol/injector/package-tree.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - -com.comphenix.protocol.injector Class Hierarchy - - - - - - - -
- - - - - -
- - -
-

Hierarchy For Package com.comphenix.protocol.injector

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/injector/package-use.html b/Javadoc/com/comphenix/protocol/injector/package-use.html deleted file mode 100644 index 38b0eb07..00000000 --- a/Javadoc/com/comphenix/protocol/injector/package-use.html +++ /dev/null @@ -1,194 +0,0 @@ - - - - - -Uses of Package com.comphenix.protocol.injector - - - - - - - -
- - - - - -
- - -
-

Uses of Package
com.comphenix.protocol.injector

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/metrics/Metrics.Graph.html b/Javadoc/com/comphenix/protocol/metrics/Metrics.Graph.html deleted file mode 100644 index 116898d2..00000000 --- a/Javadoc/com/comphenix/protocol/metrics/Metrics.Graph.html +++ /dev/null @@ -1,332 +0,0 @@ - - - - - -Metrics.Graph - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.metrics
-

Class Metrics.Graph

-
-
- -
-
    -
  • -
    -
    Enclosing class:
    -
    Metrics
    -
    -
    -
    -
    public static class Metrics.Graph
    -extends java.lang.Object
    -
    Represents a custom graph on the website
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      voidaddPlotter(Metrics.Plotter plotter) -
      Add a plotter to the graph, which will be used to plot entries
      -
      booleanequals(java.lang.Object object) 
      java.lang.StringgetName() -
      Gets the graph's name
      -
      java.util.Set<Metrics.Plotter>getPlotters() -
      Gets an unmodifiable set of the plotter objects in the graph
      -
      inthashCode() 
      protected voidonOptOut() -
      Called when the server owner decides to opt-out of BukkitMetrics while the server is running.
      -
      voidremovePlotter(Metrics.Plotter plotter) -
      Remove a plotter from the graph
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getName

        -
        public java.lang.String getName()
        -
        Gets the graph's name
        -
        Returns:
        the Graph's name
        -
      • -
      - - - -
        -
      • -

        addPlotter

        -
        public void addPlotter(Metrics.Plotter plotter)
        -
        Add a plotter to the graph, which will be used to plot entries
        -
        Parameters:
        plotter - the plotter to add to the graph
        -
      • -
      - - - -
        -
      • -

        removePlotter

        -
        public void removePlotter(Metrics.Plotter plotter)
        -
        Remove a plotter from the graph
        -
        Parameters:
        plotter - the plotter to remove from the graph
        -
      • -
      - - - -
        -
      • -

        getPlotters

        -
        public java.util.Set<Metrics.Plotter> getPlotters()
        -
        Gets an unmodifiable set of the plotter objects in the graph
        -
        Returns:
        an unmodifiable Set of the plotter objects
        -
      • -
      - - - -
        -
      • -

        hashCode

        -
        public int hashCode()
        -
        -
        Overrides:
        -
        hashCode in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        equals

        -
        public boolean equals(java.lang.Object object)
        -
        -
        Overrides:
        -
        equals in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        onOptOut

        -
        protected void onOptOut()
        -
        Called when the server owner decides to opt-out of BukkitMetrics while the server is running.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/metrics/Metrics.Plotter.html b/Javadoc/com/comphenix/protocol/metrics/Metrics.Plotter.html deleted file mode 100644 index 3e9dc66d..00000000 --- a/Javadoc/com/comphenix/protocol/metrics/Metrics.Plotter.html +++ /dev/null @@ -1,353 +0,0 @@ - - - - - -Metrics.Plotter - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.metrics
-

Class Metrics.Plotter

-
-
- -
-
    -
  • -
    -
    Enclosing class:
    -
    Metrics
    -
    -
    -
    -
    public abstract static class Metrics.Plotter
    -extends java.lang.Object
    -
    Interface used to collect custom data for a plugin
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - -
      Constructors 
      Constructor and Description
      Metrics.Plotter() -
      Construct a plotter with the default plot name
      -
      Metrics.Plotter(java.lang.String name) -
      Construct a plotter with a specific plot name
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      booleanequals(java.lang.Object object) 
      java.lang.StringgetColumnName() -
      Get the column name for the plotted point
      -
      abstract intgetValue() -
      Get the current value for the plotted point.
      -
      inthashCode() 
      voidreset() -
      Called after the website graphs have been updated
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Metrics.Plotter

        -
        public Metrics.Plotter()
        -
        Construct a plotter with the default plot name
        -
      • -
      - - - -
        -
      • -

        Metrics.Plotter

        -
        public Metrics.Plotter(java.lang.String name)
        -
        Construct a plotter with a specific plot name
        -
        Parameters:
        name - the name of the plotter to use, which will show up on the website
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getValue

        -
        public abstract int getValue()
        -
        Get the current value for the plotted point. Since this function defers to an external function it may or may - not return immediately thus cannot be guaranteed to be thread friendly or safe. This function can be called - from any thread so care should be taken when accessing resources that need to be synchronized.
        -
        Returns:
        the current value for the point to be plotted.
        -
      • -
      - - - -
        -
      • -

        getColumnName

        -
        public java.lang.String getColumnName()
        -
        Get the column name for the plotted point
        -
        Returns:
        the plotted point's column name
        -
      • -
      - - - -
        -
      • -

        reset

        -
        public void reset()
        -
        Called after the website graphs have been updated
        -
      • -
      - - - -
        -
      • -

        hashCode

        -
        public int hashCode()
        -
        -
        Overrides:
        -
        hashCode in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        equals

        -
        public boolean equals(java.lang.Object object)
        -
        -
        Overrides:
        -
        equals in class java.lang.Object
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/metrics/Metrics.html b/Javadoc/com/comphenix/protocol/metrics/Metrics.html deleted file mode 100644 index 85ff790c..00000000 --- a/Javadoc/com/comphenix/protocol/metrics/Metrics.html +++ /dev/null @@ -1,425 +0,0 @@ - - - - - -Metrics - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.metrics
-

Class Metrics

-
-
- -
-
    -
  • -
    -
    -
    public class Metrics
    -extends java.lang.Object
    -

    The metrics class obtains data about a plugin and submits statistics about it to the metrics backend.

    - Public methods provided by this class:

    - - Graph createGraph(String name);
    - void addCustomData(BukkitMetrics.Plotter plotter);
    - void start();
    -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Nested Class Summary

      - - - - - - - - - - - - - - -
      Nested Classes 
      Modifier and TypeClass and Description
      static class Metrics.Graph -
      Represents a custom graph on the website
      -
      static class Metrics.Plotter -
      Interface used to collect custom data for a plugin
      -
      -
    • -
    - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      Metrics(org.bukkit.plugin.Plugin plugin) 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      voidaddCustomData(Metrics.Plotter plotter) -
      Adds a custom data plotter to the default graph
      -
      voidaddGraph(Metrics.Graph graph) -
      Add a Graph object to BukkitMetrics that represents data for the plugin that should be sent to the backend
      -
      Metrics.GraphcreateGraph(java.lang.String name) -
      Construct and create a Graph that can be used to separate specific plotters to their own graphs on the metrics - website.
      -
      voiddisable() -
      Disables metrics for the server by setting "opt-out" to true in the config file and canceling the metrics task.
      -
      voidenable() -
      Enables metrics for the server by setting "opt-out" to false in the config file and starting the metrics task.
      -
      java.io.FilegetConfigFile() -
      Gets the File object of the config file that should be used to store data such as the GUID and opt-out status
      -
      booleanisOptOut() -
      Has the server owner denied plugin metrics?
      -
      booleanstart() -
      Start measuring statistics.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Metrics

        -
        public Metrics(org.bukkit.plugin.Plugin plugin)
        -        throws java.io.IOException
        -
        Throws:
        -
        java.io.IOException
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        createGraph

        -
        public Metrics.Graph createGraph(java.lang.String name)
        -
        Construct and create a Graph that can be used to separate specific plotters to their own graphs on the metrics - website. Plotters can be added to the graph object returned.
        -
        Parameters:
        name - The name of the graph
        -
        Returns:
        Graph object created. Will never return NULL under normal circumstances unless bad parameters are given
        -
      • -
      - - - -
        -
      • -

        addGraph

        -
        public void addGraph(Metrics.Graph graph)
        -
        Add a Graph object to BukkitMetrics that represents data for the plugin that should be sent to the backend
        -
        Parameters:
        graph - The name of the graph
        -
      • -
      - - - -
        -
      • -

        addCustomData

        -
        public void addCustomData(Metrics.Plotter plotter)
        -
        Adds a custom data plotter to the default graph
        -
        Parameters:
        plotter - The plotter to use to plot custom data
        -
      • -
      - - - -
        -
      • -

        start

        -
        public boolean start()
        -
        Start measuring statistics. This will immediately create an async repeating task as the plugin and send the - initial data to the metrics backend, and then after that it will post in increments of PING_INTERVAL * 1200 - ticks.
        -
        Returns:
        True if statistics measuring is running, otherwise false.
        -
      • -
      - - - -
        -
      • -

        isOptOut

        -
        public boolean isOptOut()
        -
        Has the server owner denied plugin metrics?
        -
        Returns:
        true if metrics should be opted out of it
        -
      • -
      - - - -
        -
      • -

        enable

        -
        public void enable()
        -            throws java.io.IOException
        -
        Enables metrics for the server by setting "opt-out" to false in the config file and starting the metrics task.
        -
        Throws:
        -
        java.io.IOException
        -
      • -
      - - - -
        -
      • -

        disable

        -
        public void disable()
        -             throws java.io.IOException
        -
        Disables metrics for the server by setting "opt-out" to true in the config file and canceling the metrics task.
        -
        Throws:
        -
        java.io.IOException
        -
      • -
      - - - -
        -
      • -

        getConfigFile

        -
        public java.io.File getConfigFile()
        -
        Gets the File object of the config file that should be used to store data such as the GUID and opt-out status
        -
        Returns:
        the File object for the config file
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/metrics/Statistics.html b/Javadoc/com/comphenix/protocol/metrics/Statistics.html deleted file mode 100644 index 5e8a0118..00000000 --- a/Javadoc/com/comphenix/protocol/metrics/Statistics.html +++ /dev/null @@ -1,231 +0,0 @@ - - - - - -Statistics - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.metrics
-

Class Statistics

-
-
- -
-
    -
  • -
    -
    -
    public class Statistics
    -extends java.lang.Object
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      Statistics(org.bukkit.plugin.Plugin plugin) 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Statistics

        -
        public Statistics(org.bukkit.plugin.Plugin plugin)
        -           throws java.io.IOException
        -
        Throws:
        -
        java.io.IOException
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/metrics/Updater.UpdateResult.html b/Javadoc/com/comphenix/protocol/metrics/Updater.UpdateResult.html deleted file mode 100644 index c0d6fbcc..00000000 --- a/Javadoc/com/comphenix/protocol/metrics/Updater.UpdateResult.html +++ /dev/null @@ -1,465 +0,0 @@ - - - - - -Updater.UpdateResult - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.metrics
-

Enum Updater.UpdateResult

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.io.Serializable, java.lang.Comparable<Updater.UpdateResult>
    -
    -
    -
    Enclosing class:
    -
    Updater
    -
    -
    -
    -
    public static enum Updater.UpdateResult
    -extends java.lang.Enum<Updater.UpdateResult>
    -
    Gives the dev the result of the update process. Can be obtained by called getResult().
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Enum Constant Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Enum Constants 
      Enum Constant and Description
      FAIL_BADSLUG -
      The slug provided by the plugin running the updater was invalid and doesn't exist on DBO.
      -
      FAIL_DBO -
      For some reason, the updater was unable to contact dev.bukkit.org to download the file.
      -
      FAIL_DOWNLOAD -
      The updater found an update, but was unable to download it.
      -
      FAIL_NOVERSION -
      When running the version check, the file on DBO did not contain the a version in the format 'vVersion' such as 'v1.0'.
      -
      NO_UPDATE -
      The updater did not find an update, and nothing was downloaded.
      -
      NOT_SUPPORTED -
      Updating SNAPSHOT versions are not supported.
      -
      SUCCESS -
      The updater found an update, and has readied it to be loaded the next time the server restarts/reloads.
      -
      UPDATE_AVAILABLE -
      The updater found an update, but because of the UpdateType being set to NO_DOWNLOAD, it wasn't downloaded.
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      static Updater.UpdateResultgetResult(int value) 
      intgetValue() 
      java.lang.StringtoString() 
      static Updater.UpdateResultvalueOf(java.lang.String name) -
      Returns the enum constant of this type with the specified name.
      -
      static Updater.UpdateResult[]values() -
      Returns an array containing the constants of this enum type, in -the order they are declared.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Enum

        -clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -getClass, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Enum Constant Detail

      - - - -
        -
      • -

        SUCCESS

        -
        public static final Updater.UpdateResult SUCCESS
        -
        The updater found an update, and has readied it to be loaded the next time the server restarts/reloads.
        -
      • -
      - - - -
        -
      • -

        NO_UPDATE

        -
        public static final Updater.UpdateResult NO_UPDATE
        -
        The updater did not find an update, and nothing was downloaded.
        -
      • -
      - - - -
        -
      • -

        FAIL_DOWNLOAD

        -
        public static final Updater.UpdateResult FAIL_DOWNLOAD
        -
        The updater found an update, but was unable to download it.
        -
      • -
      - - - -
        -
      • -

        FAIL_DBO

        -
        public static final Updater.UpdateResult FAIL_DBO
        -
        For some reason, the updater was unable to contact dev.bukkit.org to download the file.
        -
      • -
      - - - -
        -
      • -

        FAIL_NOVERSION

        -
        public static final Updater.UpdateResult FAIL_NOVERSION
        -
        When running the version check, the file on DBO did not contain the a version in the format 'vVersion' such as 'v1.0'.
        -
      • -
      - - - -
        -
      • -

        FAIL_BADSLUG

        -
        public static final Updater.UpdateResult FAIL_BADSLUG
        -
        The slug provided by the plugin running the updater was invalid and doesn't exist on DBO.
        -
      • -
      - - - -
        -
      • -

        UPDATE_AVAILABLE

        -
        public static final Updater.UpdateResult UPDATE_AVAILABLE
        -
        The updater found an update, but because of the UpdateType being set to NO_DOWNLOAD, it wasn't downloaded.
        -
      • -
      - - - -
        -
      • -

        NOT_SUPPORTED

        -
        public static final Updater.UpdateResult NOT_SUPPORTED
        -
        Updating SNAPSHOT versions are not supported. Please perform a manual upgrade.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        values

        -
        public static Updater.UpdateResult[] values()
        -
        Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate -over the constants as follows: -
        -for (Updater.UpdateResult c : Updater.UpdateResult.values())
        -    System.out.println(c);
        -
        -
        Returns:
        an array containing the constants of this enum type, in -the order they are declared
        -
      • -
      - - - -
        -
      • -

        valueOf

        -
        public static Updater.UpdateResult valueOf(java.lang.String name)
        -
        Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.)
        -
        Parameters:
        name - the name of the enum constant to be returned.
        -
        Returns:
        the enum constant with the specified name
        -
        Throws:
        -
        java.lang.IllegalArgumentException - if this enum type has no constant -with the specified name
        -
        java.lang.NullPointerException - if the argument is null
        -
      • -
      - - - -
        -
      • -

        getValue

        -
        public int getValue()
        -
      • -
      - - - - - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        -
        Overrides:
        -
        toString in class java.lang.Enum<Updater.UpdateResult>
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/metrics/Updater.UpdateType.html b/Javadoc/com/comphenix/protocol/metrics/Updater.UpdateType.html deleted file mode 100644 index b1385f51..00000000 --- a/Javadoc/com/comphenix/protocol/metrics/Updater.UpdateType.html +++ /dev/null @@ -1,373 +0,0 @@ - - - - - -Updater.UpdateType - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.metrics
-

Enum Updater.UpdateType

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.io.Serializable, java.lang.Comparable<Updater.UpdateType>
    -
    -
    -
    Enclosing class:
    -
    Updater
    -
    -
    -
    -
    public static enum Updater.UpdateType
    -extends java.lang.Enum<Updater.UpdateType>
    -
    Allows the dev to specify the type of update that will be run.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Enum Constant Summary

      - - - - - - - - - - - - - - -
      Enum Constants 
      Enum Constant and Description
      DEFAULT -
      Run a version check, and then if the file is out of date, download the newest version.
      -
      NO_DOWNLOAD -
      Get information about the version and the download size, but don't actually download anything.
      -
      NO_VERSION_CHECK -
      Don't run a version check, just find the latest update and download it.
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      static Updater.UpdateTypegetResult(int value) 
      intgetValue() 
      static Updater.UpdateTypevalueOf(java.lang.String name) -
      Returns the enum constant of this type with the specified name.
      -
      static Updater.UpdateType[]values() -
      Returns an array containing the constants of this enum type, in -the order they are declared.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Enum

        -clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -getClass, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Enum Constant Detail

      - - - -
        -
      • -

        DEFAULT

        -
        public static final Updater.UpdateType DEFAULT
        -
        Run a version check, and then if the file is out of date, download the newest version.
        -
      • -
      - - - -
        -
      • -

        NO_VERSION_CHECK

        -
        public static final Updater.UpdateType NO_VERSION_CHECK
        -
        Don't run a version check, just find the latest update and download it.
        -
      • -
      - - - -
        -
      • -

        NO_DOWNLOAD

        -
        public static final Updater.UpdateType NO_DOWNLOAD
        -
        Get information about the version and the download size, but don't actually download anything.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        values

        -
        public static Updater.UpdateType[] values()
        -
        Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate -over the constants as follows: -
        -for (Updater.UpdateType c : Updater.UpdateType.values())
        -    System.out.println(c);
        -
        -
        Returns:
        an array containing the constants of this enum type, in -the order they are declared
        -
      • -
      - - - -
        -
      • -

        valueOf

        -
        public static Updater.UpdateType valueOf(java.lang.String name)
        -
        Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.)
        -
        Parameters:
        name - the name of the enum constant to be returned.
        -
        Returns:
        the enum constant with the specified name
        -
        Throws:
        -
        java.lang.IllegalArgumentException - if this enum type has no constant -with the specified name
        -
        java.lang.NullPointerException - if the argument is null
        -
      • -
      - - - -
        -
      • -

        getValue

        -
        public int getValue()
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/metrics/Updater.html b/Javadoc/com/comphenix/protocol/metrics/Updater.html deleted file mode 100644 index feaeb902..00000000 --- a/Javadoc/com/comphenix/protocol/metrics/Updater.html +++ /dev/null @@ -1,379 +0,0 @@ - - - - - -Updater - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.metrics
-

Class Updater

-
-
- -
-
    -
  • -
    -
    -
    public class Updater
    -extends java.lang.Object
    -
    Check dev.bukkit.org to find updates for a given plugin, and download the updates if needed. -

    - VERY, VERY IMPORTANT: Because there are no standards for adding auto-update toggles in your plugin's config, this system provides NO CHECK WITH YOUR CONFIG to make sure the user has allowed auto-updating. -
    - It is a BUKKIT POLICY that you include a boolean value in your config that prevents the auto-updater from running AT ALL. -
    - If you fail to include this option in your config, your plugin will be REJECTED when you attempt to submit it to dev.bukkit.org. -

    - An example of a good configuration option would be something similar to 'auto-update: true' - if this value is set to false you may NOT run the auto-updater. -
    - If you are unsure about these rules, please read the plugin submission guidelines: http://goo.gl/8iU5l

    -
    Author:
    -
    H31IX
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Nested Class Summary

      - - - - - - - - - - - - - - -
      Nested Classes 
      Modifier and TypeClass and Description
      static class Updater.UpdateResult -
      Gives the dev the result of the update process.
      -
      static class Updater.UpdateType -
      Allows the dev to specify the type of update that will be run.
      -
      -
    • -
    - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      Updater(org.bukkit.plugin.Plugin plugin, - java.util.logging.Logger logger, - java.lang.String slug, - java.io.File file, - java.lang.String permission) -
      Initialize the updater
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      longgetFileSize() -
      Get the total bytes of the file (can only be used after running a version check or a normal run).
      -
      java.lang.StringgetLatestVersionString() -
      Get the version string latest file avaliable online.
      -
      Updater.UpdateResultgetResult() -
      Get the result of the update process.
      -
      booleanpluginFile(java.lang.String name) -
      Check if the name of a jar is one of the plugins currently installed, used for extracting the correct files out of a zip.
      -
      Updater.UpdateResultupdate(Updater.UpdateType type, - boolean announce) -
      Update the plugin.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Updater

        -
        public Updater(org.bukkit.plugin.Plugin plugin,
        -       java.util.logging.Logger logger,
        -       java.lang.String slug,
        -       java.io.File file,
        -       java.lang.String permission)
        -
        Initialize the updater
        -
        Parameters:
        plugin - The plugin that is checking for an update.
        slug - The dev.bukkit.org slug of the project (http://dev.bukkit.org/server-mods/SLUG_IS_HERE)
        file - The file that the plugin is running from, get this by doing this.getFile() from within your main class.
        permission - Permission needed to read the output of the update process.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        update

        -
        public Updater.UpdateResult update(Updater.UpdateType type,
        -                          boolean announce)
        -
        Update the plugin.
        -
        Parameters:
        type - Specify the type of update this will be. See Updater.UpdateType
        announce - True if the program should announce the progress of new updates in console
        -
        Returns:
        The result of the update process.
        -
      • -
      - - - - - - - -
        -
      • -

        getFileSize

        -
        public long getFileSize()
        -
        Get the total bytes of the file (can only be used after running a version check or a normal run).
        -
      • -
      - - - -
        -
      • -

        getLatestVersionString

        -
        public java.lang.String getLatestVersionString()
        -
        Get the version string latest file avaliable online.
        -
      • -
      - - - -
        -
      • -

        pluginFile

        -
        public boolean pluginFile(java.lang.String name)
        -
        Check if the name of a jar is one of the plugins currently installed, used for extracting the correct files out of a zip.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/metrics/class-use/Metrics.Graph.html b/Javadoc/com/comphenix/protocol/metrics/class-use/Metrics.Graph.html deleted file mode 100644 index 2ccaecdd..00000000 --- a/Javadoc/com/comphenix/protocol/metrics/class-use/Metrics.Graph.html +++ /dev/null @@ -1,173 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.metrics.Metrics.Graph - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.metrics.Metrics.Graph

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/metrics/class-use/Metrics.Plotter.html b/Javadoc/com/comphenix/protocol/metrics/class-use/Metrics.Plotter.html deleted file mode 100644 index 8a1e25eb..00000000 --- a/Javadoc/com/comphenix/protocol/metrics/class-use/Metrics.Plotter.html +++ /dev/null @@ -1,184 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.metrics.Metrics.Plotter - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.metrics.Metrics.Plotter

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/metrics/class-use/Metrics.html b/Javadoc/com/comphenix/protocol/metrics/class-use/Metrics.html deleted file mode 100644 index 1740182c..00000000 --- a/Javadoc/com/comphenix/protocol/metrics/class-use/Metrics.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.metrics.Metrics - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.metrics.Metrics

-
-
No usage of com.comphenix.protocol.metrics.Metrics
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/metrics/class-use/Statistics.html b/Javadoc/com/comphenix/protocol/metrics/class-use/Statistics.html deleted file mode 100644 index c9c8bfcb..00000000 --- a/Javadoc/com/comphenix/protocol/metrics/class-use/Statistics.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.metrics.Statistics - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.metrics.Statistics

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/metrics/class-use/Updater.UpdateResult.html b/Javadoc/com/comphenix/protocol/metrics/class-use/Updater.UpdateResult.html deleted file mode 100644 index 59f5af22..00000000 --- a/Javadoc/com/comphenix/protocol/metrics/class-use/Updater.UpdateResult.html +++ /dev/null @@ -1,181 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.metrics.Updater.UpdateResult - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.metrics.Updater.UpdateResult

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/metrics/class-use/Updater.UpdateType.html b/Javadoc/com/comphenix/protocol/metrics/class-use/Updater.UpdateType.html deleted file mode 100644 index a70606cc..00000000 --- a/Javadoc/com/comphenix/protocol/metrics/class-use/Updater.UpdateType.html +++ /dev/null @@ -1,184 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.metrics.Updater.UpdateType - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.metrics.Updater.UpdateType

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/metrics/class-use/Updater.html b/Javadoc/com/comphenix/protocol/metrics/class-use/Updater.html deleted file mode 100644 index 5d3dafa4..00000000 --- a/Javadoc/com/comphenix/protocol/metrics/class-use/Updater.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.metrics.Updater - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.metrics.Updater

-
-
No usage of com.comphenix.protocol.metrics.Updater
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/metrics/package-frame.html b/Javadoc/com/comphenix/protocol/metrics/package-frame.html deleted file mode 100644 index 2761de90..00000000 --- a/Javadoc/com/comphenix/protocol/metrics/package-frame.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - -com.comphenix.protocol.metrics - - - - -

com.comphenix.protocol.metrics

-
-

Classes

- -

Enums

- -
- - diff --git a/Javadoc/com/comphenix/protocol/metrics/package-summary.html b/Javadoc/com/comphenix/protocol/metrics/package-summary.html deleted file mode 100644 index a251bbff..00000000 --- a/Javadoc/com/comphenix/protocol/metrics/package-summary.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - -com.comphenix.protocol.metrics - - - - - - - -
- - - - - -
- - -
-

Package com.comphenix.protocol.metrics

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/metrics/package-tree.html b/Javadoc/com/comphenix/protocol/metrics/package-tree.html deleted file mode 100644 index fdedd933..00000000 --- a/Javadoc/com/comphenix/protocol/metrics/package-tree.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - - -com.comphenix.protocol.metrics Class Hierarchy - - - - - - - -
- - - - - -
- - -
-

Hierarchy For Package com.comphenix.protocol.metrics

-Package Hierarchies: - -
-
-

Class Hierarchy

- -

Enum Hierarchy

- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/metrics/package-use.html b/Javadoc/com/comphenix/protocol/metrics/package-use.html deleted file mode 100644 index 8ea9a7b2..00000000 --- a/Javadoc/com/comphenix/protocol/metrics/package-use.html +++ /dev/null @@ -1,186 +0,0 @@ - - - - - -Uses of Package com.comphenix.protocol.metrics - - - - - - - -
- - - - - -
- - -
-

Uses of Package
com.comphenix.protocol.metrics

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/package-frame.html b/Javadoc/com/comphenix/protocol/package-frame.html deleted file mode 100644 index e84f533e..00000000 --- a/Javadoc/com/comphenix/protocol/package-frame.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - - -com.comphenix.protocol - - - - -

com.comphenix.protocol

-
-

Interfaces

- -

Classes

- -
- - diff --git a/Javadoc/com/comphenix/protocol/package-summary.html b/Javadoc/com/comphenix/protocol/package-summary.html deleted file mode 100644 index a45cc643..00000000 --- a/Javadoc/com/comphenix/protocol/package-summary.html +++ /dev/null @@ -1,232 +0,0 @@ - - - - - -com.comphenix.protocol - - - - - - - -
- - - - - -
- - -
-

Package com.comphenix.protocol

-
-
Contains classes for retrieving the main ProtocolMananger object.
-
-

See: Description

-
-
- - - - -

Package com.comphenix.protocol Description

-
Contains classes for retrieving the main ProtocolMananger object. -

- This allows plugins to reliably and easily read and modify the packet stream of any CraftBukkit-derivative - (or specifically compatible) Minecraft-server. -

- This manager can be retrieved throught a static method in ProtocolLibrary: -

- ProtocolManager manager = ProtocolLibrary.getProtocolManager();
- 
- 
-
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/package-tree.html b/Javadoc/com/comphenix/protocol/package-tree.html deleted file mode 100644 index 73b43a74..00000000 --- a/Javadoc/com/comphenix/protocol/package-tree.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - -com.comphenix.protocol Class Hierarchy - - - - - - - -
- - - - - -
- - -
-

Hierarchy For Package com.comphenix.protocol

-Package Hierarchies: - -
-
-

Class Hierarchy

- -

Interface Hierarchy

- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/package-use.html b/Javadoc/com/comphenix/protocol/package-use.html deleted file mode 100644 index b7e4255b..00000000 --- a/Javadoc/com/comphenix/protocol/package-use.html +++ /dev/null @@ -1,232 +0,0 @@ - - - - - -Uses of Package com.comphenix.protocol - - - - - - - -
- - - - - -
- - -
-

Uses of Package
com.comphenix.protocol

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/EquivalentConverter.html b/Javadoc/com/comphenix/protocol/reflect/EquivalentConverter.html deleted file mode 100644 index 058c7f37..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/EquivalentConverter.html +++ /dev/null @@ -1,254 +0,0 @@ - - - - - -EquivalentConverter - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.reflect
-

Interface EquivalentConverter<TType>

-
-
-
-
    -
  • -
    Type Parameters:
    TType - The specific type.
    -
    -
    -
    public interface EquivalentConverter<TType>
    -
    Interface that converts generic objects into types and back.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      java.lang.ObjectgetGeneric(java.lang.Class<?> genericType, - TType specific) -
      Retrieve a copy of the generic type from a specific type.
      -
      TTypegetSpecific(java.lang.Object generic) -
      Retrieve a copy of the specific type using an instance of the generic type.
      -
      java.lang.Class<TType>getSpecificType() -
      Due to type erasion, we need to explicitly keep a reference to the specific type.
      -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getSpecific

        -
        TType getSpecific(java.lang.Object generic)
        -
        Retrieve a copy of the specific type using an instance of the generic type.
        -
        Parameters:
        generic - - the generic type.
        -
        Returns:
        The new specific type.
        -
      • -
      - - - - - -
        -
      • -

        getGeneric

        -
        java.lang.Object getGeneric(java.lang.Class<?> genericType,
        -                          TType specific)
        -
        Retrieve a copy of the generic type from a specific type.
        -
        Parameters:
        genericType - - class or super class of the generic type.
        specific - - the specific type we need to copy.
        -
        Returns:
        A copy of the specific type.
        -
      • -
      - - - -
        -
      • -

        getSpecificType

        -
        java.lang.Class<TType> getSpecificType()
        -
        Due to type erasion, we need to explicitly keep a reference to the specific type.
        -
        Returns:
        The specific type.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/FieldAccessException.html b/Javadoc/com/comphenix/protocol/reflect/FieldAccessException.html deleted file mode 100644 index 05c3006f..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/FieldAccessException.html +++ /dev/null @@ -1,326 +0,0 @@ - - - - - -FieldAccessException - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.reflect
-

Class FieldAccessException

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.io.Serializable
    -
    -
    -
    -
    public class FieldAccessException
    -extends java.lang.RuntimeException
    -
    Invoked when a field is inaccessible due to security limitations, or when it simply doesn't exist.
    -
    Author:
    -
    Kristian
    -
    See Also:
    Serialized Form
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      static FieldAccessExceptionfromFormat(java.lang.String message, - java.lang.Object... params) 
      -
        -
      • - - -

        Methods inherited from class java.lang.Throwable

        -addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        FieldAccessException

        -
        public FieldAccessException()
        -
      • -
      - - - -
        -
      • -

        FieldAccessException

        -
        public FieldAccessException(java.lang.String message,
        -                    java.lang.Throwable cause)
        -
      • -
      - - - -
        -
      • -

        FieldAccessException

        -
        public FieldAccessException(java.lang.String message)
        -
      • -
      - - - -
        -
      • -

        FieldAccessException

        -
        public FieldAccessException(java.lang.Throwable cause)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        fromFormat

        -
        public static FieldAccessException fromFormat(java.lang.String message,
        -                              java.lang.Object... params)
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/FieldUtils.html b/Javadoc/com/comphenix/protocol/reflect/FieldUtils.html deleted file mode 100644 index 309c718a..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/FieldUtils.html +++ /dev/null @@ -1,733 +0,0 @@ - - - - - -FieldUtils - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.reflect
-

Class FieldUtils

-
-
- -
-
    -
  • -
    -
    -
    public class FieldUtils
    -extends java.lang.Object
    -
    Utilities for working with fields by reflection. Adapted and refactored from - the dormant [reflect] Commons sandbox component. -

    - The ability is provided to break the scoping restrictions coded by the - programmer. This can allow fields to be changed that shouldn't be. This - facility should be used with care.

    -
    Since:
    -
    2.5
    -
    Version:
    -
    $Id: FieldUtils.java 1057009 2011-01-09 19:48:06Z niallp $
    -
    Author:
    -
    Apache Software Foundation, Matt Benson
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      FieldUtils() -
      FieldUtils instances should NOT be constructed in standard programming.
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      static java.lang.reflect.FieldgetField(java.lang.Class cls, - java.lang.String fieldName) -
      Gets an accessible Field by name respecting scope.
      -
      static java.lang.reflect.FieldgetField(java.lang.Class cls, - java.lang.String fieldName, - boolean forceAccess) -
      Gets an accessible Field by name breaking scope if - requested.
      -
      static java.lang.ObjectreadField(java.lang.reflect.Field field, - java.lang.Object target) -
      Read an accessible Field.
      -
      static java.lang.ObjectreadField(java.lang.reflect.Field field, - java.lang.Object target, - boolean forceAccess) -
      Read a Field.
      -
      static java.lang.ObjectreadField(java.lang.Object target, - java.lang.String fieldName) -
      Read the named public field.
      -
      static java.lang.ObjectreadField(java.lang.Object target, - java.lang.String fieldName, - boolean forceAccess) -
      Read the named field.
      -
      static java.lang.ObjectreadStaticField(java.lang.Class cls, - java.lang.String fieldName) -
      Read the named public static field.
      -
      static java.lang.ObjectreadStaticField(java.lang.Class cls, - java.lang.String fieldName, - boolean forceAccess) -
      Read the named static field.
      -
      static java.lang.ObjectreadStaticField(java.lang.reflect.Field field) -
      Read an accessible static Field.
      -
      static java.lang.ObjectreadStaticField(java.lang.reflect.Field field, - boolean forceAccess) -
      Read a static Field.
      -
      static voidwriteField(java.lang.reflect.Field field, - java.lang.Object target, - java.lang.Object value) -
      Write an accessible field.
      -
      static voidwriteField(java.lang.reflect.Field field, - java.lang.Object target, - java.lang.Object value, - boolean forceAccess) -
      Write a field.
      -
      static voidwriteField(java.lang.Object target, - java.lang.String fieldName, - java.lang.Object value) -
      Write a public field.
      -
      static voidwriteField(java.lang.Object target, - java.lang.String fieldName, - java.lang.Object value, - boolean forceAccess) -
      Write a field.
      -
      static voidwriteStaticField(java.lang.Class cls, - java.lang.String fieldName, - java.lang.Object value) -
      Write a named public static Field.
      -
      static voidwriteStaticField(java.lang.Class cls, - java.lang.String fieldName, - java.lang.Object value, - boolean forceAccess) -
      Write a named static Field.
      -
      static voidwriteStaticField(java.lang.reflect.Field field, - java.lang.Object value) -
      Write a public static Field.
      -
      static voidwriteStaticField(java.lang.reflect.Field field, - java.lang.Object value, - boolean forceAccess) -
      Write a static Field.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        FieldUtils

        -
        public FieldUtils()
        -
        FieldUtils instances should NOT be constructed in standard programming. -

        - This constructor is public to permit tools that require a JavaBean - instance to operate.

        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getField

        -
        public static java.lang.reflect.Field getField(java.lang.Class cls,
        -                               java.lang.String fieldName)
        -
        Gets an accessible Field by name respecting scope. - Superclasses/interfaces will be considered.
        -
        Parameters:
        cls - the class to reflect, must not be null
        fieldName - the field name to obtain
        -
        Returns:
        the Field object
        -
        Throws:
        -
        java.lang.IllegalArgumentException - if the class or field name is null
        -
      • -
      - - - -
        -
      • -

        getField

        -
        public static java.lang.reflect.Field getField(java.lang.Class cls,
        -                               java.lang.String fieldName,
        -                               boolean forceAccess)
        -
        Gets an accessible Field by name breaking scope if - requested. Superclasses/interfaces will be considered.
        -
        Parameters:
        cls - the class to reflect, must not be null
        fieldName - the field name to obtain
        forceAccess - whether to break scope restrictions using the - setAccessible method. False will - only match public fields.
        -
        Returns:
        the Field object
        -
        Throws:
        -
        java.lang.IllegalArgumentException - if the class or field name is null
        -
      • -
      - - - -
        -
      • -

        readStaticField

        -
        public static java.lang.Object readStaticField(java.lang.reflect.Field field)
        -                                        throws java.lang.IllegalAccessException
        -
        Read an accessible static Field.
        -
        Parameters:
        field - to read
        -
        Returns:
        the field value
        -
        Throws:
        -
        java.lang.IllegalArgumentException - if the field is null or not static
        -
        java.lang.IllegalAccessException - if the field is not accessible
        -
      • -
      - - - -
        -
      • -

        readStaticField

        -
        public static java.lang.Object readStaticField(java.lang.reflect.Field field,
        -                               boolean forceAccess)
        -                                        throws java.lang.IllegalAccessException
        -
        Read a static Field.
        -
        Parameters:
        field - to read
        forceAccess - whether to break scope restrictions using the - setAccessible method.
        -
        Returns:
        the field value
        -
        Throws:
        -
        java.lang.IllegalArgumentException - if the field is null or not static
        -
        java.lang.IllegalAccessException - if the field is not made accessible
        -
      • -
      - - - -
        -
      • -

        readStaticField

        -
        public static java.lang.Object readStaticField(java.lang.Class cls,
        -                               java.lang.String fieldName)
        -                                        throws java.lang.IllegalAccessException
        -
        Read the named public static field. Superclasses will be considered.
        -
        Parameters:
        cls - the class to reflect, must not be null
        fieldName - the field name to obtain
        -
        Returns:
        the value of the field
        -
        Throws:
        -
        java.lang.IllegalArgumentException - if the class or field name is null
        -
        java.lang.IllegalAccessException - if the field is not accessible
        -
      • -
      - - - -
        -
      • -

        readStaticField

        -
        public static java.lang.Object readStaticField(java.lang.Class cls,
        -                               java.lang.String fieldName,
        -                               boolean forceAccess)
        -                                        throws java.lang.IllegalAccessException
        -
        Read the named static field. Superclasses will be considered.
        -
        Parameters:
        cls - the class to reflect, must not be null
        fieldName - the field name to obtain
        forceAccess - whether to break scope restrictions using the - setAccessible method. False will - only match public fields.
        -
        Returns:
        the Field object
        -
        Throws:
        -
        java.lang.IllegalArgumentException - if the class or field name is null
        -
        java.lang.IllegalAccessException - if the field is not made accessible
        -
      • -
      - - - -
        -
      • -

        readField

        -
        public static java.lang.Object readField(java.lang.reflect.Field field,
        -                         java.lang.Object target)
        -                                  throws java.lang.IllegalAccessException
        -
        Read an accessible Field.
        -
        Parameters:
        field - the field to use
        target - the object to call on, may be null for static fields
        -
        Returns:
        the field value
        -
        Throws:
        -
        java.lang.IllegalArgumentException - if the field is null
        -
        java.lang.IllegalAccessException - if the field is not accessible
        -
      • -
      - - - -
        -
      • -

        readField

        -
        public static java.lang.Object readField(java.lang.reflect.Field field,
        -                         java.lang.Object target,
        -                         boolean forceAccess)
        -                                  throws java.lang.IllegalAccessException
        -
        Read a Field.
        -
        Parameters:
        field - the field to use
        target - the object to call on, may be null for static fields
        forceAccess - whether to break scope restrictions using the - setAccessible method.
        -
        Returns:
        the field value
        -
        Throws:
        -
        java.lang.IllegalArgumentException - if the field is null
        -
        java.lang.IllegalAccessException - if the field is not made accessible
        -
      • -
      - - - -
        -
      • -

        readField

        -
        public static java.lang.Object readField(java.lang.Object target,
        -                         java.lang.String fieldName)
        -                                  throws java.lang.IllegalAccessException
        -
        Read the named public field. Superclasses will be considered.
        -
        Parameters:
        target - the object to reflect, must not be null
        fieldName - the field name to obtain
        -
        Returns:
        the value of the field
        -
        Throws:
        -
        java.lang.IllegalArgumentException - if the class or field name is null
        -
        java.lang.IllegalAccessException - if the named field is not public
        -
      • -
      - - - -
        -
      • -

        readField

        -
        public static java.lang.Object readField(java.lang.Object target,
        -                         java.lang.String fieldName,
        -                         boolean forceAccess)
        -                                  throws java.lang.IllegalAccessException
        -
        Read the named field. Superclasses will be considered.
        -
        Parameters:
        target - the object to reflect, must not be null
        fieldName - the field name to obtain
        forceAccess - whether to break scope restrictions using the - setAccessible method. False will - only match public fields.
        -
        Returns:
        the field value
        -
        Throws:
        -
        java.lang.IllegalArgumentException - if the class or field name is null
        -
        java.lang.IllegalAccessException - if the named field is not made accessible
        -
      • -
      - - - -
        -
      • -

        writeStaticField

        -
        public static void writeStaticField(java.lang.reflect.Field field,
        -                    java.lang.Object value)
        -                             throws java.lang.IllegalAccessException
        -
        Write a public static Field.
        -
        Parameters:
        field - to write
        value - to set
        -
        Throws:
        -
        java.lang.IllegalArgumentException - if the field is null or not static
        -
        java.lang.IllegalAccessException - if the field is not public or is final
        -
      • -
      - - - -
        -
      • -

        writeStaticField

        -
        public static void writeStaticField(java.lang.reflect.Field field,
        -                    java.lang.Object value,
        -                    boolean forceAccess)
        -                             throws java.lang.IllegalAccessException
        -
        Write a static Field.
        -
        Parameters:
        field - to write
        value - to set
        forceAccess - whether to break scope restrictions using the - setAccessible method. False will - only match public fields.
        -
        Throws:
        -
        java.lang.IllegalArgumentException - if the field is null or not static
        -
        java.lang.IllegalAccessException - if the field is not made accessible or is - final
        -
      • -
      - - - -
        -
      • -

        writeStaticField

        -
        public static void writeStaticField(java.lang.Class cls,
        -                    java.lang.String fieldName,
        -                    java.lang.Object value)
        -                             throws java.lang.IllegalAccessException
        -
        Write a named public static Field. Superclasses will be considered.
        -
        Parameters:
        cls - Class on which the Field is to be found
        fieldName - to write
        value - to set
        -
        Throws:
        -
        java.lang.IllegalArgumentException - if the field cannot be located or is not - static
        -
        java.lang.IllegalAccessException - if the field is not public or is final
        -
      • -
      - - - -
        -
      • -

        writeStaticField

        -
        public static void writeStaticField(java.lang.Class cls,
        -                    java.lang.String fieldName,
        -                    java.lang.Object value,
        -                    boolean forceAccess)
        -                             throws java.lang.IllegalAccessException
        -
        Write a named static Field. Superclasses will be considered.
        -
        Parameters:
        cls - Class on which the Field is to be found
        fieldName - to write
        value - to set
        forceAccess - whether to break scope restrictions using the - setAccessible method. False will - only match public fields.
        -
        Throws:
        -
        java.lang.IllegalArgumentException - if the field cannot be located or is not - static
        -
        java.lang.IllegalAccessException - if the field is not made accessible or is - final
        -
      • -
      - - - -
        -
      • -

        writeField

        -
        public static void writeField(java.lang.reflect.Field field,
        -              java.lang.Object target,
        -              java.lang.Object value)
        -                       throws java.lang.IllegalAccessException
        -
        Write an accessible field.
        -
        Parameters:
        field - to write
        target - the object to call on, may be null for static fields
        value - to set
        -
        Throws:
        -
        java.lang.IllegalArgumentException - if the field is null
        -
        java.lang.IllegalAccessException - if the field is not accessible or is final
        -
      • -
      - - - -
        -
      • -

        writeField

        -
        public static void writeField(java.lang.reflect.Field field,
        -              java.lang.Object target,
        -              java.lang.Object value,
        -              boolean forceAccess)
        -                       throws java.lang.IllegalAccessException
        -
        Write a field.
        -
        Parameters:
        field - to write
        target - the object to call on, may be null for static fields
        value - to set
        forceAccess - whether to break scope restrictions using the - setAccessible method. False will - only match public fields.
        -
        Throws:
        -
        java.lang.IllegalArgumentException - if the field is null
        -
        java.lang.IllegalAccessException - if the field is not made accessible or is - final
        -
      • -
      - - - -
        -
      • -

        writeField

        -
        public static void writeField(java.lang.Object target,
        -              java.lang.String fieldName,
        -              java.lang.Object value)
        -                       throws java.lang.IllegalAccessException
        -
        Write a public field. Superclasses will be considered.
        -
        Parameters:
        target - the object to reflect, must not be null
        fieldName - the field name to obtain
        value - to set
        -
        Throws:
        -
        java.lang.IllegalArgumentException - if target or - fieldName is null
        -
        java.lang.IllegalAccessException - if the field is not accessible
        -
      • -
      - - - -
        -
      • -

        writeField

        -
        public static void writeField(java.lang.Object target,
        -              java.lang.String fieldName,
        -              java.lang.Object value,
        -              boolean forceAccess)
        -                       throws java.lang.IllegalAccessException
        -
        Write a field. Superclasses will be considered.
        -
        Parameters:
        target - the object to reflect, must not be null
        fieldName - the field name to obtain
        value - to set
        forceAccess - whether to break scope restrictions using the - setAccessible method. False will - only match public fields.
        -
        Throws:
        -
        java.lang.IllegalArgumentException - if target or - fieldName is null
        -
        java.lang.IllegalAccessException - if the field is not made accessible
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/FuzzyReflection.html b/Javadoc/com/comphenix/protocol/reflect/FuzzyReflection.html deleted file mode 100644 index f8ee8f00..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/FuzzyReflection.html +++ /dev/null @@ -1,799 +0,0 @@ - - - - - -FuzzyReflection - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.reflect
-

Class FuzzyReflection

-
-
- -
-
    -
  • -
    -
    -
    public class FuzzyReflection
    -extends java.lang.Object
    -
    Retrieves fields and methods by signature, not just name.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      FuzzyReflection(java.lang.Class<?> source, - boolean forceAccess) 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      static FuzzyReflectionfromClass(java.lang.Class<?> source) -
      Retrieves a fuzzy reflection instance from a given class.
      -
      static FuzzyReflectionfromClass(java.lang.Class<?> source, - boolean forceAccess) -
      Retrieves a fuzzy reflection instance from a given class.
      -
      static FuzzyReflectionfromObject(java.lang.Object reference) -
      Retrieves a fuzzy reflection instance from an object.
      -
      static FuzzyReflectionfromObject(java.lang.Object reference, - boolean forceAccess) -
      Retrieves a fuzzy reflection instance from an object.
      -
      java.lang.reflect.Constructor<?>getConstructor(AbstractFuzzyMatcher<MethodInfo> matcher) -
      Retrieve the first constructor that matches.
      -
      java.util.List<java.lang.reflect.Constructor<?>>getConstructorList(AbstractFuzzyMatcher<MethodInfo> matcher) -
      Retrieve a list of every constructor that matches the given matcher.
      -
      java.util.Set<java.lang.reflect.Constructor<?>>getConstructors() -
      Retrieves all private and public constructors in declared order (after JDK 1.5).
      -
      java.lang.reflect.FieldgetField(AbstractFuzzyMatcher<java.lang.reflect.Field> matcher) -
      Retrieve the first field that matches.
      -
      java.lang.reflect.FieldgetFieldByName(java.lang.String nameRegex) -
      Retrieves a field by name.
      -
      java.lang.reflect.FieldgetFieldByType(java.lang.String typeRegex) -
      Retrieves a field by type.
      -
      java.lang.reflect.FieldgetFieldByType(java.lang.String name, - java.lang.Class<?> type) -
      Retrieves the first field with a type equal to or more specific to the given type.
      -
      java.lang.reflect.FieldgetFieldByType(java.lang.String typeRegex, - java.util.Set<java.lang.Class> ignored) -
      Retrieves a field by type.
      -
      java.util.List<java.lang.reflect.Field>getFieldList(AbstractFuzzyMatcher<java.lang.reflect.Field> matcher) -
      Retrieve a list of every field that matches the given matcher.
      -
      java.util.List<java.lang.reflect.Field>getFieldListByType(java.lang.Class<?> type) -
      Retrieves every field with a type equal to or more specific to the given type.
      -
      java.util.Set<java.lang.reflect.Field>getFields() -
      Retrieves all private and public fields in declared order (after JDK 1.5).
      -
      java.util.Map<java.lang.String,java.lang.reflect.Method>getMappedMethods(java.util.List<java.lang.reflect.Method> methods) -
      Retrieve every method as a map over names.
      -
      java.lang.reflect.MethodgetMethod(AbstractFuzzyMatcher<MethodInfo> matcher) -
      Retrieve the first method that matches.
      -
      java.lang.reflect.MethodgetMethodByName(java.lang.String nameRegex) -
      Retrieves a method by looking at its name.
      -
      java.lang.reflect.MethodgetMethodByParameters(java.lang.String name, - java.lang.Class<?>... args) -
      Retrieves a method by looking at the parameter types only.
      -
      java.lang.reflect.MethodgetMethodByParameters(java.lang.String name, - java.lang.Class<?> returnType, - java.lang.Class<?>[] args) -
      Retrieves a method by looking at the parameter types and return type only.
      -
      java.lang.reflect.MethodgetMethodByParameters(java.lang.String name, - java.lang.String returnTypeRegex, - java.lang.String[] argsRegex) -
      Retrieves a method by looking at the parameter types and return type only.
      -
      java.util.List<java.lang.reflect.Method>getMethodList(AbstractFuzzyMatcher<MethodInfo> matcher) -
      Retrieve a list of every method that matches the given matcher.
      -
      java.util.List<java.lang.reflect.Method>getMethodListByParameters(java.lang.Class<?> returnType, - java.lang.Class<?>[] args) -
      Retrieves every method that has the given parameter types and return type.
      -
      java.util.Set<java.lang.reflect.Method>getMethods() -
      Retrieves all private and public methods in declared order (after JDK 1.5).
      -
      java.lang.Class<?>getSource() -
      Retrieves the underlying class.
      -
      booleanisForceAccess() -
      Retrieves whether or not not to override any scope restrictions.
      -
      voidsetForceAccess(boolean forceAccess) -
      Sets whether or not not to override any scope restrictions.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        FuzzyReflection

        -
        public FuzzyReflection(java.lang.Class<?> source,
        -               boolean forceAccess)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        fromClass

        -
        public static FuzzyReflection fromClass(java.lang.Class<?> source)
        -
        Retrieves a fuzzy reflection instance from a given class.
        -
        Parameters:
        source - - the class we'll use.
        -
        Returns:
        A fuzzy reflection instance.
        -
      • -
      - - - -
        -
      • -

        fromClass

        -
        public static FuzzyReflection fromClass(java.lang.Class<?> source,
        -                        boolean forceAccess)
        -
        Retrieves a fuzzy reflection instance from a given class.
        -
        Parameters:
        source - - the class we'll use.
        forceAccess - - whether or not to override scope restrictions.
        -
        Returns:
        A fuzzy reflection instance.
        -
      • -
      - - - -
        -
      • -

        fromObject

        -
        public static FuzzyReflection fromObject(java.lang.Object reference)
        -
        Retrieves a fuzzy reflection instance from an object.
        -
        Parameters:
        reference - - the object we'll use.
        -
        Returns:
        A fuzzy reflection instance that uses the class of the given object.
        -
      • -
      - - - -
        -
      • -

        fromObject

        -
        public static FuzzyReflection fromObject(java.lang.Object reference,
        -                         boolean forceAccess)
        -
        Retrieves a fuzzy reflection instance from an object.
        -
        Parameters:
        reference - - the object we'll use.
        forceAccess - - whether or not to override scope restrictions.
        -
        Returns:
        A fuzzy reflection instance that uses the class of the given object.
        -
      • -
      - - - -
        -
      • -

        getSource

        -
        public java.lang.Class<?> getSource()
        -
        Retrieves the underlying class.
        -
      • -
      - - - -
        -
      • -

        getMethod

        -
        public java.lang.reflect.Method getMethod(AbstractFuzzyMatcher<MethodInfo> matcher)
        -
        Retrieve the first method that matches. -

        - ForceAccess must be TRUE in order for this method to access private, protected and package level method.

        -
        Parameters:
        matcher - - the matcher to use.
        -
        Returns:
        The first method that satisfies the given matcher.
        -
        Throws:
        -
        java.lang.IllegalArgumentException - If the method cannot be found.
        -
      • -
      - - - -
        -
      • -

        getMethodList

        -
        public java.util.List<java.lang.reflect.Method> getMethodList(AbstractFuzzyMatcher<MethodInfo> matcher)
        -
        Retrieve a list of every method that matches the given matcher. -

        - ForceAccess must be TRUE in order for this method to access private, protected and package level methods.

        -
        Parameters:
        matcher - - the matcher to apply.
        -
        Returns:
        List of found methods.
        -
      • -
      - - - -
        -
      • -

        getMethodByName

        -
        public java.lang.reflect.Method getMethodByName(java.lang.String nameRegex)
        -
        Retrieves a method by looking at its name.
        -
        Parameters:
        nameRegex - - regular expression that will match method names.
        -
        Returns:
        The first method that satisfies the regular expression.
        -
        Throws:
        -
        java.lang.IllegalArgumentException - If the method cannot be found.
        -
      • -
      - - - -
        -
      • -

        getMethodByParameters

        -
        public java.lang.reflect.Method getMethodByParameters(java.lang.String name,
        -                                             java.lang.Class<?>... args)
        -
        Retrieves a method by looking at the parameter types only.
        -
        Parameters:
        name - - potential name of the method. Only used by the error mechanism.
        args - - parameter types of the method to find.
        -
        Returns:
        The first method that satisfies the parameter types.
        -
        Throws:
        -
        java.lang.IllegalArgumentException - If the method cannot be found.
        -
      • -
      - - - -
        -
      • -

        getMethodByParameters

        -
        public java.lang.reflect.Method getMethodByParameters(java.lang.String name,
        -                                             java.lang.Class<?> returnType,
        -                                             java.lang.Class<?>[] args)
        -
        Retrieves a method by looking at the parameter types and return type only.
        -
        Parameters:
        name - - potential name of the method. Only used by the error mechanism.
        returnType - - return type of the method to find.
        args - - parameter types of the method to find.
        -
        Returns:
        The first method that satisfies the parameter types.
        -
        Throws:
        -
        java.lang.IllegalArgumentException - If the method cannot be found.
        -
      • -
      - - - -
        -
      • -

        getMethodByParameters

        -
        public java.lang.reflect.Method getMethodByParameters(java.lang.String name,
        -                                             java.lang.String returnTypeRegex,
        -                                             java.lang.String[] argsRegex)
        -
        Retrieves a method by looking at the parameter types and return type only.
        -
        Parameters:
        name - - potential name of the method. Only used by the error mechanism.
        returnTypeRegex - - regular expression matching the return type of the method to find.
        argsRegex - - regular expressions of the matching parameter types.
        -
        Returns:
        The first method that satisfies the parameter types.
        -
        Throws:
        -
        java.lang.IllegalArgumentException - If the method cannot be found.
        -
      • -
      - - - -
        -
      • -

        getMethodListByParameters

        -
        public java.util.List<java.lang.reflect.Method> getMethodListByParameters(java.lang.Class<?> returnType,
        -                                                                 java.lang.Class<?>[] args)
        -
        Retrieves every method that has the given parameter types and return type.
        -
        Parameters:
        returnType - - return type of the method to find.
        args - - parameter types of the method to find.
        -
        Returns:
        Every method that satisfies the given constraints.
        -
      • -
      - - - -
        -
      • -

        getFieldByName

        -
        public java.lang.reflect.Field getFieldByName(java.lang.String nameRegex)
        -
        Retrieves a field by name.
        -
        Parameters:
        nameRegex - - regular expression that will match a field name.
        -
        Returns:
        The first field to match the given expression.
        -
        Throws:
        -
        java.lang.IllegalArgumentException - If the field cannot be found.
        -
      • -
      - - - -
        -
      • -

        getFieldByType

        -
        public java.lang.reflect.Field getFieldByType(java.lang.String name,
        -                                     java.lang.Class<?> type)
        -
        Retrieves the first field with a type equal to or more specific to the given type.
        -
        Parameters:
        name - - name the field probably is given. This will only be used in the error message.
        type - - type of the field to find.
        -
        Returns:
        The first field with a type that is an instance of the given type.
        -
      • -
      - - - -
        -
      • -

        getFieldListByType

        -
        public java.util.List<java.lang.reflect.Field> getFieldListByType(java.lang.Class<?> type)
        -
        Retrieves every field with a type equal to or more specific to the given type.
        -
        Parameters:
        type - - type of the fields to find.
        -
        Returns:
        Every field with a type that is an instance of the given type.
        -
      • -
      - - - -
        -
      • -

        getField

        -
        public java.lang.reflect.Field getField(AbstractFuzzyMatcher<java.lang.reflect.Field> matcher)
        -
        Retrieve the first field that matches. -

        - ForceAccess must be TRUE in order for this method to access private, protected and package level fields.

        -
        Parameters:
        matcher - - the matcher to use.
        -
        Returns:
        The first method that satisfies the given matcher.
        -
        Throws:
        -
        java.lang.IllegalArgumentException - If the method cannot be found.
        -
      • -
      - - - -
        -
      • -

        getFieldList

        -
        public java.util.List<java.lang.reflect.Field> getFieldList(AbstractFuzzyMatcher<java.lang.reflect.Field> matcher)
        -
        Retrieve a list of every field that matches the given matcher. -

        - ForceAccess must be TRUE in order for this method to access private, protected and package level fields.

        -
        Parameters:
        matcher - - the matcher to apply.
        -
        Returns:
        List of found fields.
        -
      • -
      - - - -
        -
      • -

        getFieldByType

        -
        public java.lang.reflect.Field getFieldByType(java.lang.String typeRegex)
        -
        Retrieves a field by type. -

        - Note that the type is matched using the full canonical representation, i.e.: -

          -
        • java.util.List
        • -
        • net.comphenix.xp.ExperienceMod
        • -
        -
        Parameters:
        typeRegex - - regular expression that will match the field type.
        -
        Returns:
        The first field with a type that matches the given regular expression.
        -
        Throws:
        -
        java.lang.IllegalArgumentException - If the field cannot be found.
        -
      • -
      - - - -
        -
      • -

        getFieldByType

        -
        public java.lang.reflect.Field getFieldByType(java.lang.String typeRegex,
        -                                     java.util.Set<java.lang.Class> ignored)
        -
        Retrieves a field by type. -

        - Note that the type is matched using the full canonical representation, i.e.: -

          -
        • java.util.List
        • -
        • net.comphenix.xp.ExperienceMod
        • -
        -
        Parameters:
        typeRegex - - regular expression that will match the field type.
        ignored - - types to ignore.
        -
        Returns:
        The first field with a type that matches the given regular expression.
        -
        Throws:
        -
        java.lang.IllegalArgumentException - If the field cannot be found.
        -
      • -
      - - - -
        -
      • -

        getConstructor

        -
        public java.lang.reflect.Constructor<?> getConstructor(AbstractFuzzyMatcher<MethodInfo> matcher)
        -
        Retrieve the first constructor that matches. -

        - ForceAccess must be TRUE in order for this method to access private, protected and package level constructors.

        -
        Parameters:
        matcher - - the matcher to use.
        -
        Returns:
        The first constructor that satisfies the given matcher.
        -
        Throws:
        -
        java.lang.IllegalArgumentException - If the constructor cannot be found.
        -
      • -
      - - - -
        -
      • -

        getMappedMethods

        -
        public java.util.Map<java.lang.String,java.lang.reflect.Method> getMappedMethods(java.util.List<java.lang.reflect.Method> methods)
        -
        Retrieve every method as a map over names. -

        - Note that overloaded methods will only occur once in the resulting map.

        -
        Parameters:
        methods - - every method.
        -
        Returns:
        A map over every given method.
        -
      • -
      - - - -
        -
      • -

        getConstructorList

        -
        public java.util.List<java.lang.reflect.Constructor<?>> getConstructorList(AbstractFuzzyMatcher<MethodInfo> matcher)
        -
        Retrieve a list of every constructor that matches the given matcher. -

        - ForceAccess must be TRUE in order for this method to access private, protected and package level constructors.

        -
        Parameters:
        matcher - - the matcher to apply.
        -
        Returns:
        List of found constructors.
        -
      • -
      - - - -
        -
      • -

        getFields

        -
        public java.util.Set<java.lang.reflect.Field> getFields()
        -
        Retrieves all private and public fields in declared order (after JDK 1.5). -

        - Private, protected and package fields are ignored if forceAccess is FALSE.

        -
        Returns:
        Every field.
        -
      • -
      - - - -
        -
      • -

        getMethods

        -
        public java.util.Set<java.lang.reflect.Method> getMethods()
        -
        Retrieves all private and public methods in declared order (after JDK 1.5). -

        - Private, protected and package methods are ignored if forceAccess is FALSE.

        -
        Returns:
        Every method.
        -
      • -
      - - - -
        -
      • -

        getConstructors

        -
        public java.util.Set<java.lang.reflect.Constructor<?>> getConstructors()
        -
        Retrieves all private and public constructors in declared order (after JDK 1.5). -

        - Private, protected and package constructors are ignored if forceAccess is FALSE.

        -
        Returns:
        Every constructor.
        -
      • -
      - - - -
        -
      • -

        isForceAccess

        -
        public boolean isForceAccess()
        -
        Retrieves whether or not not to override any scope restrictions.
        -
        Returns:
        TRUE if we override scope, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        setForceAccess

        -
        public void setForceAccess(boolean forceAccess)
        -
        Sets whether or not not to override any scope restrictions.
        -
        Parameters:
        forceAccess - - TRUE if we override scope, FALSE otherwise.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/IntEnum.html b/Javadoc/com/comphenix/protocol/reflect/IntEnum.html deleted file mode 100644 index 3f6cece8..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/IntEnum.html +++ /dev/null @@ -1,395 +0,0 @@ - - - - - -IntEnum - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.reflect
-

Class IntEnum

-
-
- -
-
    -
  • -
    -
    Direct Known Subclasses:
    -
    Packets.Client, Packets.Server
    -
    -
    -
    -
    public class IntEnum
    -extends java.lang.Object
    -
    Represents a traditional int field enum.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      protected com.google.common.collect.BiMap<java.lang.Integer,java.lang.String>members 
      -
    • -
    - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      IntEnum() -
      Registers every declared integer field.
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      java.lang.StringgetDeclaredName(java.lang.Integer id) -
      Retrieve the name of the member with the given id.
      -
      booleanhasMember(int id) -
      Determines whether or not the given member exists.
      -
      protected voidregisterAll() -
      Registers every public int field as a member.
      -
      protected voidregisterMember(int id, - java.lang.String name) -
      Registers a member.
      -
      java.lang.IntegervalueOf(java.lang.String name) -
      Retrieve the ID of the member with the given name.
      -
      java.util.Set<java.lang.Integer>values() -
      Retrieve the ID of every registered member.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        members

        -
        protected com.google.common.collect.BiMap<java.lang.Integer,java.lang.String> members
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        IntEnum

        -
        public IntEnum()
        -
        Registers every declared integer field.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        registerAll

        -
        protected void registerAll()
        -
        Registers every public int field as a member.
        -
      • -
      - - - -
        -
      • -

        registerMember

        -
        protected void registerMember(int id,
        -                  java.lang.String name)
        -
        Registers a member.
        -
        Parameters:
        id - - id of member.
        name - - name of member.
        -
      • -
      - - - -
        -
      • -

        hasMember

        -
        public boolean hasMember(int id)
        -
        Determines whether or not the given member exists.
        -
        Parameters:
        id - - the ID of the member to find.
        -
        Returns:
        TRUE if a member with the given ID exists, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        valueOf

        -
        public java.lang.Integer valueOf(java.lang.String name)
        -
        Retrieve the ID of the member with the given name.
        -
        Parameters:
        name - - name of member to retrieve.
        -
        Returns:
        ID of the member, or NULL if not found.
        -
      • -
      - - - -
        -
      • -

        getDeclaredName

        -
        public java.lang.String getDeclaredName(java.lang.Integer id)
        -
        Retrieve the name of the member with the given id.
        -
        Parameters:
        id - - id of the member to retrieve.
        -
        Returns:
        Declared name of the member, or NULL if not found.
        -
      • -
      - - - -
        -
      • -

        values

        -
        public java.util.Set<java.lang.Integer> values()
        -
        Retrieve the ID of every registered member.
        -
        Returns:
        Enumeration of every value.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/MethodInfo.html b/Javadoc/com/comphenix/protocol/reflect/MethodInfo.html deleted file mode 100644 index eb61bd4b..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/MethodInfo.html +++ /dev/null @@ -1,501 +0,0 @@ - - - - - -MethodInfo - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.reflect
-

Class MethodInfo

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.lang.reflect.GenericDeclaration, java.lang.reflect.Member
    -
    -
    -
    -
    public abstract class MethodInfo
    -extends java.lang.Object
    -implements java.lang.reflect.GenericDeclaration, java.lang.reflect.Member
    -
    Represents a method or a constructor.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      -
        -
      • - - -

        Fields inherited from interface java.lang.reflect.Member

        -DECLARED, PUBLIC
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      MethodInfo() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      static MethodInfofromConstructor(java.lang.reflect.Constructor<?> constructor) -
      Wraps a constructor as a method information object.
      -
      static java.util.List<MethodInfo>fromConstructors(java.util.Collection<java.lang.reflect.Constructor<?>> constructors) -
      Construct a list of method infos from a given collection of constructors.
      -
      static java.util.Collection<MethodInfo>fromConstructors(java.lang.reflect.Constructor<?>[] constructors) -
      Construct a list of method infos from a given array of constructors.
      -
      static MethodInfofromMethod(java.lang.reflect.Method method) -
      Wraps a method as a MethodInfo object.
      -
      static java.util.List<MethodInfo>fromMethods(java.util.Collection<java.lang.reflect.Method> methods) -
      Construct a list of method infos from a given collection of methods.
      -
      static java.util.Collection<MethodInfo>fromMethods(java.lang.reflect.Method[] methods) -
      Construct a list of method infos from a given array of methods.
      -
      abstract java.lang.Class<?>[]getExceptionTypes() -
      Returns an array of Class objects that represent the types of the exceptions declared to be thrown by the - underlying method or constructor represented by this MethodInfo object.
      -
      abstract java.lang.Class<?>[]getParameterTypes() -
      Returns an array of Class objects that represent the formal parameter types, in declaration order, - of the method or constructor represented by this MethodInfo object.
      -
      abstract java.lang.Class<?>getReturnType() -
      Returns a Class object that represents the formal return type of the method or constructor - represented by this MethodInfo object.
      -
      abstract booleanisConstructor() -
      Determine if this is a constructor or not.
      -
      abstract java.lang.StringtoGenericString() -
      Returns a string describing this method or constructor, including type parameters.
      -
      java.lang.StringtoString() -
      Returns a string describing this method or constructor
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
        -
      • - - -

        Methods inherited from interface java.lang.reflect.GenericDeclaration

        -getTypeParameters
      • -
      -
        -
      • - - -

        Methods inherited from interface java.lang.reflect.Member

        -getDeclaringClass, getModifiers, getName, isSynthetic
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        MethodInfo

        -
        public MethodInfo()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        fromMethod

        -
        public static MethodInfo fromMethod(java.lang.reflect.Method method)
        -
        Wraps a method as a MethodInfo object.
        -
        Parameters:
        method - - the method to wrap.
        -
        Returns:
        The wrapped method.
        -
      • -
      - - - -
        -
      • -

        fromMethods

        -
        public static java.util.Collection<MethodInfo> fromMethods(java.lang.reflect.Method[] methods)
        -
        Construct a list of method infos from a given array of methods.
        -
        Parameters:
        methods - - array of methods.
        -
        Returns:
        Method info list.
        -
      • -
      - - - -
        -
      • -

        fromMethods

        -
        public static java.util.List<MethodInfo> fromMethods(java.util.Collection<java.lang.reflect.Method> methods)
        -
        Construct a list of method infos from a given collection of methods.
        -
        Parameters:
        methods - - list of methods.
        -
        Returns:
        Method info list.
        -
      • -
      - - - -
        -
      • -

        fromConstructor

        -
        public static MethodInfo fromConstructor(java.lang.reflect.Constructor<?> constructor)
        -
        Wraps a constructor as a method information object.
        -
        Parameters:
        constructor - - the constructor to wrap.
        -
        Returns:
        A wrapped constructor.
        -
      • -
      - - - -
        -
      • -

        fromConstructors

        -
        public static java.util.Collection<MethodInfo> fromConstructors(java.lang.reflect.Constructor<?>[] constructors)
        -
        Construct a list of method infos from a given array of constructors.
        -
        Parameters:
        constructors - - array of constructors.
        -
        Returns:
        Method info list.
        -
      • -
      - - - -
        -
      • -

        fromConstructors

        -
        public static java.util.List<MethodInfo> fromConstructors(java.util.Collection<java.lang.reflect.Constructor<?>> constructors)
        -
        Construct a list of method infos from a given collection of constructors.
        -
        Parameters:
        constructors - - list of constructors.
        -
        Returns:
        Method info list.
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        Returns a string describing this method or constructor
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        Returns:
        A string representation of the object.
        See Also:
        Method#toString()} or {@link Constructor#toString()}
        -
      • -
      - - - -
        -
      • -

        toGenericString

        -
        public abstract java.lang.String toGenericString()
        -
        Returns a string describing this method or constructor, including type parameters.
        -
        Returns:
        A string describing this Method, include type parameters
        See Also:
        Method#toGenericString()} or {@link Constructor#toGenericString()}
        -
      • -
      - - - -
        -
      • -

        getExceptionTypes

        -
        public abstract java.lang.Class<?>[] getExceptionTypes()
        -
        Returns an array of Class objects that represent the types of the exceptions declared to be thrown by the - underlying method or constructor represented by this MethodInfo object.
        -
        Returns:
        The exception types declared as being thrown by the method or constructor this object represents.
        See Also:
        Method#getExceptionTypes()} or {@link Constructor#getExceptionTypes()}
        -
      • -
      - - - -
        -
      • -

        getReturnType

        -
        public abstract java.lang.Class<?> getReturnType()
        -
        Returns a Class object that represents the formal return type of the method or constructor - represented by this MethodInfo object. -

        - This is always Void for constructors.

        -
        Returns:
        The return value, or Void if a constructor.
        See Also:
        Method#getReturnType()}
        -
      • -
      - - - -
        -
      • -

        getParameterTypes

        -
        public abstract java.lang.Class<?>[] getParameterTypes()
        -
        Returns an array of Class objects that represent the formal parameter types, in declaration order, - of the method or constructor represented by this MethodInfo object.
        -
        Returns:
        The parameter types for the method or constructor this object represents.
        See Also:
        Method#getParameterTypes()} or {@link Constructor#getParameterTypes()}
        -
      • -
      - - - -
        -
      • -

        isConstructor

        -
        public abstract boolean isConstructor()
        -
        Determine if this is a constructor or not.
        -
        Returns:
        TRUE if this represents a constructor, FALSE otherwise.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/MethodUtils.html b/Javadoc/com/comphenix/protocol/reflect/MethodUtils.html deleted file mode 100644 index 9635cb26..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/MethodUtils.html +++ /dev/null @@ -1,980 +0,0 @@ - - - - - -MethodUtils - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.reflect
-

Class MethodUtils

-
-
- -
-
    -
  • -
    -
    -
    public class MethodUtils
    -extends java.lang.Object
    -

    Utility reflection methods focussed on methods in general rather than properties in particular.

    - -

    Known Limitations

    -

    Accessing Public Methods In A Default Access Superclass

    -

    There is an issue when invoking public methods contained in a default access superclass. - Reflection locates these methods fine and correctly assigns them as public. - However, an IllegalAccessException is thrown if the method is invoked.

    - -

    MethodUtils contains a workaround for this situation. - It will attempt to call setAccessible on this method. - If this call succeeds, then the method can be invoked as normal. - This call will only succeed when the application has sufficient security privilages. - If this call fails then a warning will be logged and the method may fail.

    -
    Author:
    -
    Craig R. McClanahan, Ralph Schaer, Chris Audley, Rey François, Gregor Raýman, Jan Sorensen, Robert Burrell Donkin
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      MethodUtils() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      static intclearCache() -
      Clear the method cache.
      -
      static java.lang.reflect.MethodgetAccessibleMethod(java.lang.Class clazz, - java.lang.reflect.Method method) -
      Return an accessible method (that is, one that can be invoked via - reflection) that implements the specified Method.
      -
      static java.lang.reflect.MethodgetAccessibleMethod(java.lang.Class clazz, - java.lang.String methodName, - java.lang.Class[] parameterTypes) -
      Return an accessible method (that is, one that can be invoked via - reflection) with given name and parameters.
      -
      static java.lang.reflect.MethodgetAccessibleMethod(java.lang.reflect.Method method) -
      Return an accessible method (that is, one that can be invoked via - reflection) that implements the specified Method.
      -
      static java.lang.reflect.MethodgetMatchingAccessibleMethod(java.lang.Class clazz, - java.lang.String methodName, - java.lang.Class[] parameterTypes) -
      Find an accessible method that matches the given name and has compatible parameters.
      -
      static java.lang.ClassgetPrimitiveType(java.lang.Class wrapperType) -
      Gets the class for the primitive type corresponding to the primitive wrapper class given.
      -
      static java.lang.ClassgetPrimitiveWrapper(java.lang.Class primitiveType) -
      Gets the wrapper object class for the given primitive type class.
      -
      static java.lang.ObjectinvokeExactMethod(java.lang.Object object, - java.lang.String methodName, - java.lang.Object arg) -
      Invoke a method whose parameter type matches exactly the object - type.
      -
      static java.lang.ObjectinvokeExactMethod(java.lang.Object object, - java.lang.String methodName, - java.lang.Object[] args) -
      Invoke a method whose parameter types match exactly the object - types.
      -
      static java.lang.ObjectinvokeExactMethod(java.lang.Object object, - java.lang.String methodName, - java.lang.Object[] args, - java.lang.Class[] parameterTypes) -
      Invoke a method whose parameter types match exactly the parameter - types given.
      -
      static java.lang.ObjectinvokeExactStaticMethod(java.lang.Class objectClass, - java.lang.String methodName, - java.lang.Object arg) -
      Invoke a static method whose parameter type matches exactly the object - type.
      -
      static java.lang.ObjectinvokeExactStaticMethod(java.lang.Class objectClass, - java.lang.String methodName, - java.lang.Object[] args) -
      Invoke a static method whose parameter types match exactly the object - types.
      -
      static java.lang.ObjectinvokeExactStaticMethod(java.lang.Class objectClass, - java.lang.String methodName, - java.lang.Object[] args, - java.lang.Class[] parameterTypes) -
      Invoke a static method whose parameter types match exactly the parameter - types given.
      -
      static java.lang.ObjectinvokeMethod(java.lang.Object object, - java.lang.String methodName, - java.lang.Object arg) -
      Invoke a named method whose parameter type matches the object type.
      -
      static java.lang.ObjectinvokeMethod(java.lang.Object object, - java.lang.String methodName, - java.lang.Object[] args) -
      Invoke a named method whose parameter type matches the object type.
      -
      static java.lang.ObjectinvokeMethod(java.lang.Object object, - java.lang.String methodName, - java.lang.Object[] args, - java.lang.Class[] parameterTypes) -
      Invoke a named method whose parameter type matches the object type.
      -
      static java.lang.ObjectinvokeStaticMethod(java.lang.Class objectClass, - java.lang.String methodName, - java.lang.Object arg) -
      Invoke a named static method whose parameter type matches the object type.
      -
      static java.lang.ObjectinvokeStaticMethod(java.lang.Class objectClass, - java.lang.String methodName, - java.lang.Object[] args) -
      Invoke a named static method whose parameter type matches the object type.
      -
      static java.lang.ObjectinvokeStaticMethod(java.lang.Class objectClass, - java.lang.String methodName, - java.lang.Object[] args, - java.lang.Class[] parameterTypes) -
      Invoke a named static method whose parameter type matches the object type.
      -
      static booleanisAssignmentCompatible(java.lang.Class parameterType, - java.lang.Class parameterization) -
      Determine whether a type can be used as a parameter in a method invocation.
      -
      static voidsetCacheMethods(boolean cacheMethods) -
      Set whether methods should be cached for greater performance or not, - default is true.
      -
      static java.lang.ClasstoNonPrimitiveClass(java.lang.Class clazz) -
      Find a non primitive representation for given primitive class.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        MethodUtils

        -
        public MethodUtils()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        setCacheMethods

        -
        public static void setCacheMethods(boolean cacheMethods)
        -
        Set whether methods should be cached for greater performance or not, - default is true.
        -
        Parameters:
        cacheMethods - true if methods should be - cached for greater performance, otherwise false
        Since:
        -
        1.8.0
        -
      • -
      - - - -
        -
      • -

        clearCache

        -
        public static int clearCache()
        -
        Clear the method cache.
        -
        Returns:
        the number of cached methods cleared
        Since:
        -
        1.8.0
        -
      • -
      - - - -
        -
      • -

        invokeMethod

        -
        public static java.lang.Object invokeMethod(java.lang.Object object,
        -                            java.lang.String methodName,
        -                            java.lang.Object arg)
        -                                     throws java.lang.NoSuchMethodException,
        -                                            java.lang.IllegalAccessException,
        -                                            java.lang.reflect.InvocationTargetException
        -

        Invoke a named method whose parameter type matches the object type.

        - -

        The behaviour of this method is less deterministic - than invokeExactMethod(). - It loops through all methods with names that match - and then executes the first it finds with compatable parameters.

        - -

        This method supports calls to methods taking primitive parameters - via passing in wrapping classes. So, for example, a Boolean class - would match a boolean primitive.

        - -

        This is a convenient wrapper for - invokeMethod(Object object,String methodName,Object [] args). -

        -
        Parameters:
        object - invoke method on this object
        methodName - get method with this name
        arg - use this argument
        -
        Returns:
        The value returned by the invoked method
        -
        Throws:
        -
        java.lang.NoSuchMethodException - if there is no such accessible method
        -
        java.lang.reflect.InvocationTargetException - wraps an exception thrown by the - method invoked
        -
        java.lang.IllegalAccessException - if the requested method is not accessible - via reflection
        -
      • -
      - - - -
        -
      • -

        invokeMethod

        -
        public static java.lang.Object invokeMethod(java.lang.Object object,
        -                            java.lang.String methodName,
        -                            java.lang.Object[] args)
        -                                     throws java.lang.NoSuchMethodException,
        -                                            java.lang.IllegalAccessException,
        -                                            java.lang.reflect.InvocationTargetException
        -

        Invoke a named method whose parameter type matches the object type.

        - -

        The behaviour of this method is less deterministic - than invokeExactMethod(Object object,String methodName,Object [] args). - It loops through all methods with names that match - and then executes the first it finds with compatable parameters.

        - -

        This method supports calls to methods taking primitive parameters - via passing in wrapping classes. So, for example, a Boolean class - would match a boolean primitive.

        - -

        This is a convenient wrapper for - invokeMethod(Object object,String methodName,Object [] args,Class[] parameterTypes). -

        -
        Parameters:
        object - invoke method on this object
        methodName - get method with this name
        args - use these arguments - treat null as empty array
        -
        Returns:
        The value returned by the invoked method
        -
        Throws:
        -
        java.lang.NoSuchMethodException - if there is no such accessible method
        -
        java.lang.reflect.InvocationTargetException - wraps an exception thrown by the - method invoked
        -
        java.lang.IllegalAccessException - if the requested method is not accessible - via reflection
        -
      • -
      - - - -
        -
      • -

        invokeMethod

        -
        public static java.lang.Object invokeMethod(java.lang.Object object,
        -                            java.lang.String methodName,
        -                            java.lang.Object[] args,
        -                            java.lang.Class[] parameterTypes)
        -                                     throws java.lang.NoSuchMethodException,
        -                                            java.lang.IllegalAccessException,
        -                                            java.lang.reflect.InvocationTargetException
        -

        Invoke a named method whose parameter type matches the object type.

        - -

        The behaviour of this method is less deterministic - than invokeExactMethod(Object object,String methodName,Object [] args,Class[] parameterTypes). - It loops through all methods with names that match - and then executes the first it finds with compatable parameters.

        - -

        This method supports calls to methods taking primitive parameters - via passing in wrapping classes. So, for example, a Boolean class - would match a boolean primitive.

        -
        Parameters:
        object - invoke method on this object
        methodName - get method with this name
        args - use these arguments - treat null as empty array
        parameterTypes - match these parameters - treat null as empty array
        -
        Returns:
        The value returned by the invoked method
        -
        Throws:
        -
        java.lang.NoSuchMethodException - if there is no such accessible method
        -
        java.lang.reflect.InvocationTargetException - wraps an exception thrown by the - method invoked
        -
        java.lang.IllegalAccessException - if the requested method is not accessible - via reflection
        -
      • -
      - - - -
        -
      • -

        invokeExactMethod

        -
        public static java.lang.Object invokeExactMethod(java.lang.Object object,
        -                                 java.lang.String methodName,
        -                                 java.lang.Object arg)
        -                                          throws java.lang.NoSuchMethodException,
        -                                                 java.lang.IllegalAccessException,
        -                                                 java.lang.reflect.InvocationTargetException
        -

        Invoke a method whose parameter type matches exactly the object - type.

        - -

        This is a convenient wrapper for - invokeExactMethod(Object object,String methodName,Object [] args). -

        -
        Parameters:
        object - invoke method on this object
        methodName - get method with this name
        arg - use this argument
        -
        Returns:
        The value returned by the invoked method
        -
        Throws:
        -
        java.lang.NoSuchMethodException - if there is no such accessible method
        -
        java.lang.reflect.InvocationTargetException - wraps an exception thrown by the - method invoked
        -
        java.lang.IllegalAccessException - if the requested method is not accessible - via reflection
        -
      • -
      - - - -
        -
      • -

        invokeExactMethod

        -
        public static java.lang.Object invokeExactMethod(java.lang.Object object,
        -                                 java.lang.String methodName,
        -                                 java.lang.Object[] args)
        -                                          throws java.lang.NoSuchMethodException,
        -                                                 java.lang.IllegalAccessException,
        -                                                 java.lang.reflect.InvocationTargetException
        -

        Invoke a method whose parameter types match exactly the object - types.

        - -

        This uses reflection to invoke the method obtained from a call to - getAccessibleMethod().

        -
        Parameters:
        object - invoke method on this object
        methodName - get method with this name
        args - use these arguments - treat null as empty array
        -
        Returns:
        The value returned by the invoked method
        -
        Throws:
        -
        java.lang.NoSuchMethodException - if there is no such accessible method
        -
        java.lang.reflect.InvocationTargetException - wraps an exception thrown by the - method invoked
        -
        java.lang.IllegalAccessException - if the requested method is not accessible - via reflection
        -
      • -
      - - - -
        -
      • -

        invokeExactMethod

        -
        public static java.lang.Object invokeExactMethod(java.lang.Object object,
        -                                 java.lang.String methodName,
        -                                 java.lang.Object[] args,
        -                                 java.lang.Class[] parameterTypes)
        -                                          throws java.lang.NoSuchMethodException,
        -                                                 java.lang.IllegalAccessException,
        -                                                 java.lang.reflect.InvocationTargetException
        -

        Invoke a method whose parameter types match exactly the parameter - types given.

        - -

        This uses reflection to invoke the method obtained from a call to - getAccessibleMethod().

        -
        Parameters:
        object - invoke method on this object
        methodName - get method with this name
        args - use these arguments - treat null as empty array
        parameterTypes - match these parameters - treat null as empty array
        -
        Returns:
        The value returned by the invoked method
        -
        Throws:
        -
        java.lang.NoSuchMethodException - if there is no such accessible method
        -
        java.lang.reflect.InvocationTargetException - wraps an exception thrown by the - method invoked
        -
        java.lang.IllegalAccessException - if the requested method is not accessible - via reflection
        -
      • -
      - - - -
        -
      • -

        invokeExactStaticMethod

        -
        public static java.lang.Object invokeExactStaticMethod(java.lang.Class objectClass,
        -                                       java.lang.String methodName,
        -                                       java.lang.Object[] args,
        -                                       java.lang.Class[] parameterTypes)
        -                                                throws java.lang.NoSuchMethodException,
        -                                                       java.lang.IllegalAccessException,
        -                                                       java.lang.reflect.InvocationTargetException
        -

        Invoke a static method whose parameter types match exactly the parameter - types given.

        - -

        This uses reflection to invoke the method obtained from a call to - getAccessibleMethod(Class, String, Class[]).

        -
        Parameters:
        objectClass - invoke static method on this class
        methodName - get method with this name
        args - use these arguments - treat null as empty array
        parameterTypes - match these parameters - treat null as empty array
        -
        Returns:
        The value returned by the invoked method
        -
        Throws:
        -
        java.lang.NoSuchMethodException - if there is no such accessible method
        -
        java.lang.reflect.InvocationTargetException - wraps an exception thrown by the - method invoked
        -
        java.lang.IllegalAccessException - if the requested method is not accessible - via reflection
        Since:
        -
        1.8.0
        -
      • -
      - - - -
        -
      • -

        invokeStaticMethod

        -
        public static java.lang.Object invokeStaticMethod(java.lang.Class objectClass,
        -                                  java.lang.String methodName,
        -                                  java.lang.Object arg)
        -                                           throws java.lang.NoSuchMethodException,
        -                                                  java.lang.IllegalAccessException,
        -                                                  java.lang.reflect.InvocationTargetException
        -

        Invoke a named static method whose parameter type matches the object type.

        - -

        The behaviour of this method is less deterministic - than invokeExactMethod(Object, String, Object[], Class[]). - It loops through all methods with names that match - and then executes the first it finds with compatable parameters.

        - -

        This method supports calls to methods taking primitive parameters - via passing in wrapping classes. So, for example, a Boolean class - would match a boolean primitive.

        - -

        This is a convenient wrapper for - invokeStaticMethod(Class objectClass,String methodName,Object [] args). -

        -
        Parameters:
        objectClass - invoke static method on this class
        methodName - get method with this name
        arg - use this argument
        -
        Returns:
        The value returned by the invoked method
        -
        Throws:
        -
        java.lang.NoSuchMethodException - if there is no such accessible method
        -
        java.lang.reflect.InvocationTargetException - wraps an exception thrown by the - method invoked
        -
        java.lang.IllegalAccessException - if the requested method is not accessible - via reflection
        Since:
        -
        1.8.0
        -
      • -
      - - - -
        -
      • -

        invokeStaticMethod

        -
        public static java.lang.Object invokeStaticMethod(java.lang.Class objectClass,
        -                                  java.lang.String methodName,
        -                                  java.lang.Object[] args)
        -                                           throws java.lang.NoSuchMethodException,
        -                                                  java.lang.IllegalAccessException,
        -                                                  java.lang.reflect.InvocationTargetException
        -

        Invoke a named static method whose parameter type matches the object type.

        - -

        The behaviour of this method is less deterministic - than invokeExactMethod(Object object,String methodName,Object [] args). - It loops through all methods with names that match - and then executes the first it finds with compatable parameters.

        - -

        This method supports calls to methods taking primitive parameters - via passing in wrapping classes. So, for example, a Boolean class - would match a boolean primitive.

        - -

        This is a convenient wrapper for - invokeStaticMethod(Class objectClass,String methodName,Object [] args,Class[] parameterTypes). -

        -
        Parameters:
        objectClass - invoke static method on this class
        methodName - get method with this name
        args - use these arguments - treat null as empty array
        -
        Returns:
        The value returned by the invoked method
        -
        Throws:
        -
        java.lang.NoSuchMethodException - if there is no such accessible method
        -
        java.lang.reflect.InvocationTargetException - wraps an exception thrown by the - method invoked
        -
        java.lang.IllegalAccessException - if the requested method is not accessible - via reflection
        Since:
        -
        1.8.0
        -
      • -
      - - - -
        -
      • -

        invokeStaticMethod

        -
        public static java.lang.Object invokeStaticMethod(java.lang.Class objectClass,
        -                                  java.lang.String methodName,
        -                                  java.lang.Object[] args,
        -                                  java.lang.Class[] parameterTypes)
        -                                           throws java.lang.NoSuchMethodException,
        -                                                  java.lang.IllegalAccessException,
        -                                                  java.lang.reflect.InvocationTargetException
        -

        Invoke a named static method whose parameter type matches the object type.

        - -

        The behaviour of this method is less deterministic - than invokeExactStaticMethod(Class objectClass,String methodName,Object [] args,Class[] parameterTypes). - It loops through all methods with names that match - and then executes the first it finds with compatable parameters.

        - -

        This method supports calls to methods taking primitive parameters - via passing in wrapping classes. So, for example, a Boolean class - would match a boolean primitive.

        -
        Parameters:
        objectClass - invoke static method on this class
        methodName - get method with this name
        args - use these arguments - treat null as empty array
        parameterTypes - match these parameters - treat null as empty array
        -
        Returns:
        The value returned by the invoked method
        -
        Throws:
        -
        java.lang.NoSuchMethodException - if there is no such accessible method
        -
        java.lang.reflect.InvocationTargetException - wraps an exception thrown by the - method invoked
        -
        java.lang.IllegalAccessException - if the requested method is not accessible - via reflection
        Since:
        -
        1.8.0
        -
      • -
      - - - -
        -
      • -

        invokeExactStaticMethod

        -
        public static java.lang.Object invokeExactStaticMethod(java.lang.Class objectClass,
        -                                       java.lang.String methodName,
        -                                       java.lang.Object arg)
        -                                                throws java.lang.NoSuchMethodException,
        -                                                       java.lang.IllegalAccessException,
        -                                                       java.lang.reflect.InvocationTargetException
        -

        Invoke a static method whose parameter type matches exactly the object - type.

        - -

        This is a convenient wrapper for - invokeExactStaticMethod(Class objectClass,String methodName,Object [] args). -

        -
        Parameters:
        objectClass - invoke static method on this class
        methodName - get method with this name
        arg - use this argument
        -
        Returns:
        The value returned by the invoked method
        -
        Throws:
        -
        java.lang.NoSuchMethodException - if there is no such accessible method
        -
        java.lang.reflect.InvocationTargetException - wraps an exception thrown by the - method invoked
        -
        java.lang.IllegalAccessException - if the requested method is not accessible - via reflection
        Since:
        -
        1.8.0
        -
      • -
      - - - -
        -
      • -

        invokeExactStaticMethod

        -
        public static java.lang.Object invokeExactStaticMethod(java.lang.Class objectClass,
        -                                       java.lang.String methodName,
        -                                       java.lang.Object[] args)
        -                                                throws java.lang.NoSuchMethodException,
        -                                                       java.lang.IllegalAccessException,
        -                                                       java.lang.reflect.InvocationTargetException
        -

        Invoke a static method whose parameter types match exactly the object - types.

        - -

        This uses reflection to invoke the method obtained from a call to - getAccessibleMethod(Class, String, Class[]).

        -
        Parameters:
        objectClass - invoke static method on this class
        methodName - get method with this name
        args - use these arguments - treat null as empty array
        -
        Returns:
        The value returned by the invoked method
        -
        Throws:
        -
        java.lang.NoSuchMethodException - if there is no such accessible method
        -
        java.lang.reflect.InvocationTargetException - wraps an exception thrown by the - method invoked
        -
        java.lang.IllegalAccessException - if the requested method is not accessible - via reflection
        Since:
        -
        1.8.0
        -
      • -
      - - - -
        -
      • -

        getAccessibleMethod

        -
        public static java.lang.reflect.Method getAccessibleMethod(java.lang.Class clazz,
        -                                           java.lang.String methodName,
        -                                           java.lang.Class[] parameterTypes)
        -

        Return an accessible method (that is, one that can be invoked via - reflection) with given name and parameters. If no such method - can be found, return null. - This is just a convenient wrapper for - getAccessibleMethod(Method method).

        -
        Parameters:
        clazz - get method from this class
        methodName - get method with this name
        parameterTypes - with these parameters types
        -
        Returns:
        The accessible method
        -
      • -
      - - - -
        -
      • -

        getAccessibleMethod

        -
        public static java.lang.reflect.Method getAccessibleMethod(java.lang.reflect.Method method)
        -

        Return an accessible method (that is, one that can be invoked via - reflection) that implements the specified Method. If no such method - can be found, return null.

        -
        Parameters:
        method - The method that we wish to call
        -
        Returns:
        The accessible method
        -
      • -
      - - - -
        -
      • -

        getAccessibleMethod

        -
        public static java.lang.reflect.Method getAccessibleMethod(java.lang.Class clazz,
        -                                           java.lang.reflect.Method method)
        -

        Return an accessible method (that is, one that can be invoked via - reflection) that implements the specified Method. If no such method - can be found, return null.

        -
        Parameters:
        clazz - The class of the object
        method - The method that we wish to call
        -
        Returns:
        The accessible method
        Since:
        -
        1.8.0
        -
      • -
      - - - -
        -
      • -

        getMatchingAccessibleMethod

        -
        public static java.lang.reflect.Method getMatchingAccessibleMethod(java.lang.Class clazz,
        -                                                   java.lang.String methodName,
        -                                                   java.lang.Class[] parameterTypes)
        -

        Find an accessible method that matches the given name and has compatible parameters. - Compatible parameters mean that every method parameter is assignable from - the given parameters. - In other words, it finds a method with the given name - that will take the parameters given.

        - -

        This method is slightly undeterminstic since it loops - through methods names and return the first matching method.

        - -

        This method is used by - invokeMethod(Object object,String methodName,Object [] args,Class[] parameterTypes). - -

        This method can match primitive parameter by passing in wrapper classes. - For example, a Boolean will match a primitive boolean - parameter.

        -
        Parameters:
        clazz - find method in this class
        methodName - find method with this name
        parameterTypes - find method with compatible parameters
        -
        Returns:
        The accessible method
        -
      • -
      - - - -
        -
      • -

        isAssignmentCompatible

        -
        public static final boolean isAssignmentCompatible(java.lang.Class parameterType,
        -                             java.lang.Class parameterization)
        -

        Determine whether a type can be used as a parameter in a method invocation. - This method handles primitive conversions correctly.

        - -

        In order words, it will match a Boolean to a boolean, - a Long to a long, - a Float to a float, - a Integer to a int, - and a Double to a double. - Now logic widening matches are allowed. - For example, a Long will not match a int.

        -
        Parameters:
        parameterType - the type of parameter accepted by the method
        parameterization - the type of parameter being tested
        -
        Returns:
        true if the assignement is compatible.
        -
      • -
      - - - -
        -
      • -

        getPrimitiveWrapper

        -
        public static java.lang.Class getPrimitiveWrapper(java.lang.Class primitiveType)
        -
        Gets the wrapper object class for the given primitive type class. - For example, passing boolean.class returns Boolean.class
        -
        Parameters:
        primitiveType - the primitive type class for which a match is to be found
        -
        Returns:
        the wrapper type associated with the given primitive - or null if no match is found
        -
      • -
      - - - -
        -
      • -

        getPrimitiveType

        -
        public static java.lang.Class getPrimitiveType(java.lang.Class wrapperType)
        -
        Gets the class for the primitive type corresponding to the primitive wrapper class given. - For example, an instance of Boolean.class returns a boolean.class.
        -
        Parameters:
        wrapperType - the
        -
        Returns:
        the primitive type class corresponding to the given wrapper class, - null if no match is found
        -
      • -
      - - - -
        -
      • -

        toNonPrimitiveClass

        -
        public static java.lang.Class toNonPrimitiveClass(java.lang.Class clazz)
        -
        Find a non primitive representation for given primitive class.
        -
        Parameters:
        clazz - the class to find a representation for, not null
        -
        Returns:
        the original class if it not a primitive. Otherwise the wrapper class. Not null
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/ObjectWriter.html b/Javadoc/com/comphenix/protocol/reflect/ObjectWriter.html deleted file mode 100644 index f74fca52..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/ObjectWriter.html +++ /dev/null @@ -1,290 +0,0 @@ - - - - - -ObjectWriter - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.reflect
-

Class ObjectWriter

-
-
- -
-
    -
  • -
    -
    -
    public class ObjectWriter
    -extends java.lang.Object
    -
    Can copy an object field by field.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      ObjectWriter() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      voidcopyTo(java.lang.Object source, - java.lang.Object destination, - java.lang.Class<?> commonType) -
      Copy every field in object A to object B.
      -
      protected voidtransformField(StructureModifier<java.lang.Object> modifierSource, - StructureModifier<java.lang.Object> modifierDest, - int fieldIndex) -
      Called for every non-static field that will be copied.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ObjectWriter

        -
        public ObjectWriter()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        copyTo

        -
        public void copyTo(java.lang.Object source,
        -          java.lang.Object destination,
        -          java.lang.Class<?> commonType)
        -
        Copy every field in object A to object B. Each value is copied directly, and is not cloned. -

        - The two objects must have the same number of fields of the same type.

        -
        Parameters:
        source - - fields to copy.
        destination - - fields to copy to.
        commonType - - type containing each field to copy.
        -
      • -
      - - - -
        -
      • -

        transformField

        -
        protected void transformField(StructureModifier<java.lang.Object> modifierSource,
        -                  StructureModifier<java.lang.Object> modifierDest,
        -                  int fieldIndex)
        -
        Called for every non-static field that will be copied.
        -
        Parameters:
        modifierSource - - modifier for the original object.
        modifierDest - - modifier for the new cloned object.
        fieldIndex - - the current field index.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/PrettyPrinter.html b/Javadoc/com/comphenix/protocol/reflect/PrettyPrinter.html deleted file mode 100644 index 9b108547..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/PrettyPrinter.html +++ /dev/null @@ -1,359 +0,0 @@ - - - - - -PrettyPrinter - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.reflect
-

Class PrettyPrinter

-
-
- -
-
    -
  • -
    -
    -
    public class PrettyPrinter
    -extends java.lang.Object
    -
    Used to print the content of an arbitrary class.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      static intRECURSE_DEPTH -
      How far we will recurse.
      -
      -
    • -
    - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      PrettyPrinter() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      static java.lang.StringprintObject(java.lang.Object object) -
      Print the content of an object.
      -
      static java.lang.StringprintObject(java.lang.Object object, - java.lang.Class<?> start, - java.lang.Class<?> stop) -
      Print the content of an object.
      -
      static java.lang.StringprintObject(java.lang.Object object, - java.lang.Class<?> start, - java.lang.Class<?> stop, - int hierachyDepth) -
      Print the content of an object.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        RECURSE_DEPTH

        -
        public static final int RECURSE_DEPTH
        -
        How far we will recurse.
        -
        See Also:
        Constant Field Values
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        PrettyPrinter

        -
        public PrettyPrinter()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        printObject

        -
        public static java.lang.String printObject(java.lang.Object object)
        -                                    throws java.lang.IllegalAccessException
        -
        Print the content of an object.
        -
        Parameters:
        object - - the object to serialize.
        -
        Returns:
        String representation of the class.
        -
        Throws:
        -
        java.lang.IllegalAccessException
        -
      • -
      - - - -
        -
      • -

        printObject

        -
        public static java.lang.String printObject(java.lang.Object object,
        -                           java.lang.Class<?> start,
        -                           java.lang.Class<?> stop)
        -                                    throws java.lang.IllegalAccessException
        -
        Print the content of an object.
        -
        Parameters:
        object - - the object to serialize.
        stop - - superclass that will stop the process.
        -
        Returns:
        String representation of the class.
        -
        Throws:
        -
        java.lang.IllegalAccessException
        -
      • -
      - - - -
        -
      • -

        printObject

        -
        public static java.lang.String printObject(java.lang.Object object,
        -                           java.lang.Class<?> start,
        -                           java.lang.Class<?> stop,
        -                           int hierachyDepth)
        -                                    throws java.lang.IllegalAccessException
        -
        Print the content of an object.
        -
        Parameters:
        object - - the object to serialize.
        stop - - superclass that will stop the process.
        -
        Returns:
        String representation of the class.
        -
        Throws:
        -
        java.lang.IllegalAccessException
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/StructureModifier.html b/Javadoc/com/comphenix/protocol/reflect/StructureModifier.html deleted file mode 100644 index d652aff9..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/StructureModifier.html +++ /dev/null @@ -1,990 +0,0 @@ - - - - - -StructureModifier - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.reflect
-

Class StructureModifier<TField>

-
-
- -
-
    -
  • -
    Type Parameters:
    TField - Type of the fields to retrieve.
    -
    -
    Direct Known Subclasses:
    -
    CompiledStructureModifier
    -
    -
    -
    -
    public class StructureModifier<TField>
    -extends java.lang.Object
    -
    Provides list-oriented access to the fields of a Minecraft packet. -

    - Implemented by using reflection. Use a CompiledStructureModifier, if speed is essential.

    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - - - - - - - - - - - - -
      Constructors 
      ModifierConstructor and Description
      protected StructureModifier() -
      Consumers of this method should call "initialize".
      -
       StructureModifier(java.lang.Class targetType) -
      Creates a structure modifier.
      -
       StructureModifier(java.lang.Class targetType, - java.lang.Class superclassExclude, - boolean requireDefault) -
      Creates a structure modifier.
      -
       StructureModifier(java.lang.Class targetType, - java.lang.Class superclassExclude, - boolean requireDefault, - boolean useStructureCompiler) -
      Creates a structure modifier.
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      java.lang.reflect.FieldgetField(int fieldIndex) -
      Retrieve a field by index.
      -
      java.util.List<java.lang.reflect.Field>getFields() -
      Retrieves a list of the fields matching the constraints of this structure modifier.
      -
      java.lang.ClassgetFieldType() -
      Retrieves the common type of each field.
      -
      protected java.lang.Class<?>getFieldType(int index) -
      Retrieve the type of a specified field.
      -
      java.lang.ObjectgetTarget() -
      Retrieves the object we're currently modifying.
      -
      java.lang.ClassgetTargetType() -
      Retrieves the type of the object we're modifying.
      -
      java.util.List<TField>getValues() -
      Retrieve every value stored in the fields of the current type.
      -
      protected voidinitialize(java.lang.Class targetType, - java.lang.Class fieldType, - java.util.List<java.lang.reflect.Field> data, - java.util.Map<java.lang.reflect.Field,java.lang.Integer> defaultFields, - EquivalentConverter<TField> converter, - java.util.Map<java.lang.Class,StructureModifier> subTypeCache) -
      Initialize every field of this class.
      -
      protected voidinitialize(java.lang.Class targetType, - java.lang.Class fieldType, - java.util.List<java.lang.reflect.Field> data, - java.util.Map<java.lang.reflect.Field,java.lang.Integer> defaultFields, - EquivalentConverter<TField> converter, - java.util.Map<java.lang.Class,StructureModifier> subTypeCache, - boolean useStructureCompiler) -
      Initialize every field of this class.
      -
      protected voidinitialize(StructureModifier<TField> other) -
      Initialize using the same field types.
      -
      booleanisPublic(int fieldIndex) -
      Determine if a given field is public or not.
      -
      booleanisReadOnly(int fieldIndex) -
      Determine whether or not a field is read-only (final).
      -
      StructureModifier<TField>modify(int fieldIndex, - com.google.common.base.Function<TField,TField> select) -
      Correctly modifies the value of a field.
      -
      TFieldread(int fieldIndex) -
      Reads the value of a field given its index.
      -
      TFieldreadSafely(int fieldIndex) -
      Reads the value of a field if and ONLY IF it exists.
      -
      protected voidsetConverter(EquivalentConverter<TField> converter) -
      Set the current object converter.
      -
      protected static voidsetFinalState(java.lang.reflect.Field field, - boolean isReadOnly) -
      Alter the final status of a field.
      -
      voidsetReadOnly(int fieldIndex, - boolean value) -
      Set whether or not a field should be treated as read only.
      -
      intsize() -
      Retrieve the number of readable types.
      -
      protected <T> StructureModifier<T>withFieldType(java.lang.Class fieldType, - java.util.List<java.lang.reflect.Field> filtered, - java.util.Map<java.lang.reflect.Field,java.lang.Integer> defaults, - EquivalentConverter<T> converter) -
      Create a new structure modifier for the new field type.
      -
      StructureModifier<TField>withTarget(java.lang.Object target) -
      Retrieves a structure modifier of the same type for a different object target.
      -
      <T> StructureModifier<T>withType(java.lang.Class fieldType) -
      Retrieves a structure modifier that only reads and writes fields of a given type.
      -
      <T> StructureModifier<T>withType(java.lang.Class fieldType, - EquivalentConverter<T> converter) -
      Retrieves a structure modifier that only reads and writes fields of a given type.
      -
      StructureModifier<TField>write(int fieldIndex, - TField value) -
      Writes the value of a field given its index.
      -
      StructureModifier<TField>writeDefaults() -
      Sets all non-primitive fields to a more fitting default value.
      -
      StructureModifier<TField>writeSafely(int fieldIndex, - TField value) -
      Writes the value of a given field IF and ONLY if it exists.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        targetType

        -
        protected java.lang.Class targetType
        -
      • -
      - - - -
        -
      • -

        target

        -
        protected java.lang.Object target
        -
      • -
      - - - - - - - -
        -
      • -

        fieldType

        -
        protected java.lang.Class fieldType
        -
      • -
      - - - -
        -
      • -

        data

        -
        protected java.util.List<java.lang.reflect.Field> data
        -
      • -
      - - - -
        -
      • -

        defaultFields

        -
        protected java.util.Map<java.lang.reflect.Field,java.lang.Integer> defaultFields
        -
      • -
      - - - -
        -
      • -

        subtypeCache

        -
        protected java.util.Map<java.lang.Class,StructureModifier> subtypeCache
        -
      • -
      - - - -
        -
      • -

        customConvertHandling

        -
        protected boolean customConvertHandling
        -
      • -
      - - - -
        -
      • -

        useStructureCompiler

        -
        protected boolean useStructureCompiler
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        StructureModifier

        -
        public StructureModifier(java.lang.Class targetType)
        -
        Creates a structure modifier.
        -
        Parameters:
        targetType - - the structure to modify.
        -
      • -
      - - - -
        -
      • -

        StructureModifier

        -
        public StructureModifier(java.lang.Class targetType,
        -                 java.lang.Class superclassExclude,
        -                 boolean requireDefault)
        -
        Creates a structure modifier.
        -
        Parameters:
        targetType - - the structure to modify.
        superclassExclude - - a superclass to exclude.
        requireDefault - - whether or not we will be using writeDefaults().
        -
      • -
      - - - -
        -
      • -

        StructureModifier

        -
        public StructureModifier(java.lang.Class targetType,
        -                 java.lang.Class superclassExclude,
        -                 boolean requireDefault,
        -                 boolean useStructureCompiler)
        -
        Creates a structure modifier.
        -
        Parameters:
        targetType - - the structure to modify.
        superclassExclude - - a superclass to exclude.
        requireDefault - - whether or not we will be using writeDefaults().
        useStructureCompiler - - whether or not to automatically compile this structure modifier.
        -
      • -
      - - - -
        -
      • -

        StructureModifier

        -
        protected StructureModifier()
        -
        Consumers of this method should call "initialize".
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        initialize

        -
        protected void initialize(StructureModifier<TField> other)
        -
        Initialize using the same field types.
        -
        Parameters:
        other - - information to set.
        -
      • -
      - - - -
        -
      • -

        initialize

        -
        protected void initialize(java.lang.Class targetType,
        -              java.lang.Class fieldType,
        -              java.util.List<java.lang.reflect.Field> data,
        -              java.util.Map<java.lang.reflect.Field,java.lang.Integer> defaultFields,
        -              EquivalentConverter<TField> converter,
        -              java.util.Map<java.lang.Class,StructureModifier> subTypeCache)
        -
        Initialize every field of this class.
        -
        Parameters:
        targetType - - type of the object we're reading and writing from.
        fieldType - - the common type of the fields we're modifying.
        data - - list of fields to modify.
        defaultFields - - list of fields that will be automatically initialized.
        converter - - converts between the common field type and the actual type the consumer expects.
        subTypeCache - - a structure modifier cache.
        -
      • -
      - - - -
        -
      • -

        initialize

        -
        protected void initialize(java.lang.Class targetType,
        -              java.lang.Class fieldType,
        -              java.util.List<java.lang.reflect.Field> data,
        -              java.util.Map<java.lang.reflect.Field,java.lang.Integer> defaultFields,
        -              EquivalentConverter<TField> converter,
        -              java.util.Map<java.lang.Class,StructureModifier> subTypeCache,
        -              boolean useStructureCompiler)
        -
        Initialize every field of this class.
        -
        Parameters:
        targetType - - type of the object we're reading and writing from.
        fieldType - - the common type of the fields we're modifying.
        data - - list of fields to modify.
        defaultFields - - list of fields that will be automatically initialized.
        converter - - converts between the common field type and the actual type the consumer expects.
        subTypeCache - - a structure modifier cache.
        useStructureCompiler - - whether or not to automatically compile this structure modifier.
        -
      • -
      - - - -
        -
      • -

        read

        -
        public TField read(int fieldIndex)
        -            throws FieldAccessException
        -
        Reads the value of a field given its index.
        -
        Parameters:
        fieldIndex - - index of the field.
        -
        Returns:
        Value of the field.
        -
        Throws:
        -
        FieldAccessException - The field doesn't exist, or it cannot be accessed under the current security contraints.
        -
      • -
      - - - -
        -
      • -

        readSafely

        -
        public TField readSafely(int fieldIndex)
        -                  throws FieldAccessException
        -
        Reads the value of a field if and ONLY IF it exists.
        -
        Parameters:
        fieldIndex - - index of the field.
        -
        Returns:
        Value of the field, or NULL if it doesn't exist.
        -
        Throws:
        -
        FieldAccessException - The field cannot be accessed under the current security contraints.
        -
      • -
      - - - -
        -
      • -

        isReadOnly

        -
        public boolean isReadOnly(int fieldIndex)
        -
        Determine whether or not a field is read-only (final).
        -
        Parameters:
        fieldIndex - - index of the field.
        -
        Returns:
        TRUE if the field by the given index is read-only, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        isPublic

        -
        public boolean isPublic(int fieldIndex)
        -
        Determine if a given field is public or not.
        -
        Parameters:
        fieldIndex - - field index.
        -
        Returns:
        TRUE if the field is public, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        setReadOnly

        -
        public void setReadOnly(int fieldIndex,
        -               boolean value)
        -                 throws FieldAccessException
        -
        Set whether or not a field should be treated as read only. -

        - Note that changing the read-only state to TRUE will only work if the current - field was recently read-only or the current structure modifier hasn't been compiled yet.

        -
        Parameters:
        fieldIndex - - index of the field.
        value - - TRUE if this field should be read only, FALSE otherwise.
        -
        Throws:
        -
        FieldAccessException - If we cannot modify the read-only status.
        -
      • -
      - - - -
        -
      • -

        setFinalState

        -
        protected static void setFinalState(java.lang.reflect.Field field,
        -                 boolean isReadOnly)
        -                             throws java.lang.IllegalAccessException
        -
        Alter the final status of a field.
        -
        Parameters:
        field - - the field to change.
        isReadOnly - - TRUE if the field should be read only, FALSE otherwise.
        -
        Throws:
        -
        java.lang.IllegalAccessException - If an error occured.
        -
      • -
      - - - - - -
        -
      • -

        write

        -
        public StructureModifier<TField> write(int fieldIndex,
        -                              TField value)
        -                                throws FieldAccessException
        -
        Writes the value of a field given its index.
        -
        Parameters:
        fieldIndex - - index of the field.
        value - - new value of the field.
        -
        Returns:
        This structure modifier - for chaining.
        -
        Throws:
        -
        FieldAccessException - The field doesn't exist, or it cannot be accessed under the current security contraints.
        -
      • -
      - - - -
        -
      • -

        getFieldType

        -
        protected java.lang.Class<?> getFieldType(int index)
        -
        Retrieve the type of a specified field.
        -
        Parameters:
        index - - the index.
        -
        Returns:
        The type of the given field.
        -
      • -
      - - - - - -
        -
      • -

        writeSafely

        -
        public StructureModifier<TField> writeSafely(int fieldIndex,
        -                                    TField value)
        -                                      throws FieldAccessException
        -
        Writes the value of a given field IF and ONLY if it exists.
        -
        Parameters:
        fieldIndex - - index of the potential field.
        value - - new value of the field.
        -
        Returns:
        This structure modifer - for chaining.
        -
        Throws:
        -
        FieldAccessException - The field cannot be accessed under the current security contraints.
        -
      • -
      - - - -
        -
      • -

        modify

        -
        public StructureModifier<TField> modify(int fieldIndex,
        -                               com.google.common.base.Function<TField,TField> select)
        -                                 throws FieldAccessException
        -
        Correctly modifies the value of a field.
        -
        Parameters:
        fieldIndex - - index of the field to modify.
        select - - the function that modifies the field value.
        -
        Returns:
        This structure modifier - for chaining.
        -
        Throws:
        -
        FieldAccessException - The field cannot be accessed under the current security contraints.
        -
      • -
      - - - -
        -
      • -

        withType

        -
        public <T> StructureModifier<T> withType(java.lang.Class fieldType)
        -
        Retrieves a structure modifier that only reads and writes fields of a given type.
        -
        Parameters:
        fieldType - - the type, or supertype, of every field to modify.
        -
        Returns:
        A structure modifier for fields of this type.
        -
      • -
      - - - - - - - -
        -
      • -

        withType

        -
        public <T> StructureModifier<T> withType(java.lang.Class fieldType,
        -                                EquivalentConverter<T> converter)
        -
        Retrieves a structure modifier that only reads and writes fields of a given type.
        -
        Parameters:
        fieldType - - the type, or supertype, of every field to modify.
        converter - - converts objects into the given type.
        -
        Returns:
        A structure modifier for fields of this type.
        -
      • -
      - - - -
        -
      • -

        getFieldType

        -
        public java.lang.Class getFieldType()
        -
        Retrieves the common type of each field.
        -
        Returns:
        Common type of each field.
        -
      • -
      - - - -
        -
      • -

        getTargetType

        -
        public java.lang.Class getTargetType()
        -
        Retrieves the type of the object we're modifying.
        -
        Returns:
        Type of the object.
        -
      • -
      - - - -
        -
      • -

        getTarget

        -
        public java.lang.Object getTarget()
        -
        Retrieves the object we're currently modifying.
        -
        Returns:
        Object we're modifying.
        -
      • -
      - - - -
        -
      • -

        size

        -
        public int size()
        -
        Retrieve the number of readable types.
        -
        Returns:
        Readable types.
        -
      • -
      - - - -
        -
      • -

        withFieldType

        -
        protected <T> StructureModifier<T> withFieldType(java.lang.Class fieldType,
        -                                     java.util.List<java.lang.reflect.Field> filtered,
        -                                     java.util.Map<java.lang.reflect.Field,java.lang.Integer> defaults,
        -                                     EquivalentConverter<T> converter)
        -
        Create a new structure modifier for the new field type.
        -
        Parameters:
        fieldType - - common type of each field.
        filtered - - list of fields after filtering the original modifier.
        defaults - - list of default values after filtering the original.
        converter - - the new converter.
        -
        Returns:
        A new structure modifier.
        -
      • -
      - - - -
        -
      • -

        withTarget

        -
        public StructureModifier<TField> withTarget(java.lang.Object target)
        -
        Retrieves a structure modifier of the same type for a different object target.
        -
        Parameters:
        target - - different target of the same type.
        -
        Returns:
        Structure modifier with the new target.
        -
      • -
      - - - -
        -
      • -

        setConverter

        -
        protected void setConverter(EquivalentConverter<TField> converter)
        -
        Set the current object converter. Should only be called during construction.
        -
        Parameters:
        converter - - current object converter.
        -
      • -
      - - - -
        -
      • -

        getFields

        -
        public java.util.List<java.lang.reflect.Field> getFields()
        -
        Retrieves a list of the fields matching the constraints of this structure modifier.
        -
        Returns:
        List of fields.
        -
      • -
      - - - -
        -
      • -

        getField

        -
        public java.lang.reflect.Field getField(int fieldIndex)
        -
        Retrieve a field by index.
        -
        Parameters:
        fieldIndex - - index of the field to retrieve.
        -
        Returns:
        The field represented with the given index.
        -
        Throws:
        -
        java.lang.IllegalArgumentException - If no field with the given index can be found.
        -
      • -
      - - - -
        -
      • -

        getValues

        -
        public java.util.List<TField> getValues()
        -                                 throws FieldAccessException
        -
        Retrieve every value stored in the fields of the current type.
        -
        Returns:
        Every field value.
        -
        Throws:
        -
        FieldAccessException - Unable to access one or all of the fields
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/VolatileField.html b/Javadoc/com/comphenix/protocol/reflect/VolatileField.html deleted file mode 100644 index 3446f216..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/VolatileField.html +++ /dev/null @@ -1,458 +0,0 @@ - - - - - -VolatileField - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.reflect
-

Class VolatileField

-
-
- -
-
    -
  • -
    -
    -
    public class VolatileField
    -extends java.lang.Object
    -
    Represents a field that will revert to its original state when this class is garbaged collected.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - -
      Constructors 
      Constructor and Description
      VolatileField(java.lang.reflect.Field field, - java.lang.Object container) -
      Initializes a volatile field with an associated object.
      -
      VolatileField(java.lang.reflect.Field field, - java.lang.Object container, - boolean forceAccess) -
      Initializes a volatile field with an associated object.
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      protected voidfinalize() 
      java.lang.ObjectgetContainer() -
      Retrieves the object the field is stored.
      -
      java.lang.reflect.FieldgetField() -
      Retrieves the current field.
      -
      java.lang.ObjectgetOldValue() -
      Retrieves the field value before the previous setValue(), unless saveValue() has been called.
      -
      java.lang.ObjectgetValue() -
      Retrieves the current field value.
      -
      booleanisCurrentSet() -
      Determine whether or not we'll need to revert the value.
      -
      booleanisForceAccess() -
      Retrieves whether or not not to override any scope restrictions.
      -
      voidrevertValue() -
      Revert to the previously set value.
      -
      voidsaveValue() -
      Ensure that the current value is still set after this class has been garbaged collected.
      -
      voidsetForceAccess(boolean forceAccess) -
      Sets whether or not not to override any scope restrictions.
      -
      voidsetValue(java.lang.Object newValue) -
      Sets the current value.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        VolatileField

        -
        public VolatileField(java.lang.reflect.Field field,
        -             java.lang.Object container)
        -
        Initializes a volatile field with an associated object.
        -
        Parameters:
        field - - the field.
        container - - the object this field belongs to.
        -
      • -
      - - - -
        -
      • -

        VolatileField

        -
        public VolatileField(java.lang.reflect.Field field,
        -             java.lang.Object container,
        -             boolean forceAccess)
        -
        Initializes a volatile field with an associated object.
        -
        Parameters:
        field - - the field.
        container - - the object this field belongs to.
        forceAccess - - whether or not to override any scope restrictions.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getField

        -
        public java.lang.reflect.Field getField()
        -
        Retrieves the current field.
        -
        Returns:
        The stored field.
        -
      • -
      - - - -
        -
      • -

        getContainer

        -
        public java.lang.Object getContainer()
        -
        Retrieves the object the field is stored.
        -
        Returns:
        The reference object.
        -
      • -
      - - - -
        -
      • -

        isForceAccess

        -
        public boolean isForceAccess()
        -
        Retrieves whether or not not to override any scope restrictions.
        -
        Returns:
        TRUE if we override scope, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        setForceAccess

        -
        public void setForceAccess(boolean forceAccess)
        -
        Sets whether or not not to override any scope restrictions.
        -
        Parameters:
        forceAccess - - TRUE if we override scope, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        getValue

        -
        public java.lang.Object getValue()
        -
        Retrieves the current field value.
        -
        Returns:
        The current field value.
        -
      • -
      - - - -
        -
      • -

        getOldValue

        -
        public java.lang.Object getOldValue()
        -
        Retrieves the field value before the previous setValue(), unless saveValue() has been called.
        -
        Returns:
        Previous value.
        -
      • -
      - - - -
        -
      • -

        setValue

        -
        public void setValue(java.lang.Object newValue)
        -
        Sets the current value. This will be reverted unless saveValue() is called.
        -
        Parameters:
        newValue - - new field value.
        -
      • -
      - - - -
        -
      • -

        saveValue

        -
        public void saveValue()
        -
        Ensure that the current value is still set after this class has been garbaged collected.
        -
      • -
      - - - -
        -
      • -

        revertValue

        -
        public void revertValue()
        -
        Revert to the previously set value.
        -
      • -
      - - - -
        -
      • -

        isCurrentSet

        -
        public boolean isCurrentSet()
        -
        Determine whether or not we'll need to revert the value.
        -
      • -
      - - - -
        -
      • -

        finalize

        -
        protected void finalize()
        -                 throws java.lang.Throwable
        -
        -
        Overrides:
        -
        finalize in class java.lang.Object
        -
        Throws:
        -
        java.lang.Throwable
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/EquivalentConverter.html b/Javadoc/com/comphenix/protocol/reflect/class-use/EquivalentConverter.html deleted file mode 100644 index b905a943..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/class-use/EquivalentConverter.html +++ /dev/null @@ -1,300 +0,0 @@ - - - - - -Uses of Interface com.comphenix.protocol.reflect.EquivalentConverter - - - - - - - -
- - - - - -
- - -
-

Uses of Interface
com.comphenix.protocol.reflect.EquivalentConverter

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/FieldAccessException.html b/Javadoc/com/comphenix/protocol/reflect/class-use/FieldAccessException.html deleted file mode 100644 index e719549b..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/class-use/FieldAccessException.html +++ /dev/null @@ -1,572 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.FieldAccessException - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.reflect.FieldAccessException

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/FieldUtils.html b/Javadoc/com/comphenix/protocol/reflect/class-use/FieldUtils.html deleted file mode 100644 index 4213f64a..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/class-use/FieldUtils.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.FieldUtils - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.reflect.FieldUtils

-
-
No usage of com.comphenix.protocol.reflect.FieldUtils
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/FuzzyReflection.html b/Javadoc/com/comphenix/protocol/reflect/class-use/FuzzyReflection.html deleted file mode 100644 index c83bd242..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/class-use/FuzzyReflection.html +++ /dev/null @@ -1,177 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.FuzzyReflection - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.reflect.FuzzyReflection

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/IntEnum.html b/Javadoc/com/comphenix/protocol/reflect/class-use/IntEnum.html deleted file mode 100644 index e2dbb20c..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/class-use/IntEnum.html +++ /dev/null @@ -1,165 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.IntEnum - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.reflect.IntEnum

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/MethodInfo.html b/Javadoc/com/comphenix/protocol/reflect/class-use/MethodInfo.html deleted file mode 100644 index 78a1825e..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/class-use/MethodInfo.html +++ /dev/null @@ -1,294 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.MethodInfo - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.reflect.MethodInfo

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/MethodUtils.html b/Javadoc/com/comphenix/protocol/reflect/class-use/MethodUtils.html deleted file mode 100644 index 65afb403..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/class-use/MethodUtils.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.MethodUtils - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.reflect.MethodUtils

-
-
No usage of com.comphenix.protocol.reflect.MethodUtils
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/ObjectWriter.html b/Javadoc/com/comphenix/protocol/reflect/class-use/ObjectWriter.html deleted file mode 100644 index 7e6e08d1..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/class-use/ObjectWriter.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.ObjectWriter - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.reflect.ObjectWriter

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/PrettyPrinter.html b/Javadoc/com/comphenix/protocol/reflect/class-use/PrettyPrinter.html deleted file mode 100644 index 34b2e5a8..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/class-use/PrettyPrinter.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.PrettyPrinter - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.reflect.PrettyPrinter

-
-
No usage of com.comphenix.protocol.reflect.PrettyPrinter
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/StructureModifier.html b/Javadoc/com/comphenix/protocol/reflect/class-use/StructureModifier.html deleted file mode 100644 index cffbabae..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/class-use/StructureModifier.html +++ /dev/null @@ -1,632 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.StructureModifier - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.reflect.StructureModifier

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/class-use/VolatileField.html b/Javadoc/com/comphenix/protocol/reflect/class-use/VolatileField.html deleted file mode 100644 index 94a38d32..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/class-use/VolatileField.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.VolatileField - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.reflect.VolatileField

-
-
No usage of com.comphenix.protocol.reflect.VolatileField
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/cloning/AggregateCloner.Builder.html b/Javadoc/com/comphenix/protocol/reflect/cloning/AggregateCloner.Builder.html deleted file mode 100644 index 7910876e..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/cloning/AggregateCloner.Builder.html +++ /dev/null @@ -1,324 +0,0 @@ - - - - - -AggregateCloner.Builder - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.reflect.cloning
-

Class AggregateCloner.Builder

-
-
- -
-
    -
  • -
    -
    Enclosing class:
    -
    AggregateCloner
    -
    -
    -
    -
    public static class AggregateCloner.Builder
    -extends java.lang.Object
    -
    Represents a builder for aggregate (combined) cloners.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        AggregateCloner.Builder

        -
        public AggregateCloner.Builder()
        -
        Create a new aggregate builder.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        instanceProvider

        -
        public AggregateCloner.Builder instanceProvider(InstanceProvider provider)
        -
        Set the instance provider supplied to all cloners in this builder.
        -
        Parameters:
        provider - - new instance provider.
        -
        Returns:
        The current builder.
        -
      • -
      - - - -
        -
      • -

        andThen

        -
        public AggregateCloner.Builder andThen(java.lang.Class<? extends Cloner> type)
        -
        Add the next cloner that will be considered in turn.
        -
        Parameters:
        type - - the type of the next cloner.
        -
        Returns:
        This builder.
        -
      • -
      - - - - - - - -
        -
      • -

        build

        -
        public AggregateCloner build()
        -
        Build a new aggregate cloner using the supplied values.
        -
        Returns:
        A new aggregate cloner.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/cloning/AggregateCloner.BuilderParameters.html b/Javadoc/com/comphenix/protocol/reflect/cloning/AggregateCloner.BuilderParameters.html deleted file mode 100644 index 45d19514..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/cloning/AggregateCloner.BuilderParameters.html +++ /dev/null @@ -1,250 +0,0 @@ - - - - - -AggregateCloner.BuilderParameters - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.reflect.cloning
-

Class AggregateCloner.BuilderParameters

-
-
- -
-
    -
  • -
    -
    Enclosing class:
    -
    AggregateCloner
    -
    -
    -
    -
    public static class AggregateCloner.BuilderParameters
    -extends java.lang.Object
    -
    Supplies the cloner factories with necessary parameters.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      ClonergetAggregateCloner() -
      Retrieve the aggregate cloner that is being built.
      -
      InstanceProvidergetInstanceProvider() -
      Retrieve the instance provider last set in the builder.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getInstanceProvider

        -
        public InstanceProvider getInstanceProvider()
        -
        Retrieve the instance provider last set in the builder.
        -
        Returns:
        Current instance provider.
        -
      • -
      - - - -
        -
      • -

        getAggregateCloner

        -
        public Cloner getAggregateCloner()
        -
        Retrieve the aggregate cloner that is being built.
        -
        Returns:
        The parent cloner.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/cloning/AggregateCloner.html b/Javadoc/com/comphenix/protocol/reflect/cloning/AggregateCloner.html deleted file mode 100644 index 8d689b66..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/cloning/AggregateCloner.html +++ /dev/null @@ -1,363 +0,0 @@ - - - - - -AggregateCloner - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.reflect.cloning
-

Class AggregateCloner

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Cloner
    -
    -
    -
    -
    public class AggregateCloner
    -extends java.lang.Object
    -implements Cloner
    -
    Implements a cloning procedure by trying multiple methods in turn until one is successful.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Nested Class Summary

      - - - - - - - - - - - - - - -
      Nested Classes 
      Modifier and TypeClass and Description
      static class AggregateCloner.Builder -
      Represents a builder for aggregate (combined) cloners.
      -
      static class AggregateCloner.BuilderParameters -
      Supplies the cloner factories with necessary parameters.
      -
      -
    • -
    - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      static AggregateClonerDEFAULT -
      Represents a default aggregate cloner.
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      booleancanClone(java.lang.Object source) -
      Determine whether or not the current cloner can clone the given object.
      -
      java.lang.Objectclone(java.lang.Object source) -
      Perform the clone.
      -
      java.util.List<Cloner>getCloners() -
      Retrieves a view of the current list of cloners.
      -
      static AggregateCloner.BuildernewBuilder() -
      Begins constructing a new aggregate cloner.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        DEFAULT

        -
        public static final AggregateCloner DEFAULT
        -
        Represents a default aggregate cloner.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        newBuilder

        -
        public static AggregateCloner.Builder newBuilder()
        -
        Begins constructing a new aggregate cloner.
        -
        Returns:
        A builder for a new aggregate cloner.
        -
      • -
      - - - -
        -
      • -

        getCloners

        -
        public java.util.List<Cloner> getCloners()
        -
        Retrieves a view of the current list of cloners.
        -
        Returns:
        Current cloners.
        -
      • -
      - - - -
        -
      • -

        canClone

        -
        public boolean canClone(java.lang.Object source)
        -
        Description copied from interface: Cloner
        -
        Determine whether or not the current cloner can clone the given object.
        -
        -
        Specified by:
        -
        canClone in interface Cloner
        -
        Parameters:
        source - - the object that is being considered.
        -
        Returns:
        TRUE if this cloner can actually clone the given object, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        clone

        -
        public java.lang.Object clone(java.lang.Object source)
        -
        Description copied from interface: Cloner
        -
        Perform the clone. -

        - This method should never be called unless a corresponding Cloner.canClone(Object) returns TRUE.

        -
        -
        Specified by:
        -
        clone in interface Cloner
        -
        Parameters:
        source - - the value to clone.
        -
        Returns:
        A cloned value.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/cloning/BukkitCloner.html b/Javadoc/com/comphenix/protocol/reflect/cloning/BukkitCloner.html deleted file mode 100644 index 5d3a73c0..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/cloning/BukkitCloner.html +++ /dev/null @@ -1,297 +0,0 @@ - - - - - -BukkitCloner - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.reflect.cloning
-

Class BukkitCloner

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Cloner
    -
    -
    -
    -
    public class BukkitCloner
    -extends java.lang.Object
    -implements Cloner
    -
    Represents an object that can clone a specific list of Bukkit- and Minecraft-related objects.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      BukkitCloner() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      booleancanClone(java.lang.Object source) -
      Determine whether or not the current cloner can clone the given object.
      -
      java.lang.Objectclone(java.lang.Object source) -
      Perform the clone.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        BukkitCloner

        -
        public BukkitCloner()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        canClone

        -
        public boolean canClone(java.lang.Object source)
        -
        Description copied from interface: Cloner
        -
        Determine whether or not the current cloner can clone the given object.
        -
        -
        Specified by:
        -
        canClone in interface Cloner
        -
        Parameters:
        source - - the object that is being considered.
        -
        Returns:
        TRUE if this cloner can actually clone the given object, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        clone

        -
        public java.lang.Object clone(java.lang.Object source)
        -
        Description copied from interface: Cloner
        -
        Perform the clone. -

        - This method should never be called unless a corresponding Cloner.canClone(Object) returns TRUE.

        -
        -
        Specified by:
        -
        clone in interface Cloner
        -
        Parameters:
        source - - the value to clone.
        -
        Returns:
        A cloned value.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/cloning/Cloner.html b/Javadoc/com/comphenix/protocol/reflect/cloning/Cloner.html deleted file mode 100644 index ada5ab0d..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/cloning/Cloner.html +++ /dev/null @@ -1,240 +0,0 @@ - - - - - -Cloner - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.reflect.cloning
-

Interface Cloner

-
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      booleancanClone(java.lang.Object source) -
      Determine whether or not the current cloner can clone the given object.
      -
      java.lang.Objectclone(java.lang.Object source) -
      Perform the clone.
      -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        canClone

        -
        boolean canClone(java.lang.Object source)
        -
        Determine whether or not the current cloner can clone the given object.
        -
        Parameters:
        source - - the object that is being considered.
        -
        Returns:
        TRUE if this cloner can actually clone the given object, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        clone

        -
        java.lang.Object clone(java.lang.Object source)
        -
        Perform the clone. -

        - This method should never be called unless a corresponding canClone(Object) returns TRUE.

        -
        Parameters:
        source - - the value to clone.
        -
        Returns:
        A cloned value.
        -
        Throws:
        -
        java.lang.IllegalArgumentException - If this cloner cannot perform the clone.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/cloning/CollectionCloner.html b/Javadoc/com/comphenix/protocol/reflect/cloning/CollectionCloner.html deleted file mode 100644 index 84709fb0..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/cloning/CollectionCloner.html +++ /dev/null @@ -1,318 +0,0 @@ - - - - - -CollectionCloner - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.reflect.cloning
-

Class CollectionCloner

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Cloner
    -
    -
    -
    -
    public class CollectionCloner
    -extends java.lang.Object
    -implements Cloner
    -
    Attempts to clone collection and array classes.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      CollectionCloner(Cloner defaultCloner) -
      Constructs a new collection and array cloner with the given inner element cloner.
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      booleancanClone(java.lang.Object source) -
      Determine whether or not the current cloner can clone the given object.
      -
      java.lang.Objectclone(java.lang.Object source) -
      Perform the clone.
      -
      ClonergetDefaultCloner() -
      Retrieve the default cloner used to clone the content of each element in the collection.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        CollectionCloner

        -
        public CollectionCloner(Cloner defaultCloner)
        -
        Constructs a new collection and array cloner with the given inner element cloner.
        -
        Parameters:
        defaultCloner - - default inner element cloner.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        canClone

        -
        public boolean canClone(java.lang.Object source)
        -
        Description copied from interface: Cloner
        -
        Determine whether or not the current cloner can clone the given object.
        -
        -
        Specified by:
        -
        canClone in interface Cloner
        -
        Parameters:
        source - - the object that is being considered.
        -
        Returns:
        TRUE if this cloner can actually clone the given object, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        clone

        -
        public java.lang.Object clone(java.lang.Object source)
        -
        Description copied from interface: Cloner
        -
        Perform the clone. -

        - This method should never be called unless a corresponding Cloner.canClone(Object) returns TRUE.

        -
        -
        Specified by:
        -
        clone in interface Cloner
        -
        Parameters:
        source - - the value to clone.
        -
        Returns:
        A cloned value.
        -
      • -
      - - - -
        -
      • -

        getDefaultCloner

        -
        public Cloner getDefaultCloner()
        -
        Retrieve the default cloner used to clone the content of each element in the collection.
        -
        Returns:
        Cloner used to clone elements.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/cloning/FieldCloner.html b/Javadoc/com/comphenix/protocol/reflect/cloning/FieldCloner.html deleted file mode 100644 index 6f9da231..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/cloning/FieldCloner.html +++ /dev/null @@ -1,422 +0,0 @@ - - - - - -FieldCloner - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.reflect.cloning
-

Class FieldCloner

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Cloner
    -
    -
    -
    -
    public class FieldCloner
    -extends java.lang.Object
    -implements Cloner
    -
    Represents a class capable of cloning objects by deeply copying its fields.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      FieldCloner(Cloner defaultCloner, - InstanceProvider instanceProvider) -
      Constructs a field cloner that copies objects by reading and writing the internal fields directly.
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      booleancanClone(java.lang.Object source) -
      Determine whether or not the current cloner can clone the given object.
      -
      java.lang.Objectclone(java.lang.Object source) -
      Perform the clone.
      -
      protected voiddefaultTransform(StructureModifier<java.lang.Object> modifierSource, - StructureModifier<java.lang.Object> modifierDest, - Cloner defaultCloner, - int fieldIndex) -
      Default implementation of the field transform.
      -
      ClonergetDefaultCloner() -
      Retrieve the default cloner used to clone the content of each field.
      -
      InstanceProvidergetInstanceProvider() -
      Retrieve the instance provider this cloner is using to create new, empty classes.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        FieldCloner

        -
        public FieldCloner(Cloner defaultCloner,
        -           InstanceProvider instanceProvider)
        -
        Constructs a field cloner that copies objects by reading and writing the internal fields directly.
        -
        Parameters:
        defaultCloner - - the default cloner used while copying fields.
        instanceProvider - - used to construct new, empty copies of a given type.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        defaultTransform

        -
        protected void defaultTransform(StructureModifier<java.lang.Object> modifierSource,
        -                    StructureModifier<java.lang.Object> modifierDest,
        -                    Cloner defaultCloner,
        -                    int fieldIndex)
        -
        Default implementation of the field transform. Applies a clone operation before a field value is written.
        -
        Parameters:
        modifierSource - - modifier for the original object.
        modifierDest - - modifier for the new cloned object.
        defaultCloner - - cloner to use.
        fieldIndex - - the current field index.
        -
      • -
      - - - -
        -
      • -

        canClone

        -
        public boolean canClone(java.lang.Object source)
        -
        Description copied from interface: Cloner
        -
        Determine whether or not the current cloner can clone the given object.
        -
        -
        Specified by:
        -
        canClone in interface Cloner
        -
        Parameters:
        source - - the object that is being considered.
        -
        Returns:
        TRUE if this cloner can actually clone the given object, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        clone

        -
        public java.lang.Object clone(java.lang.Object source)
        -
        Description copied from interface: Cloner
        -
        Perform the clone. -

        - This method should never be called unless a corresponding Cloner.canClone(Object) returns TRUE.

        -
        -
        Specified by:
        -
        clone in interface Cloner
        -
        Parameters:
        source - - the value to clone.
        -
        Returns:
        A cloned value.
        -
      • -
      - - - -
        -
      • -

        getDefaultCloner

        -
        public Cloner getDefaultCloner()
        -
        Retrieve the default cloner used to clone the content of each field.
        -
        Returns:
        Cloner used to clone fields.
        -
      • -
      - - - -
        -
      • -

        getInstanceProvider

        -
        public InstanceProvider getInstanceProvider()
        -
        Retrieve the instance provider this cloner is using to create new, empty classes.
        -
        Returns:
        The instance provider in use.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/cloning/ImmutableDetector.html b/Javadoc/com/comphenix/protocol/reflect/cloning/ImmutableDetector.html deleted file mode 100644 index 9be4fcff..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/cloning/ImmutableDetector.html +++ /dev/null @@ -1,317 +0,0 @@ - - - - - -ImmutableDetector - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.reflect.cloning
-

Class ImmutableDetector

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Cloner
    -
    -
    -
    -
    public class ImmutableDetector
    -extends java.lang.Object
    -implements Cloner
    -
    Detects classes that are immutable, and thus doesn't require cloning. -

    - This ought to have no false positives, but plenty of false negatives.

    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      ImmutableDetector() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      booleancanClone(java.lang.Object source) -
      Determine whether or not the current cloner can clone the given object.
      -
      java.lang.Objectclone(java.lang.Object source) -
      Perform the clone.
      -
      static booleanisImmutable(java.lang.Class<?> type) -
      Determine if the given type is probably immutable.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ImmutableDetector

        -
        public ImmutableDetector()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        canClone

        -
        public boolean canClone(java.lang.Object source)
        -
        Description copied from interface: Cloner
        -
        Determine whether or not the current cloner can clone the given object.
        -
        -
        Specified by:
        -
        canClone in interface Cloner
        -
        Parameters:
        source - - the object that is being considered.
        -
        Returns:
        TRUE if this cloner can actually clone the given object, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        isImmutable

        -
        public static boolean isImmutable(java.lang.Class<?> type)
        -
        Determine if the given type is probably immutable.
        -
        Parameters:
        type - - the type to check.
        -
        Returns:
        TRUE if the type is immutable, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        clone

        -
        public java.lang.Object clone(java.lang.Object source)
        -
        Description copied from interface: Cloner
        -
        Perform the clone. -

        - This method should never be called unless a corresponding Cloner.canClone(Object) returns TRUE.

        -
        -
        Specified by:
        -
        clone in interface Cloner
        -
        Parameters:
        source - - the value to clone.
        -
        Returns:
        A cloned value.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/cloning/NullableCloner.html b/Javadoc/com/comphenix/protocol/reflect/cloning/NullableCloner.html deleted file mode 100644 index 0f4e7bd0..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/cloning/NullableCloner.html +++ /dev/null @@ -1,346 +0,0 @@ - - - - - -NullableCloner - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.reflect.cloning
-

Class NullableCloner

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    Cloner
    -
    -
    -
    -
    public class NullableCloner
    -extends java.lang.Object
    -implements Cloner
    -
    Creates a cloner wrapper that accepts and clones NULL values.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      protected Clonerwrapped 
      -
    • -
    - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      NullableCloner(Cloner wrapped) 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      booleancanClone(java.lang.Object source) -
      Determine whether or not the current cloner can clone the given object.
      -
      java.lang.Objectclone(java.lang.Object source) -
      Perform the clone.
      -
      ClonergetWrapped() 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        wrapped

        -
        protected Cloner wrapped
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        NullableCloner

        -
        public NullableCloner(Cloner wrapped)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        canClone

        -
        public boolean canClone(java.lang.Object source)
        -
        Description copied from interface: Cloner
        -
        Determine whether or not the current cloner can clone the given object.
        -
        -
        Specified by:
        -
        canClone in interface Cloner
        -
        Parameters:
        source - - the object that is being considered.
        -
        Returns:
        TRUE if this cloner can actually clone the given object, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        clone

        -
        public java.lang.Object clone(java.lang.Object source)
        -
        Description copied from interface: Cloner
        -
        Perform the clone. -

        - This method should never be called unless a corresponding Cloner.canClone(Object) returns TRUE.

        -
        -
        Specified by:
        -
        clone in interface Cloner
        -
        Parameters:
        source - - the value to clone.
        -
        Returns:
        A cloned value.
        -
      • -
      - - - -
        -
      • -

        getWrapped

        -
        public Cloner getWrapped()
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/cloning/class-use/AggregateCloner.Builder.html b/Javadoc/com/comphenix/protocol/reflect/cloning/class-use/AggregateCloner.Builder.html deleted file mode 100644 index 887e5118..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/cloning/class-use/AggregateCloner.Builder.html +++ /dev/null @@ -1,175 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.cloning.AggregateCloner.Builder - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.reflect.cloning.AggregateCloner.Builder

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/cloning/class-use/AggregateCloner.BuilderParameters.html b/Javadoc/com/comphenix/protocol/reflect/cloning/class-use/AggregateCloner.BuilderParameters.html deleted file mode 100644 index c55568d8..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/cloning/class-use/AggregateCloner.BuilderParameters.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.cloning.AggregateCloner.BuilderParameters - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.reflect.cloning.AggregateCloner.BuilderParameters

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/cloning/class-use/AggregateCloner.html b/Javadoc/com/comphenix/protocol/reflect/cloning/class-use/AggregateCloner.html deleted file mode 100644 index e344d1e4..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/cloning/class-use/AggregateCloner.html +++ /dev/null @@ -1,172 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.cloning.AggregateCloner - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.reflect.cloning.AggregateCloner

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/cloning/class-use/BukkitCloner.html b/Javadoc/com/comphenix/protocol/reflect/cloning/class-use/BukkitCloner.html deleted file mode 100644 index aa4f2bad..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/cloning/class-use/BukkitCloner.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.cloning.BukkitCloner - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.reflect.cloning.BukkitCloner

-
-
No usage of com.comphenix.protocol.reflect.cloning.BukkitCloner
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/cloning/class-use/Cloner.html b/Javadoc/com/comphenix/protocol/reflect/cloning/class-use/Cloner.html deleted file mode 100644 index 789d2c8c..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/cloning/class-use/Cloner.html +++ /dev/null @@ -1,311 +0,0 @@ - - - - - -Uses of Interface com.comphenix.protocol.reflect.cloning.Cloner - - - - - - - -
- - - - - -
- - -
-

Uses of Interface
com.comphenix.protocol.reflect.cloning.Cloner

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/cloning/class-use/CollectionCloner.html b/Javadoc/com/comphenix/protocol/reflect/cloning/class-use/CollectionCloner.html deleted file mode 100644 index 9e711997..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/cloning/class-use/CollectionCloner.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.cloning.CollectionCloner - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.reflect.cloning.CollectionCloner

-
-
No usage of com.comphenix.protocol.reflect.cloning.CollectionCloner
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/cloning/class-use/FieldCloner.html b/Javadoc/com/comphenix/protocol/reflect/cloning/class-use/FieldCloner.html deleted file mode 100644 index 0b8e0beb..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/cloning/class-use/FieldCloner.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.cloning.FieldCloner - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.reflect.cloning.FieldCloner

-
-
No usage of com.comphenix.protocol.reflect.cloning.FieldCloner
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/cloning/class-use/ImmutableDetector.html b/Javadoc/com/comphenix/protocol/reflect/cloning/class-use/ImmutableDetector.html deleted file mode 100644 index 45e822cc..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/cloning/class-use/ImmutableDetector.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.cloning.ImmutableDetector - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.reflect.cloning.ImmutableDetector

-
-
No usage of com.comphenix.protocol.reflect.cloning.ImmutableDetector
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/cloning/class-use/NullableCloner.html b/Javadoc/com/comphenix/protocol/reflect/cloning/class-use/NullableCloner.html deleted file mode 100644 index a5bd18cf..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/cloning/class-use/NullableCloner.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.cloning.NullableCloner - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.reflect.cloning.NullableCloner

-
-
No usage of com.comphenix.protocol.reflect.cloning.NullableCloner
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/cloning/package-frame.html b/Javadoc/com/comphenix/protocol/reflect/cloning/package-frame.html deleted file mode 100644 index 6df78d18..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/cloning/package-frame.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - -com.comphenix.protocol.reflect.cloning - - - - -

com.comphenix.protocol.reflect.cloning

-
-

Interfaces

- -

Classes

- -
- - diff --git a/Javadoc/com/comphenix/protocol/reflect/cloning/package-summary.html b/Javadoc/com/comphenix/protocol/reflect/cloning/package-summary.html deleted file mode 100644 index 9d6bf0b8..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/cloning/package-summary.html +++ /dev/null @@ -1,194 +0,0 @@ - - - - - -com.comphenix.protocol.reflect.cloning - - - - - - - -
- - - - - -
- - -
-

Package com.comphenix.protocol.reflect.cloning

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/cloning/package-tree.html b/Javadoc/com/comphenix/protocol/reflect/cloning/package-tree.html deleted file mode 100644 index c7f0b3ea..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/cloning/package-tree.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - -com.comphenix.protocol.reflect.cloning Class Hierarchy - - - - - - - -
- - - - - -
- - -
-

Hierarchy For Package com.comphenix.protocol.reflect.cloning

-Package Hierarchies: - -
-
-

Class Hierarchy

- -

Interface Hierarchy

- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/cloning/package-use.html b/Javadoc/com/comphenix/protocol/reflect/cloning/package-use.html deleted file mode 100644 index 21ce3211..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/cloning/package-use.html +++ /dev/null @@ -1,165 +0,0 @@ - - - - - -Uses of Package com.comphenix.protocol.reflect.cloning - - - - - - - -
- - - - - -
- - -
-

Uses of Package
com.comphenix.protocol.reflect.cloning

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/compiler/BackgroundCompiler.html b/Javadoc/com/comphenix/protocol/reflect/compiler/BackgroundCompiler.html deleted file mode 100644 index f587abcc..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/compiler/BackgroundCompiler.html +++ /dev/null @@ -1,584 +0,0 @@ - - - - - -BackgroundCompiler - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.reflect.compiler
-

Class BackgroundCompiler

-
-
- -
-
    -
  • -
    -
    -
    public class BackgroundCompiler
    -extends java.lang.Object
    -
    Compiles structure modifiers on a background thread. -

    - This is necessary as we cannot block the main thread.

    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - -
      Constructors 
      Constructor and Description
      BackgroundCompiler(java.lang.ClassLoader loader, - ErrorReporter reporter) -
      Initialize a background compiler.
      -
      BackgroundCompiler(java.lang.ClassLoader loader, - ErrorReporter reporter, - java.util.concurrent.ExecutorService executor) -
      Initialize a background compiler utilizing the given thread pool.
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      <TKey> voidaddListener(StructureModifier<TKey> uncompiled, - CompileListener<TKey> listener) -
      Add a compile listener if we are still waiting for the structure modifier to be compiled.
      -
      StructureCompilergetCompiler() -
      Retrieve the current structure compiler.
      -
      doublegetDisablePermGenFraction() -
      Retrieve the fraction of perm gen space used after which the background compiler will be disabled.
      -
      static BackgroundCompilergetInstance() -
      Retrieves the current background compiler.
      -
      booleanisEnabled() -
      Retrieve whether or not the background compiler is enabled.
      -
      voidscheduleCompilation(java.util.Map<java.lang.Class,StructureModifier> cache, - java.lang.Class key) -
      Ensure that the indirectly given structure modifier is eventually compiled.
      -
      <TKey> voidscheduleCompilation(StructureModifier<TKey> uncompiled, - CompileListener<TKey> listener) -
      Ensure that the given structure modifier is eventually compiled.
      -
      voidsetDisablePermGenFraction(double fraction) -
      Set the fraction of perm gen space used after which the background compiler will be disabled.
      -
      voidsetEnabled(boolean enabled) -
      Sets whether or not the background compiler is enabled.
      -
      static voidsetInstance(BackgroundCompiler backgroundCompiler) -
      Sets the single background compiler we're using.
      -
      voidshutdownAll() -
      Clean up after ourselves using the default timeout.
      -
      voidshutdownAll(long timeout, - java.util.concurrent.TimeUnit unit) -
      Clean up after ourselves.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        REPORT_CANNOT_COMPILE_STRUCTURE_MODIFIER

        -
        public static final ReportType REPORT_CANNOT_COMPILE_STRUCTURE_MODIFIER
        -
      • -
      - - - -
        -
      • -

        REPORT_CANNOT_SCHEDULE_COMPILATION

        -
        public static final ReportType REPORT_CANNOT_SCHEDULE_COMPILATION
        -
      • -
      - - - -
        -
      • -

        THREAD_FORMAT

        -
        public static final java.lang.String THREAD_FORMAT
        -
        The default format for the name of new worker threads.
        -
        See Also:
        Constant Field Values
        -
      • -
      - - - - - - - -
        -
      • -

        DEFAULT_DISABLE_AT_PERM_GEN

        -
        public static final double DEFAULT_DISABLE_AT_PERM_GEN
        -
        The default fraction of perm gen space after which the background compiler will be disabled.
        -
        See Also:
        Constant Field Values
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        BackgroundCompiler

        -
        public BackgroundCompiler(java.lang.ClassLoader loader,
        -                  ErrorReporter reporter)
        -
        Initialize a background compiler. -

        - Uses the default THREAD_FORMAT to name worker threads.

        -
        Parameters:
        loader - - class loader from Bukkit.
        reporter - - current error reporter.
        -
      • -
      - - - -
        -
      • -

        BackgroundCompiler

        -
        public BackgroundCompiler(java.lang.ClassLoader loader,
        -                  ErrorReporter reporter,
        -                  java.util.concurrent.ExecutorService executor)
        -
        Initialize a background compiler utilizing the given thread pool.
        -
        Parameters:
        loader - - class loader from Bukkit.
        reporter - - current error reporter.
        executor - - thread pool we'll use.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getInstance

        -
        public static BackgroundCompiler getInstance()
        -
        Retrieves the current background compiler.
        -
        Returns:
        Current background compiler.
        -
      • -
      - - - -
        -
      • -

        setInstance

        -
        public static void setInstance(BackgroundCompiler backgroundCompiler)
        -
        Sets the single background compiler we're using.
        -
        Parameters:
        backgroundCompiler - - current background compiler, or NULL if the library is not loaded.
        -
      • -
      - - - -
        -
      • -

        scheduleCompilation

        -
        public void scheduleCompilation(java.util.Map<java.lang.Class,StructureModifier> cache,
        -                       java.lang.Class key)
        -
        Ensure that the indirectly given structure modifier is eventually compiled.
        -
        Parameters:
        cache - - store of structure modifiers.
        key - - key of the structure modifier to compile.
        -
      • -
      - - - -
        -
      • -

        scheduleCompilation

        -
        public <TKey> void scheduleCompilation(StructureModifier<TKey> uncompiled,
        -                              CompileListener<TKey> listener)
        -
        Ensure that the given structure modifier is eventually compiled.
        -
        Parameters:
        uncompiled - - structure modifier to compile.
        listener - - listener responsible for responding to the compilation.
        -
      • -
      - - - -
        -
      • -

        addListener

        -
        public <TKey> void addListener(StructureModifier<TKey> uncompiled,
        -                      CompileListener<TKey> listener)
        -
        Add a compile listener if we are still waiting for the structure modifier to be compiled.
        -
        Parameters:
        uncompiled - - the structure modifier that may get compiled.
        listener - - the listener to invoke in that case.
        -
      • -
      - - - -
        -
      • -

        shutdownAll

        -
        public void shutdownAll()
        -
        Clean up after ourselves using the default timeout.
        -
      • -
      - - - -
        -
      • -

        shutdownAll

        -
        public void shutdownAll(long timeout,
        -               java.util.concurrent.TimeUnit unit)
        -
        Clean up after ourselves.
        -
        Parameters:
        timeout - - the maximum time to wait.
        unit - - the time unit of the timeout argument.
        -
      • -
      - - - -
        -
      • -

        isEnabled

        -
        public boolean isEnabled()
        -
        Retrieve whether or not the background compiler is enabled.
        -
        Returns:
        TRUE if it is enabled, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        setEnabled

        -
        public void setEnabled(boolean enabled)
        -
        Sets whether or not the background compiler is enabled.
        -
        Parameters:
        enabled - - TRUE to enable it, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        getDisablePermGenFraction

        -
        public double getDisablePermGenFraction()
        -
        Retrieve the fraction of perm gen space used after which the background compiler will be disabled.
        -
        Returns:
        The fraction after which the background compiler is disabled.
        -
      • -
      - - - -
        -
      • -

        setDisablePermGenFraction

        -
        public void setDisablePermGenFraction(double fraction)
        -
        Set the fraction of perm gen space used after which the background compiler will be disabled.
        -
        Parameters:
        fraction - - the maximum use of perm gen space.
        -
      • -
      - - - -
        -
      • -

        getCompiler

        -
        public StructureCompiler getCompiler()
        -
        Retrieve the current structure compiler.
        -
        Returns:
        Current structure compiler.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/compiler/CompileListener.html b/Javadoc/com/comphenix/protocol/reflect/compiler/CompileListener.html deleted file mode 100644 index 2791ce46..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/compiler/CompileListener.html +++ /dev/null @@ -1,214 +0,0 @@ - - - - - -CompileListener - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.reflect.compiler
-

Interface CompileListener<TKey>

-
-
-
-
    -
  • -
    Type Parameters:
    TKey - - type of the structure modifier field.
    -
    -
    -
    public interface CompileListener<TKey>
    -
    Used to save the result of an compilation.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      voidonCompiled(StructureModifier<TKey> compiledModifier) -
      Invoked when a structure modifier has been successfully compiled.
      -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        onCompiled

        -
        void onCompiled(StructureModifier<TKey> compiledModifier)
        -
        Invoked when a structure modifier has been successfully compiled.
        -
        Parameters:
        compiledModifier - - the compiled structure modifier.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html b/Javadoc/com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html deleted file mode 100644 index 2773c429..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/compiler/CompiledStructureModifier.html +++ /dev/null @@ -1,505 +0,0 @@ - - - - - -CompiledStructureModifier - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.reflect.compiler
-

Class CompiledStructureModifier

-
-
- -
-
    -
  • -
    -
    -
    public abstract class CompiledStructureModifier
    -extends StructureModifier<java.lang.Object>
    -
    Represents a compiled structure modifier.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
- -
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        CompiledStructureModifier

        -
        public CompiledStructureModifier()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        setReadOnly

        -
        public void setReadOnly(int fieldIndex,
        -               boolean value)
        -                 throws FieldAccessException
        -
        Description copied from class: StructureModifier
        -
        Set whether or not a field should be treated as read only. -

        - Note that changing the read-only state to TRUE will only work if the current - field was recently read-only or the current structure modifier hasn't been compiled yet.

        -
        -
        Overrides:
        -
        setReadOnly in class StructureModifier<java.lang.Object>
        -
        Parameters:
        fieldIndex - - index of the field.
        value - - TRUE if this field should be read only, FALSE otherwise.
        -
        Throws:
        -
        FieldAccessException - If we cannot modify the read-only status.
        -
      • -
      - - - - - - - -
        -
      • -

        read

        -
        public final java.lang.Object read(int fieldIndex)
        -                            throws FieldAccessException
        -
        Description copied from class: StructureModifier
        -
        Reads the value of a field given its index.
        -
        -
        Overrides:
        -
        read in class StructureModifier<java.lang.Object>
        -
        Parameters:
        fieldIndex - - index of the field.
        -
        Returns:
        Value of the field.
        -
        Throws:
        -
        FieldAccessException - The field doesn't exist, or it cannot be accessed under the current security contraints.
        -
      • -
      - - - -
        -
      • -

        readReflected

        -
        protected java.lang.Object readReflected(int index)
        -                                  throws FieldAccessException
        -
        Read the given field index using reflection.
        -
        Parameters:
        index - - index of field.
        -
        Returns:
        Resulting value.
        -
        Throws:
        -
        FieldAccessException - The field doesn't exist, or it cannot be accessed under the current security contraints.
        -
      • -
      - - - - - - - -
        -
      • -

        write

        -
        public StructureModifier<java.lang.Object> write(int index,
        -                                        java.lang.Object value)
        -                                          throws FieldAccessException
        -
        Description copied from class: StructureModifier
        -
        Writes the value of a field given its index.
        -
        -
        Overrides:
        -
        write in class StructureModifier<java.lang.Object>
        -
        Parameters:
        index - - index of the field.
        value - - new value of the field.
        -
        Returns:
        This structure modifier - for chaining.
        -
        Throws:
        -
        FieldAccessException - The field doesn't exist, or it cannot be accessed under the current security contraints.
        -
      • -
      - - - -
        -
      • -

        writeReflected

        -
        protected void writeReflected(int index,
        -                  java.lang.Object value)
        -                       throws FieldAccessException
        -
        Write the given field using reflection.
        -
        Parameters:
        index - - index of field.
        value - - new value.
        -
        Throws:
        -
        FieldAccessException - The field doesn't exist, or it cannot be accessed under the current security contraints.
        -
      • -
      - - - - - - - -
        -
      • -

        withTarget

        -
        public StructureModifier<java.lang.Object> withTarget(java.lang.Object target)
        -
        Description copied from class: StructureModifier
        -
        Retrieves a structure modifier of the same type for a different object target.
        -
        -
        Overrides:
        -
        withTarget in class StructureModifier<java.lang.Object>
        -
        Parameters:
        target - - different target of the same type.
        -
        Returns:
        Structure modifier with the new target.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/compiler/StructureCompiler.html b/Javadoc/com/comphenix/protocol/reflect/compiler/StructureCompiler.html deleted file mode 100644 index 49fb906e..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/compiler/StructureCompiler.html +++ /dev/null @@ -1,287 +0,0 @@ - - - - - -StructureCompiler - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.reflect.compiler
-

Class StructureCompiler

-
-
- -
-
    -
  • -
    -
    -
    public final class StructureCompiler
    -extends java.lang.Object
    -
    Represents a StructureModifier compiler.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      <TField> StructureModifier<TField>compile(StructureModifier<TField> source) -
      Compiles the given structure modifier.
      -
      <TField> booleanlookupClassLoader(StructureModifier<TField> source) -
      Lookup the current class loader for any previously generated classes before we attempt to generate something.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        REPORT_TOO_MANY_GENERATED_CLASSES

        -
        public static final ReportType REPORT_TOO_MANY_GENERATED_CLASSES
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        lookupClassLoader

        -
        public <TField> boolean lookupClassLoader(StructureModifier<TField> source)
        -
        Lookup the current class loader for any previously generated classes before we attempt to generate something.
        -
        Parameters:
        source - - the structure modifier to look up.
        -
        Returns:
        TRUE if we successfully found a previously generated class, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        compile

        -
        public <TField> StructureModifier<TField> compile(StructureModifier<TField> source)
        -
        Compiles the given structure modifier. -

        - WARNING: Do NOT call this method in the main thread. Compiling may easily take 10 ms, which is already - over 1/4 of a tick (50 ms). Let the background thread automatically compile the structure modifiers instead.

        -
        Parameters:
        source - - structure modifier to compile.
        -
        Returns:
        A compiled structure modifier.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/BackgroundCompiler.html b/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/BackgroundCompiler.html deleted file mode 100644 index 9f5f84c3..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/BackgroundCompiler.html +++ /dev/null @@ -1,172 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.compiler.BackgroundCompiler - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.reflect.compiler.BackgroundCompiler

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/CompileListener.html b/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/CompileListener.html deleted file mode 100644 index 3ab3fbee..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/CompileListener.html +++ /dev/null @@ -1,165 +0,0 @@ - - - - - -Uses of Interface com.comphenix.protocol.reflect.compiler.CompileListener - - - - - - - -
- - - - - -
- - -
-

Uses of Interface
com.comphenix.protocol.reflect.compiler.CompileListener

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/CompiledStructureModifier.html b/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/CompiledStructureModifier.html deleted file mode 100644 index 70c4516f..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/CompiledStructureModifier.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.compiler.CompiledStructureModifier - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.reflect.compiler.CompiledStructureModifier

-
-
No usage of com.comphenix.protocol.reflect.compiler.CompiledStructureModifier
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/StructureCompiler.html b/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/StructureCompiler.html deleted file mode 100644 index b757c624..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/compiler/class-use/StructureCompiler.html +++ /dev/null @@ -1,170 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.compiler.StructureCompiler - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.reflect.compiler.StructureCompiler

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/compiler/package-frame.html b/Javadoc/com/comphenix/protocol/reflect/compiler/package-frame.html deleted file mode 100644 index 0bd3e17f..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/compiler/package-frame.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - -com.comphenix.protocol.reflect.compiler - - - - -

com.comphenix.protocol.reflect.compiler

-
-

Interfaces

- -

Classes

- -
- - diff --git a/Javadoc/com/comphenix/protocol/reflect/compiler/package-summary.html b/Javadoc/com/comphenix/protocol/reflect/compiler/package-summary.html deleted file mode 100644 index e3805f34..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/compiler/package-summary.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - - -com.comphenix.protocol.reflect.compiler - - - - - - - -
- - - - - -
- - -
-

Package com.comphenix.protocol.reflect.compiler

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/compiler/package-tree.html b/Javadoc/com/comphenix/protocol/reflect/compiler/package-tree.html deleted file mode 100644 index 72ed7e15..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/compiler/package-tree.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - -com.comphenix.protocol.reflect.compiler Class Hierarchy - - - - - - - -
- - - - - -
- - -
-

Hierarchy For Package com.comphenix.protocol.reflect.compiler

-Package Hierarchies: - -
-
-

Class Hierarchy

- -

Interface Hierarchy

- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/compiler/package-use.html b/Javadoc/com/comphenix/protocol/reflect/compiler/package-use.html deleted file mode 100644 index ba7cf2d7..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/compiler/package-use.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - -Uses of Package com.comphenix.protocol.reflect.compiler - - - - - - - -
- - - - - -
- - -
-

Uses of Package
com.comphenix.protocol.reflect.compiler

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMatcher.html b/Javadoc/com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMatcher.html deleted file mode 100644 index 967f165a..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMatcher.html +++ /dev/null @@ -1,430 +0,0 @@ - - - - - -AbstractFuzzyMatcher - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.reflect.fuzzy
-

Class AbstractFuzzyMatcher<T>

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.lang.Comparable<AbstractFuzzyMatcher<T>>
    -
    -
    -
    Direct Known Subclasses:
    -
    AbstractFuzzyMember, FuzzyClassContract
    -
    -
    -
    -
    public abstract class AbstractFuzzyMatcher<T>
    -extends java.lang.Object
    -implements java.lang.Comparable<AbstractFuzzyMatcher<T>>
    -
    Represents a matcher for fields, methods, constructors and classes. -

    - This class should ideally never expose mutable state. Its round number must be immutable.

    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      AbstractFuzzyMatcher<T>and(AbstractFuzzyMatcher<T> other) -
      Require that this and the given matcher be TRUE.
      -
      protected abstract intcalculateRoundNumber() -
      Calculate the round number indicating when this matcher should be applied.
      -
      protected intcombineRounds(java.lang.Integer... rounds) -
      Combine n round numbers by taking the highest non-zero number, or return zero.
      -
      protected intcombineRounds(int roundA, - int roundB) -
      Combine two round numbers by taking the highest non-zero number, or return zero.
      -
      intcompareTo(AbstractFuzzyMatcher<T> obj) 
      intgetRoundNumber() -
      Retrieve the cached round number.
      -
      AbstractFuzzyMatcher<T>inverted() -
      Create a fuzzy matcher that returns the opposite result of the current matcher.
      -
      abstract booleanisMatch(T value, - java.lang.Object parent) -
      Determine if the given value is a match.
      -
      AbstractFuzzyMatcher<T>or(AbstractFuzzyMatcher<T> other) -
      Require that either this or the other given matcher be TRUE.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        AbstractFuzzyMatcher

        -
        public AbstractFuzzyMatcher()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - - - -
        -
      • -

        isMatch

        -
        public abstract boolean isMatch(T value,
        -              java.lang.Object parent)
        -
        Determine if the given value is a match.
        -
        Parameters:
        value - - the value to match.
        parent - - the parent container, or NULL if this value is the root.
        -
        Returns:
        TRUE if it is a match, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        calculateRoundNumber

        -
        protected abstract int calculateRoundNumber()
        -
        Calculate the round number indicating when this matcher should be applied. -

        - Matchers with a lower round number are applied before matchers with a higher round number. -

        - By convention, this round number should be negative, except for zero in the case of a matcher - that accepts any value. A good implementation should return the inverted tree depth (class hierachy) - of the least specified type used in the matching. Thus Integer will have a lower round number than - Number.

        -
        Returns:
        A number (positive or negative) that is used to order matchers.
        -
      • -
      - - - -
        -
      • -

        getRoundNumber

        -
        public final int getRoundNumber()
        -
        Retrieve the cached round number. This should never change once calculated. -

        - Matchers with a lower round number are applied before matchers with a higher round number.

        -
        Returns:
        The round number.
        See Also:
        #calculateRoundNumber()}
        -
      • -
      - - - -
        -
      • -

        combineRounds

        -
        protected final int combineRounds(int roundA,
        -                int roundB)
        -
        Combine two round numbers by taking the highest non-zero number, or return zero.
        -
        Parameters:
        roundA - - the first round number.
        roundB - - the second round number.
        -
        Returns:
        The combined round number.
        -
      • -
      - - - -
        -
      • -

        combineRounds

        -
        protected final int combineRounds(java.lang.Integer... rounds)
        -
        Combine n round numbers by taking the highest non-zero number, or return zero.
        -
        Parameters:
        rounds - - the round numbers.
        -
        Returns:
        The combined round number.
        -
      • -
      - - - - - - - -
        -
      • -

        inverted

        -
        public AbstractFuzzyMatcher<T> inverted()
        -
        Create a fuzzy matcher that returns the opposite result of the current matcher.
        -
        Returns:
        An inverted fuzzy matcher.
        -
      • -
      - - - -
        -
      • -

        and

        -
        public AbstractFuzzyMatcher<T> and(AbstractFuzzyMatcher<T> other)
        -
        Require that this and the given matcher be TRUE.
        -
        Parameters:
        other - - the other fuzzy matcher.
        -
        Returns:
        A combined fuzzy matcher.
        -
      • -
      - - - -
        -
      • -

        or

        -
        public AbstractFuzzyMatcher<T> or(AbstractFuzzyMatcher<T> other)
        -
        Require that either this or the other given matcher be TRUE.
        -
        Parameters:
        other - - the other fuzzy matcher.
        -
        Returns:
        A combined fuzzy matcher.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMember.Builder.html b/Javadoc/com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMember.Builder.html deleted file mode 100644 index 79cdd4fd..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMember.Builder.html +++ /dev/null @@ -1,491 +0,0 @@ - - - - - -AbstractFuzzyMember.Builder - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.reflect.fuzzy
-

Class AbstractFuzzyMember.Builder<T extends AbstractFuzzyMember<?>>

-
-
- -
- -
-
- -
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        AbstractFuzzyMember.Builder

        -
        public AbstractFuzzyMember.Builder()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        requireModifier

        -
        public AbstractFuzzyMember.Builder<T> requireModifier(int modifier)
        -
        Add a given bit-field of required modifiers for every matching member.
        -
        Parameters:
        modifier - - bit-field of modifiers that are required.
        -
        Returns:
        This builder, for chaining.
        -
      • -
      - - - -
        -
      • -

        banModifier

        -
        public AbstractFuzzyMember.Builder<T> banModifier(int modifier)
        -
        Add a given bit-field of modifers that will skip or ignore members.
        -
        Parameters:
        modifier - - bit-field of modifiers to skip or ignore.
        -
        Returns:
        This builder, for chaining.
        -
      • -
      - - - -
        -
      • -

        nameRegex

        -
        public AbstractFuzzyMember.Builder<T> nameRegex(java.lang.String regex)
        -
        Set the regular expresson that matches a members name.
        -
        Parameters:
        regex - - new regular expression of valid names.
        -
        Returns:
        This builder, for chaining.
        -
      • -
      - - - -
        -
      • -

        nameRegex

        -
        public AbstractFuzzyMember.Builder<T> nameRegex(java.util.regex.Pattern pattern)
        -
        Set the regular expression pattern that matches a members name.
        -
        Parameters:
        pattern - - regular expression pattern for a valid name.
        -
        Returns:
        This builder, for chaining.
        -
      • -
      - - - -
        -
      • -

        nameExact

        -
        public AbstractFuzzyMember.Builder<T> nameExact(java.lang.String name)
        -
        Set the exact name of the member we are matching. - -
        Parameters:
        name - - exact name.
        -
        Returns:
        This builder, for chaining.
        -
      • -
      - - - -
        -
      • -

        declaringClassExactType

        -
        public AbstractFuzzyMember.Builder<T> declaringClassExactType(java.lang.Class<?> declaringClass)
        -
        Require that a member is defined by this exact class.
        -
        Parameters:
        declaringClass - - the declaring class of any matching member.
        -
        Returns:
        This builder, for chaining.
        -
      • -
      - - - -
        -
      • -

        declaringClassSuperOf

        -
        public AbstractFuzzyMember.Builder<T> declaringClassSuperOf(java.lang.Class<?> declaringClass)
        -
        Require that a member is defined by this exact class, or any super class.
        -
        Parameters:
        declaringClass - - the declaring class.
        -
        Returns:
        This builder, for chaining.
        -
      • -
      - - - -
        -
      • -

        declaringClassDerivedOf

        -
        public AbstractFuzzyMember.Builder<T> declaringClassDerivedOf(java.lang.Class<?> declaringClass)
        -
        Require that a member is defined by this exact class, or any super class.
        -
        Parameters:
        declaringClass - - the declaring class.
        -
        Returns:
        This builder, for chaining.
        -
      • -
      - - - -
        -
      • -

        declaringClassMatching

        -
        public AbstractFuzzyMember.Builder<T> declaringClassMatching(AbstractFuzzyMatcher<java.lang.Class<?>> classMatcher)
        -
        Require that a member is defined by a class that matches the given matcher.
        -
        Parameters:
        classMatcher - - class matcher.
        -
        Returns:
        This builder, for chaining.
        -
      • -
      - - - -
        -
      • -

        initialMember

        -
        @Nonnull
        -protected abstract T initialMember()
        -
        Construct a new instance of the current type.
        -
        Returns:
        New instance.
        -
      • -
      - - - -
        -
      • -

        build

        -
        public abstract T build()
        -
        Build a new instance of this type. -

        - Builders should call AbstractFuzzyMember.prepareBuild() when constructing new objects.

        -
        Returns:
        New instance of this type.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMember.html b/Javadoc/com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMember.html deleted file mode 100644 index 033bcc5d..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMember.html +++ /dev/null @@ -1,604 +0,0 @@ - - - - - -AbstractFuzzyMember - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.reflect.fuzzy
-

Class AbstractFuzzyMember<T extends java.lang.reflect.Member>

-
-
- -
- -
-
-
    -
  • - - - - - - - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      protected intcalculateRoundNumber() -
      Calculate the round number indicating when this matcher should be applied.
      -
      booleanequals(java.lang.Object obj) 
      AbstractFuzzyMatcher<java.lang.Class<?>>getDeclaringMatcher() -
      Retrieve a class matcher for the declaring class of the member.
      -
      protected java.util.Map<java.lang.String,java.lang.Object>getKeyValueView() -
      Generate a view of this matcher as a key-value map.
      -
      intgetModifiersBanned() -
      Retrieve a bit field of every Modifier that must not be present for the member to match.
      -
      intgetModifiersRequired() -
      Retrieve a bit field of every Modifier that is required for the member to match.
      -
      java.util.regex.PatterngetNameRegex() -
      Retrieve the regular expression pattern that is used to match the name of a member.
      -
      inthashCode() 
      booleanisMatch(T value, - java.lang.Object parent) -
      Determine if the given value is a match.
      -
      protected voidprepareBuild() -
      Called before a builder is building a member and copying its state.
      -
      java.lang.StringtoString() 
      - -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        modifiersRequired

        -
        protected int modifiersRequired
        -
      • -
      - - - -
        -
      • -

        modifiersBanned

        -
        protected int modifiersBanned
        -
      • -
      - - - -
        -
      • -

        nameRegex

        -
        protected java.util.regex.Pattern nameRegex
        -
      • -
      - - - - - - - -
        -
      • -

        sealed

        -
        protected transient boolean sealed
        -
        Whether or not this contract can be modified.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        AbstractFuzzyMember

        -
        protected AbstractFuzzyMember()
        -
      • -
      - - - - -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        prepareBuild

        -
        protected void prepareBuild()
        -
        Called before a builder is building a member and copying its state. -

        - Use this to prepare any special values.

        -
      • -
      - - - -
        -
      • -

        getModifiersRequired

        -
        public int getModifiersRequired()
        -
        Retrieve a bit field of every Modifier that is required for the member to match.
        -
        Returns:
        A required modifier bit field.
        -
      • -
      - - - -
        -
      • -

        getModifiersBanned

        -
        public int getModifiersBanned()
        -
        Retrieve a bit field of every Modifier that must not be present for the member to match.
        -
        Returns:
        A banned modifier bit field.
        -
      • -
      - - - -
        -
      • -

        getNameRegex

        -
        public java.util.regex.Pattern getNameRegex()
        -
        Retrieve the regular expression pattern that is used to match the name of a member.
        -
        Returns:
        The regex matching a name, or NULL if everything matches.
        -
      • -
      - - - -
        -
      • -

        getDeclaringMatcher

        -
        public AbstractFuzzyMatcher<java.lang.Class<?>> getDeclaringMatcher()
        -
        Retrieve a class matcher for the declaring class of the member.
        -
        Returns:
        An object matching the declaring class.
        -
      • -
      - - - - - -
        -
      • -

        isMatch

        -
        public boolean isMatch(T value,
        -              java.lang.Object parent)
        -
        Description copied from class: AbstractFuzzyMatcher
        -
        Determine if the given value is a match.
        -
        -
        Specified by:
        -
        isMatch in class AbstractFuzzyMatcher<T extends java.lang.reflect.Member>
        -
        Parameters:
        value - - the value to match.
        parent - - the parent container, or NULL if this value is the root.
        -
        Returns:
        TRUE if it is a match, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        calculateRoundNumber

        -
        protected int calculateRoundNumber()
        -
        Description copied from class: AbstractFuzzyMatcher
        -
        Calculate the round number indicating when this matcher should be applied. -

        - Matchers with a lower round number are applied before matchers with a higher round number. -

        - By convention, this round number should be negative, except for zero in the case of a matcher - that accepts any value. A good implementation should return the inverted tree depth (class hierachy) - of the least specified type used in the matching. Thus Integer will have a lower round number than - Number.

        -
        -
        Specified by:
        -
        calculateRoundNumber in class AbstractFuzzyMatcher<T extends java.lang.reflect.Member>
        -
        Returns:
        A number (positive or negative) that is used to order matchers.
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        getKeyValueView

        -
        protected java.util.Map<java.lang.String,java.lang.Object> getKeyValueView()
        -
        Generate a view of this matcher as a key-value map. -

        - Used by toString() to print a representation of this object.

        -
        Returns:
        A modifiable key-value view.
        -
      • -
      - - - -
        -
      • -

        equals

        -
        public boolean equals(java.lang.Object obj)
        -
        -
        Overrides:
        -
        equals in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        hashCode

        -
        public int hashCode()
        -
        -
        Overrides:
        -
        hashCode in class java.lang.Object
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/fuzzy/FuzzyClassContract.Builder.html b/Javadoc/com/comphenix/protocol/reflect/fuzzy/FuzzyClassContract.Builder.html deleted file mode 100644 index ee85e32b..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/fuzzy/FuzzyClassContract.Builder.html +++ /dev/null @@ -1,443 +0,0 @@ - - - - - -FuzzyClassContract.Builder - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.reflect.fuzzy
-

Class FuzzyClassContract.Builder

-
-
- -
-
    -
  • -
    -
    Enclosing class:
    -
    FuzzyClassContract
    -
    -
    -
    -
    public static class FuzzyClassContract.Builder
    -extends java.lang.Object
    -
    Represents a class contract builder.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
- -
-
- -
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/fuzzy/FuzzyClassContract.html b/Javadoc/com/comphenix/protocol/reflect/fuzzy/FuzzyClassContract.html deleted file mode 100644 index b381c5a5..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/fuzzy/FuzzyClassContract.html +++ /dev/null @@ -1,430 +0,0 @@ - - - - - -FuzzyClassContract - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.reflect.fuzzy
-

Class FuzzyClassContract

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.lang.Comparable<AbstractFuzzyMatcher<java.lang.Class<?>>>
    -
    -
    -
    -
    public class FuzzyClassContract
    -extends AbstractFuzzyMatcher<java.lang.Class<?>>
    -
    Determine if a given class implements a given fuzzy (duck typed) contract.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        newBuilder

        -
        public static FuzzyClassContract.Builder newBuilder()
        -
        Construct a new fuzzy class contract builder.
        -
        Returns:
        A new builder.
        -
      • -
      - - - -
        -
      • -

        getFieldContracts

        -
        public com.google.common.collect.ImmutableList<AbstractFuzzyMatcher<java.lang.reflect.Field>> getFieldContracts()
        -
        Retrieve an immutable list of every field contract. -

        - This list is ordered in descending order of priority.

        -
        Returns:
        List of every field contract.
        -
      • -
      - - - -
        -
      • -

        getMethodContracts

        -
        public com.google.common.collect.ImmutableList<AbstractFuzzyMatcher<MethodInfo>> getMethodContracts()
        -
        Retrieve an immutable list of every method contract. -

        - This list is ordered in descending order of priority.

        -
        Returns:
        List of every method contract.
        -
      • -
      - - - -
        -
      • -

        getConstructorContracts

        -
        public com.google.common.collect.ImmutableList<AbstractFuzzyMatcher<MethodInfo>> getConstructorContracts()
        -
        Retrieve an immutable list of every constructor contract. -

        - This list is ordered in descending order of priority.

        -
        Returns:
        List of every constructor contract.
        -
      • -
      - - - -
        -
      • -

        getBaseclassContracts

        -
        public com.google.common.collect.ImmutableList<AbstractFuzzyMatcher<java.lang.Class<?>>> getBaseclassContracts()
        -
        Retrieve an immutable list of every baseclass contract. -

        - This list is ordered in descending order of priority.

        -
        Returns:
        List of every baseclass contract.
        -
      • -
      - - - -
        -
      • -

        getInterfaceContracts

        -
        public com.google.common.collect.ImmutableList<AbstractFuzzyMatcher<java.lang.Class<?>>> getInterfaceContracts()
        -
        Retrieve an immutable list of every interface contract. -

        - This list is ordered in descending order of priority.

        -
        Returns:
        List of every interface contract.
        -
      • -
      - - - -
        -
      • -

        calculateRoundNumber

        -
        protected int calculateRoundNumber()
        -
        Description copied from class: AbstractFuzzyMatcher
        -
        Calculate the round number indicating when this matcher should be applied. -

        - Matchers with a lower round number are applied before matchers with a higher round number. -

        - By convention, this round number should be negative, except for zero in the case of a matcher - that accepts any value. A good implementation should return the inverted tree depth (class hierachy) - of the least specified type used in the matching. Thus Integer will have a lower round number than - Number.

        -
        -
        Specified by:
        -
        calculateRoundNumber in class AbstractFuzzyMatcher<java.lang.Class<?>>
        -
        Returns:
        A number (positive or negative) that is used to order matchers.
        -
      • -
      - - - -
        -
      • -

        isMatch

        -
        public boolean isMatch(java.lang.Class<?> value,
        -              java.lang.Object parent)
        -
        Description copied from class: AbstractFuzzyMatcher
        -
        Determine if the given value is a match.
        -
        -
        Specified by:
        -
        isMatch in class AbstractFuzzyMatcher<java.lang.Class<?>>
        -
        Parameters:
        value - - the value to match.
        parent - - the parent container, or NULL if this value is the root.
        -
        Returns:
        TRUE if it is a match, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/fuzzy/FuzzyFieldContract.Builder.html b/Javadoc/com/comphenix/protocol/reflect/fuzzy/FuzzyFieldContract.Builder.html deleted file mode 100644 index 2f2465de..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/fuzzy/FuzzyFieldContract.Builder.html +++ /dev/null @@ -1,567 +0,0 @@ - - - - - -FuzzyFieldContract.Builder - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.reflect.fuzzy
-

Class FuzzyFieldContract.Builder

-
-
- -
- -
-
- -
-
- -
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/fuzzy/FuzzyFieldContract.html b/Javadoc/com/comphenix/protocol/reflect/fuzzy/FuzzyFieldContract.html deleted file mode 100644 index e4fac3f3..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/fuzzy/FuzzyFieldContract.html +++ /dev/null @@ -1,419 +0,0 @@ - - - - - -FuzzyFieldContract - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.reflect.fuzzy
-

Class FuzzyFieldContract

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.lang.Comparable<AbstractFuzzyMatcher<java.lang.reflect.Field>>
    -
    -
    -
    -
    public class FuzzyFieldContract
    -extends AbstractFuzzyMember<java.lang.reflect.Field>
    -
    Represents a field matcher.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        newBuilder

        -
        public static FuzzyFieldContract.Builder newBuilder()
        -
        Return a new fuzzy field contract builder.
        -
        Returns:
        New fuzzy field contract builder.
        -
      • -
      - - - -
        -
      • -

        getTypeMatcher

        -
        public AbstractFuzzyMatcher<java.lang.Class<?>> getTypeMatcher()
        -
        Retrieve the class matcher that matches the type of a field.
        -
        Returns:
        The class matcher.
        -
      • -
      - - - -
        -
      • -

        isMatch

        -
        public boolean isMatch(java.lang.reflect.Field value,
        -              java.lang.Object parent)
        -
        Description copied from class: AbstractFuzzyMatcher
        -
        Determine if the given value is a match.
        -
        -
        Overrides:
        -
        isMatch in class AbstractFuzzyMember<java.lang.reflect.Field>
        -
        Parameters:
        value - - the value to match.
        parent - - the parent container, or NULL if this value is the root.
        -
        Returns:
        TRUE if it is a match, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        calculateRoundNumber

        -
        protected int calculateRoundNumber()
        -
        Description copied from class: AbstractFuzzyMatcher
        -
        Calculate the round number indicating when this matcher should be applied. -

        - Matchers with a lower round number are applied before matchers with a higher round number. -

        - By convention, this round number should be negative, except for zero in the case of a matcher - that accepts any value. A good implementation should return the inverted tree depth (class hierachy) - of the least specified type used in the matching. Thus Integer will have a lower round number than - Number.

        -
        -
        Overrides:
        -
        calculateRoundNumber in class AbstractFuzzyMember<java.lang.reflect.Field>
        -
        Returns:
        A number (positive or negative) that is used to order matchers.
        -
      • -
      - - - -
        -
      • -

        getKeyValueView

        -
        protected java.util.Map<java.lang.String,java.lang.Object> getKeyValueView()
        -
        Description copied from class: AbstractFuzzyMember
        -
        Generate a view of this matcher as a key-value map. -

        - Used by AbstractFuzzyMember.toString() to print a representation of this object.

        -
        -
        Overrides:
        -
        getKeyValueView in class AbstractFuzzyMember<java.lang.reflect.Field>
        -
        Returns:
        A modifiable key-value view.
        -
      • -
      - - - - - - - -
        -
      • -

        equals

        -
        public boolean equals(java.lang.Object obj)
        -
        -
        Overrides:
        -
        equals in class AbstractFuzzyMember<java.lang.reflect.Field>
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/fuzzy/FuzzyMatchers.html b/Javadoc/com/comphenix/protocol/reflect/fuzzy/FuzzyMatchers.html deleted file mode 100644 index 77c2545c..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/fuzzy/FuzzyMatchers.html +++ /dev/null @@ -1,359 +0,0 @@ - - - - - -FuzzyMatchers - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.reflect.fuzzy
-

Class FuzzyMatchers

-
-
- -
-
    -
  • -
    -
    -
    public class FuzzyMatchers
    -extends java.lang.Object
    -
    Contains factory methods for matching classes.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      static AbstractFuzzyMatcher<java.lang.Class<?>>matchAnyOf(java.lang.Class<?>... classes) -
      Construct a class matcher that matches any of the given classes exactly.
      -
      static AbstractFuzzyMatcher<java.lang.Class<?>>matchAnyOf(java.util.Set<java.lang.Class<?>> classes) -
      Construct a class matcher that matches any of the given classes exactly.
      -
      static AbstractFuzzyMatcher<java.lang.Class<?>>matchDerived(java.lang.Class<?> matcher) -
      Construct a class matcher that matches derived types of the given class.
      -
      static AbstractFuzzyMatcher<java.lang.Class<?>>matchExact(java.lang.Class<?> matcher) -
      Construct a class matcher that matches types exactly.
      -
      static AbstractFuzzyMatcher<java.lang.Class<?>>matchParent() -
      Match the parent class of a method, field or constructor.
      -
      static AbstractFuzzyMatcher<java.lang.Class<?>>matchRegex(java.util.regex.Pattern regex, - int priority) -
      Construct a class matcher based on the canonical names of classes.
      -
      static AbstractFuzzyMatcher<java.lang.Class<?>>matchRegex(java.lang.String regex, - int priority) -
      Construct a class matcher based on the canonical names of classes.
      -
      static AbstractFuzzyMatcher<java.lang.Class<?>>matchSuper(java.lang.Class<?> matcher) -
      Construct a class matcher that matches super types of the given class.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        matchExact

        -
        public static AbstractFuzzyMatcher<java.lang.Class<?>> matchExact(java.lang.Class<?> matcher)
        -
        Construct a class matcher that matches types exactly.
        -
        Parameters:
        matcher - - the matching class.
        -
        Returns:
        A new class mathcher.
        -
      • -
      - - - -
        -
      • -

        matchAnyOf

        -
        public static AbstractFuzzyMatcher<java.lang.Class<?>> matchAnyOf(java.lang.Class<?>... classes)
        -
        Construct a class matcher that matches any of the given classes exactly.
        -
        Parameters:
        classes - - list of classes to match.
        -
        Returns:
        A new class mathcher.
        -
      • -
      - - - -
        -
      • -

        matchAnyOf

        -
        public static AbstractFuzzyMatcher<java.lang.Class<?>> matchAnyOf(java.util.Set<java.lang.Class<?>> classes)
        -
        Construct a class matcher that matches any of the given classes exactly.
        -
        Parameters:
        classes - - set of classes to match.
        -
        Returns:
        A new class mathcher.
        -
      • -
      - - - -
        -
      • -

        matchSuper

        -
        public static AbstractFuzzyMatcher<java.lang.Class<?>> matchSuper(java.lang.Class<?> matcher)
        -
        Construct a class matcher that matches super types of the given class.
        -
        Parameters:
        matcher - - the matching type must be a super class of this type.
        -
        Returns:
        A new class mathcher.
        -
      • -
      - - - -
        -
      • -

        matchDerived

        -
        public static AbstractFuzzyMatcher<java.lang.Class<?>> matchDerived(java.lang.Class<?> matcher)
        -
        Construct a class matcher that matches derived types of the given class.
        -
        Parameters:
        matcher - - the matching type must be a derived class of this type.
        -
        Returns:
        A new class mathcher.
        -
      • -
      - - - -
        -
      • -

        matchRegex

        -
        public static AbstractFuzzyMatcher<java.lang.Class<?>> matchRegex(java.util.regex.Pattern regex,
        -                                                  int priority)
        -
        Construct a class matcher based on the canonical names of classes.
        -
        Parameters:
        regex - - regular expression pattern matching class names.
        priority - - the priority this matcher takes - higher is better.
        -
        Returns:
        A fuzzy class matcher based on name.
        -
      • -
      - - - -
        -
      • -

        matchRegex

        -
        public static AbstractFuzzyMatcher<java.lang.Class<?>> matchRegex(java.lang.String regex,
        -                                                  int priority)
        -
        Construct a class matcher based on the canonical names of classes.
        -
        Parameters:
        regex - - regular expression matching class names.
        priority - - the priority this matcher takes - higher is better.
        -
        Returns:
        A fuzzy class matcher based on name.
        -
      • -
      - - - -
        -
      • -

        matchParent

        -
        public static AbstractFuzzyMatcher<java.lang.Class<?>> matchParent()
        -
        Match the parent class of a method, field or constructor.
        -
        Returns:
        Parent matcher.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html b/Javadoc/com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html deleted file mode 100644 index 3035a68e..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.Builder.html +++ /dev/null @@ -1,836 +0,0 @@ - - - - - -FuzzyMethodContract.Builder - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.reflect.fuzzy
-

Class FuzzyMethodContract.Builder

-
-
- -
- -
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        FuzzyMethodContract.Builder

        -
        public FuzzyMethodContract.Builder()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        -
      • -

        parameterExactType

        -
        public FuzzyMethodContract.Builder parameterExactType(java.lang.Class<?> type)
        -
        Add a new required parameter by type for any matching method.
        -
        Parameters:
        type - - the exact type this parameter must match.
        -
        Returns:
        This builder, for chaining.
        -
      • -
      - - - -
        -
      • -

        parameterSuperOf

        -
        public FuzzyMethodContract.Builder parameterSuperOf(java.lang.Class<?> type)
        -
        Add a new required parameter whose type must be a superclass of the given type. -

        - If a parameter is of type Number, any derived class (Integer, Long, etc.) will match it.

        -
        Parameters:
        type - - a type or derived type of the matching parameter.
        -
        Returns:
        This builder, for chaining.
        -
      • -
      - - - -
        -
      • -

        parameterMatches

        -
        public FuzzyMethodContract.Builder parameterMatches(AbstractFuzzyMatcher<java.lang.Class<?>> classMatcher)
        -
        Add a new required parameter whose type must match the given class matcher.
        -
        Parameters:
        classMatcher - - the class matcher.
        -
        Returns:
        This builder, for chaining.
        -
      • -
      - - - -
        -
      • -

        parameterExactType

        -
        public FuzzyMethodContract.Builder parameterExactType(java.lang.Class<?> type,
        -                                             int index)
        -
        Add a new required parameter by type and position for any matching method.
        -
        Parameters:
        type - - the exact type this parameter must match.
        index - - the expected position in the parameter list.
        -
        Returns:
        This builder, for chaining.
        -
      • -
      - - - -
        -
      • -

        parameterSuperOf

        -
        public FuzzyMethodContract.Builder parameterSuperOf(java.lang.Class<?> type,
        -                                           int index)
        -
        Add a new required parameter whose type must be a superclass of the given type. -

        - If a parameter is of type Number, any derived class (Integer, Long, etc.) will match it.

        -
        Parameters:
        type - - a type or derived type of the matching parameter.
        index - - the expected position in the parameter list.
        -
        Returns:
        This builder, for chaining.
        -
      • -
      - - - -
        -
      • -

        parameterMatches

        -
        public FuzzyMethodContract.Builder parameterMatches(AbstractFuzzyMatcher<java.lang.Class<?>> classMatcher,
        -                                           int index)
        -
        Add a new required parameter whose type must match the given class matcher and index.
        -
        Parameters:
        classMatcher - - the class matcher.
        index - - the expected position in the parameter list.
        -
        Returns:
        This builder, for chaining.
        -
      • -
      - - - -
        -
      • -

        parameterCount

        -
        public FuzzyMethodContract.Builder parameterCount(int expectedCount)
        -
        Set the expected number of parameters in the matching method.
        -
        Parameters:
        expectedCount - - the number of parameters to expect.
        -
        Returns:
        This builder, for chaining.
        -
      • -
      - - - -
        -
      • -

        returnTypeVoid

        -
        public FuzzyMethodContract.Builder returnTypeVoid()
        -
        Require a void method.
        -
        Returns:
        This builder, for chaining.
        -
      • -
      - - - -
        -
      • -

        returnTypeExact

        -
        public FuzzyMethodContract.Builder returnTypeExact(java.lang.Class<?> type)
        -
        Set the return type of a matching method exactly.
        -
        Parameters:
        type - - the exact return type.
        -
        Returns:
        This builder, for chaining.
        -
      • -
      - - - -
        -
      • -

        returnDerivedOf

        -
        public FuzzyMethodContract.Builder returnDerivedOf(java.lang.Class<?> type)
        -
        Set the expected super class of the return type for every matching method.
        -
        Parameters:
        type - - the return type, or a super class of it.
        -
        Returns:
        This builder, for chaining.
        -
      • -
      - - - -
        -
      • -

        returnTypeMatches

        -
        public FuzzyMethodContract.Builder returnTypeMatches(AbstractFuzzyMatcher<java.lang.Class<?>> classMatcher)
        -
        Set a matcher that must match the return type of a matching method.
        -
        Parameters:
        classMatcher - - the exact return type.
        -
        Returns:
        This builder, for chaining.
        -
      • -
      - - - -
        -
      • -

        exceptionExactType

        -
        public FuzzyMethodContract.Builder exceptionExactType(java.lang.Class<?> type)
        -
        Add a throwable exception that must match the given type exactly.
        -
        Parameters:
        type - - exception type.
        -
        Returns:
        This builder, for chaining.
        -
      • -
      - - - -
        -
      • -

        exceptionSuperOf

        -
        public FuzzyMethodContract.Builder exceptionSuperOf(java.lang.Class<?> type)
        -
        Add a throwable exception that must match the given type or be derived.
        -
        Parameters:
        type - - exception type.
        -
        Returns:
        This builder, for chaining.
        -
      • -
      - - - -
        -
      • -

        exceptionMatches

        -
        public FuzzyMethodContract.Builder exceptionMatches(AbstractFuzzyMatcher<java.lang.Class<?>> classMatcher)
        -
        Add a throwable exception that must match the given matcher,
        -
        Parameters:
        classMatcher - - the class matcher that must match.
        -
        Returns:
        This builder, for chaining.
        -
      • -
      - - - -
        -
      • -

        exceptionExactType

        -
        public FuzzyMethodContract.Builder exceptionExactType(java.lang.Class<?> type,
        -                                             int index)
        -
        Add a throwable exception that must match the given type exactly and index.
        -
        Parameters:
        type - - exception type.
        index - - the position in the throwable list.
        -
        Returns:
        This builder, for chaining.
        -
      • -
      - - - -
        -
      • -

        exceptionSuperOf

        -
        public FuzzyMethodContract.Builder exceptionSuperOf(java.lang.Class<?> type,
        -                                           int index)
        -
        Add a throwable exception that must match the given type or be derived and index.
        -
        Parameters:
        type - - exception type.
        index - - the position in the throwable list.
        -
        Returns:
        This builder, for chaining.
        -
      • -
      - - - -
        -
      • -

        exceptionMatches

        -
        public FuzzyMethodContract.Builder exceptionMatches(AbstractFuzzyMatcher<java.lang.Class<?>> classMatcher,
        -                                           int index)
        -
        Add a throwable exception that must match the given matcher and index.
        -
        Parameters:
        classMatcher - - the class matcher that must match.
        index - - the position in the throwable list.
        -
        Returns:
        This builder, for chaining.
        -
      • -
      - - - - - - - - -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.html b/Javadoc/com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.html deleted file mode 100644 index f4646ff2..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/fuzzy/FuzzyMethodContract.html +++ /dev/null @@ -1,493 +0,0 @@ - - - - - -FuzzyMethodContract - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.reflect.fuzzy
-

Class FuzzyMethodContract

-
-
- -
- -
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        newBuilder

        -
        public static FuzzyMethodContract.Builder newBuilder()
        -
        Return a method contract builder.
        -
        Returns:
        Method contract builder.
        -
      • -
      - - - -
        -
      • -

        getReturnMatcher

        -
        public AbstractFuzzyMatcher<java.lang.Class<?>> getReturnMatcher()
        -
        Retrieve the class matcher for the return type.
        -
        Returns:
        Class matcher for the return type.
        -
      • -
      - - - -
        -
      • -

        getParamMatchers

        -
        public com.google.common.collect.ImmutableList<com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.ParameterClassMatcher> getParamMatchers()
        -
        Retrieve an immutable list of every parameter matcher for this method.
        -
        Returns:
        Immutable list of every parameter matcher.
        -
      • -
      - - - -
        -
      • -

        getExceptionMatchers

        -
        public java.util.List<com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.ParameterClassMatcher> getExceptionMatchers()
        -
        Retrieve an immutable list of every exception matcher for this method.
        -
        Returns:
        Immutable list of every exception matcher.
        -
      • -
      - - - -
        -
      • -

        getParamCount

        -
        public java.lang.Integer getParamCount()
        -
        Retrieve the expected parameter count for this method.
        -
        Returns:
        Expected parameter count, or NULL if anyting goes.
        -
      • -
      - - - - - - - -
        -
      • -

        isMatch

        -
        public boolean isMatch(MethodInfo value,
        -              java.lang.Object parent)
        -
        Description copied from class: AbstractFuzzyMatcher
        -
        Determine if the given value is a match.
        -
        -
        Overrides:
        -
        isMatch in class AbstractFuzzyMember<MethodInfo>
        -
        Parameters:
        value - - the value to match.
        parent - - the parent container, or NULL if this value is the root.
        -
        Returns:
        TRUE if it is a match, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        calculateRoundNumber

        -
        protected int calculateRoundNumber()
        -
        Description copied from class: AbstractFuzzyMatcher
        -
        Calculate the round number indicating when this matcher should be applied. -

        - Matchers with a lower round number are applied before matchers with a higher round number. -

        - By convention, this round number should be negative, except for zero in the case of a matcher - that accepts any value. A good implementation should return the inverted tree depth (class hierachy) - of the least specified type used in the matching. Thus Integer will have a lower round number than - Number.

        -
        -
        Overrides:
        -
        calculateRoundNumber in class AbstractFuzzyMember<MethodInfo>
        -
        Returns:
        A number (positive or negative) that is used to order matchers.
        -
      • -
      - - - - - - - - - - - - -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/fuzzy/class-use/AbstractFuzzyMatcher.html b/Javadoc/com/comphenix/protocol/reflect/fuzzy/class-use/AbstractFuzzyMatcher.html deleted file mode 100644 index 1a5221cb..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/fuzzy/class-use/AbstractFuzzyMatcher.html +++ /dev/null @@ -1,527 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/fuzzy/class-use/AbstractFuzzyMember.Builder.html b/Javadoc/com/comphenix/protocol/reflect/fuzzy/class-use/AbstractFuzzyMember.Builder.html deleted file mode 100644 index 4be32847..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/fuzzy/class-use/AbstractFuzzyMember.Builder.html +++ /dev/null @@ -1,226 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember.Builder - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember.Builder

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/fuzzy/class-use/AbstractFuzzyMember.html b/Javadoc/com/comphenix/protocol/reflect/fuzzy/class-use/AbstractFuzzyMember.html deleted file mode 100644 index 7994b7af..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/fuzzy/class-use/AbstractFuzzyMember.html +++ /dev/null @@ -1,202 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/fuzzy/class-use/FuzzyClassContract.Builder.html b/Javadoc/com/comphenix/protocol/reflect/fuzzy/class-use/FuzzyClassContract.Builder.html deleted file mode 100644 index a3f97681..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/fuzzy/class-use/FuzzyClassContract.Builder.html +++ /dev/null @@ -1,238 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract.Builder - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract.Builder

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/fuzzy/class-use/FuzzyClassContract.html b/Javadoc/com/comphenix/protocol/reflect/fuzzy/class-use/FuzzyClassContract.html deleted file mode 100644 index ddfa5c40..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/fuzzy/class-use/FuzzyClassContract.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/fuzzy/class-use/FuzzyFieldContract.Builder.html b/Javadoc/com/comphenix/protocol/reflect/fuzzy/class-use/FuzzyFieldContract.Builder.html deleted file mode 100644 index 5fd7a853..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/fuzzy/class-use/FuzzyFieldContract.Builder.html +++ /dev/null @@ -1,224 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/fuzzy/class-use/FuzzyFieldContract.html b/Javadoc/com/comphenix/protocol/reflect/fuzzy/class-use/FuzzyFieldContract.html deleted file mode 100644 index c671b146..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/fuzzy/class-use/FuzzyFieldContract.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/fuzzy/class-use/FuzzyMatchers.html b/Javadoc/com/comphenix/protocol/reflect/fuzzy/class-use/FuzzyMatchers.html deleted file mode 100644 index d3962852..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/fuzzy/class-use/FuzzyMatchers.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.fuzzy.FuzzyMatchers - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.reflect.fuzzy.FuzzyMatchers

-
-
No usage of com.comphenix.protocol.reflect.fuzzy.FuzzyMatchers
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/fuzzy/class-use/FuzzyMethodContract.Builder.html b/Javadoc/com/comphenix/protocol/reflect/fuzzy/class-use/FuzzyMethodContract.Builder.html deleted file mode 100644 index 2cda2a6a..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/fuzzy/class-use/FuzzyMethodContract.Builder.html +++ /dev/null @@ -1,322 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/fuzzy/class-use/FuzzyMethodContract.html b/Javadoc/com/comphenix/protocol/reflect/fuzzy/class-use/FuzzyMethodContract.html deleted file mode 100644 index e653ac0c..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/fuzzy/class-use/FuzzyMethodContract.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/fuzzy/package-frame.html b/Javadoc/com/comphenix/protocol/reflect/fuzzy/package-frame.html deleted file mode 100644 index 154a24a4..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/fuzzy/package-frame.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - -com.comphenix.protocol.reflect.fuzzy - - - - -

com.comphenix.protocol.reflect.fuzzy

-
-

Classes

- -
- - diff --git a/Javadoc/com/comphenix/protocol/reflect/fuzzy/package-summary.html b/Javadoc/com/comphenix/protocol/reflect/fuzzy/package-summary.html deleted file mode 100644 index fc281d23..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/fuzzy/package-summary.html +++ /dev/null @@ -1,189 +0,0 @@ - - - - - -com.comphenix.protocol.reflect.fuzzy - - - - - - - -
- - - - - -
- - -
-

Package com.comphenix.protocol.reflect.fuzzy

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/fuzzy/package-tree.html b/Javadoc/com/comphenix/protocol/reflect/fuzzy/package-tree.html deleted file mode 100644 index 6f98fee0..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/fuzzy/package-tree.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - -com.comphenix.protocol.reflect.fuzzy Class Hierarchy - - - - - - - -
- - - - - -
- - -
-

Hierarchy For Package com.comphenix.protocol.reflect.fuzzy

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/fuzzy/package-use.html b/Javadoc/com/comphenix/protocol/reflect/fuzzy/package-use.html deleted file mode 100644 index 94bdcd8d..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/fuzzy/package-use.html +++ /dev/null @@ -1,253 +0,0 @@ - - - - - -Uses of Package com.comphenix.protocol.reflect.fuzzy - - - - - - - -
- - - - - -
- - -
-

Uses of Package
com.comphenix.protocol.reflect.fuzzy

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/BannedGenerator.html b/Javadoc/com/comphenix/protocol/reflect/instances/BannedGenerator.html deleted file mode 100644 index 90b45472..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/instances/BannedGenerator.html +++ /dev/null @@ -1,290 +0,0 @@ - - - - - -BannedGenerator - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.reflect.instances
-

Class BannedGenerator

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    InstanceProvider
    -
    -
    -
    -
    public class BannedGenerator
    -extends java.lang.Object
    -implements InstanceProvider
    -
    Generator that ensures certain types will never be created.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - -
      Constructors 
      Constructor and Description
      BannedGenerator(AbstractFuzzyMatcher<java.lang.Class<?>> classMatcher) -
      Construct a generator that ensures any class that matches the given matcher is never constructed.
      -
      BannedGenerator(java.lang.Class<?>... classes) 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      java.lang.Objectcreate(java.lang.Class<?> type) -
      Create an instance given a type, if possible.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        BannedGenerator

        -
        public BannedGenerator(AbstractFuzzyMatcher<java.lang.Class<?>> classMatcher)
        -
        Construct a generator that ensures any class that matches the given matcher is never constructed.
        -
        Parameters:
        classMatcher - - a class matcher.
        -
      • -
      - - - -
        -
      • -

        BannedGenerator

        -
        public BannedGenerator(java.lang.Class<?>... classes)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        create

        -
        public java.lang.Object create(@Nullable
        -                      java.lang.Class<?> type)
        -
        Description copied from interface: InstanceProvider
        -
        Create an instance given a type, if possible.
        -
        -
        Specified by:
        -
        create in interface InstanceProvider
        -
        Parameters:
        type - - type to create.
        -
        Returns:
        The instance, or NULL if the type cannot be created.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/CollectionGenerator.html b/Javadoc/com/comphenix/protocol/reflect/instances/CollectionGenerator.html deleted file mode 100644 index 7e28c90d..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/instances/CollectionGenerator.html +++ /dev/null @@ -1,313 +0,0 @@ - - - - - -CollectionGenerator - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.reflect.instances
-

Class CollectionGenerator

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    InstanceProvider
    -
    -
    -
    -
    public class CollectionGenerator
    -extends java.lang.Object
    -implements InstanceProvider
    -
    Provides simple constructors for collection interfaces.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      static CollectionGeneratorINSTANCE -
      Shared instance of this generator.
      -
      -
    • -
    - - - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      java.lang.Objectcreate(java.lang.Class<?> type) -
      Create an instance given a type, if possible.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        INSTANCE

        -
        public static final CollectionGenerator INSTANCE
        -
        Shared instance of this generator.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        CollectionGenerator

        -
        public CollectionGenerator()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        create

        -
        public java.lang.Object create(@Nullable
        -                      java.lang.Class<?> type)
        -
        Description copied from interface: InstanceProvider
        -
        Create an instance given a type, if possible.
        -
        -
        Specified by:
        -
        create in interface InstanceProvider
        -
        Parameters:
        type - - type to create.
        -
        Returns:
        The instance, or NULL if the type cannot be created.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/DefaultInstances.html b/Javadoc/com/comphenix/protocol/reflect/instances/DefaultInstances.html deleted file mode 100644 index 16687255..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/instances/DefaultInstances.html +++ /dev/null @@ -1,610 +0,0 @@ - - - - - -DefaultInstances - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.reflect.instances
-

Class DefaultInstances

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    InstanceProvider
    -
    -
    -
    -
    public class DefaultInstances
    -extends java.lang.Object
    -implements InstanceProvider
    -
    Used to construct default instances of any type.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      static DefaultInstancesDEFAULT -
      Standard default instance provider.
      -
      -
    • -
    - - - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      protected <T> booleancontains(T[] elements, - T elementToFind) 
      java.lang.Objectcreate(java.lang.Class<?> type) -
      Create an instance given a type, if possible.
      -
      protected <T> TcreateInstance(java.lang.Class<T> type, - java.lang.reflect.Constructor<T> constructor, - java.lang.Class<?>[] types, - java.lang.Object[] params) -
      Used by the default instance provider to create a class from a given constructor.
      -
      DefaultInstancesforEnhancer(net.sf.cglib.proxy.Enhancer enhancer) -
      Construct default instances using the CGLIB enhancer object instead.
      -
      static DefaultInstancesfromArray(InstanceProvider... instanceProviders) -
      Construct a default instance generator using the given instance providers.
      -
      static DefaultInstancesfromCollection(java.util.Collection<InstanceProvider> instanceProviders) -
      Construct a default instance generator using the given instance providers.
      -
      <T> TgetDefault(java.lang.Class<T> type) -
      Retrieves a default instance or value that is assignable to this type.
      -
      <T> TgetDefault(java.lang.Class<T> type, - java.util.List<InstanceProvider> providers) -
      Retrieves a default instance or value that is assignable to this type.
      -
      intgetMaximumRecursion() -
      Retrieve the the maximum height of the hierachy of creates types.
      -
      <T> java.lang.reflect.Constructor<T>getMinimumConstructor(java.lang.Class<T> type) -
      Retrieve the constructor with the fewest number of parameters.
      -
      com.google.common.collect.ImmutableList<InstanceProvider>getRegistered() -
      Retrieves a immutable list of every default object providers that generates instances.
      -
      booleanisNonNull() -
      Retrieve whether or not the constructor's parameters must be non-null.
      -
      voidsetMaximumRecursion(int maximumRecursion) -
      Set the maximum height of the hierachy of creates types.
      -
      voidsetNonNull(boolean nonNull) -
      Set whether or not the constructor's parameters must be non-null.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        DEFAULT

        -
        public static final DefaultInstances DEFAULT
        -
        Standard default instance provider.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        DefaultInstances

        -
        public DefaultInstances(com.google.common.collect.ImmutableList<InstanceProvider> registered)
        -
        Construct a default instance generator using the given instance providers.
        -
        Parameters:
        registered - - list of instance providers.
        -
      • -
      - - - -
        -
      • -

        DefaultInstances

        -
        public DefaultInstances(DefaultInstances other)
        -
        Copy a given instance provider.
        -
        Parameters:
        other - - instance provider to copy.
        -
      • -
      - - - -
        -
      • -

        DefaultInstances

        -
        public DefaultInstances(InstanceProvider... instaceProviders)
        -
        Construct a default instance generator using the given instance providers.
        -
        Parameters:
        instaceProviders - - array of instance providers.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        fromArray

        -
        public static DefaultInstances fromArray(InstanceProvider... instanceProviders)
        -
        Construct a default instance generator using the given instance providers.
        -
        Parameters:
        instaceProviders - - array of instance providers.
        -
        Returns:
        An default instance generator.
        -
      • -
      - - - -
        -
      • -

        fromCollection

        -
        public static DefaultInstances fromCollection(java.util.Collection<InstanceProvider> instanceProviders)
        -
        Construct a default instance generator using the given instance providers.
        -
        Parameters:
        instaceProviders - - collection of instance providers.
        -
        Returns:
        An default instance generator.
        -
      • -
      - - - -
        -
      • -

        getRegistered

        -
        public com.google.common.collect.ImmutableList<InstanceProvider> getRegistered()
        -
        Retrieves a immutable list of every default object providers that generates instances.
        -
        Returns:
        Table of instance providers.
        -
      • -
      - - - -
        -
      • -

        isNonNull

        -
        public boolean isNonNull()
        -
        Retrieve whether or not the constructor's parameters must be non-null.
        -
        Returns:
        TRUE if they must be non-null, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        setNonNull

        -
        public void setNonNull(boolean nonNull)
        -
        Set whether or not the constructor's parameters must be non-null.
        -
        Parameters:
        nonNull - - TRUE if they must be non-null, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        getMaximumRecursion

        -
        public int getMaximumRecursion()
        -
        Retrieve the the maximum height of the hierachy of creates types.
        -
        Returns:
        Maximum height.
        -
      • -
      - - - -
        -
      • -

        setMaximumRecursion

        -
        public void setMaximumRecursion(int maximumRecursion)
        -
        Set the maximum height of the hierachy of creates types. Used to prevent cycles.
        -
        Parameters:
        maximumRecursion - - maximum recursion height.
        -
      • -
      - - - -
        -
      • -

        getDefault

        -
        public <T> T getDefault(java.lang.Class<T> type)
        -
        Retrieves a default instance or value that is assignable to this type. -

        - This includes, but isn't limited too: -

          -
        • Primitive types. Returns either zero or null.
        • -
        • Primitive wrappers.
        • -
        • String types. Returns an empty string.
        • -
        • Arrays. Returns a zero-length array of the same type.
        • -
        • Enums. Returns the first declared element.
        • -
        • Collection interfaces, such as List and Set. Returns the most appropriate empty container.
        • -
        • Any type with a public constructor that has parameters with defaults.
        • -
        -
-
Parameters:
type - - the type to construct a default value.
-
Returns:
A default value/instance, or NULL if not possible.
- - - - - - - - - -
-
Parameters:
type - - the type to construct a default value.
providers - - instance providers used during the construction.
-
Returns:
A default value/instance, or NULL if not possible.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/ExistingGenerator.html b/Javadoc/com/comphenix/protocol/reflect/instances/ExistingGenerator.html deleted file mode 100644 index d72e0b3c..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/instances/ExistingGenerator.html +++ /dev/null @@ -1,304 +0,0 @@ - - - - - -ExistingGenerator - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.reflect.instances
-

Class ExistingGenerator

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    InstanceProvider
    -
    -
    -
    -
    public class ExistingGenerator
    -extends java.lang.Object
    -implements InstanceProvider
    -
    Provides instance constructors using a list of existing values. -

    - Only one instance per individual class.

    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      java.lang.Objectcreate(java.lang.Class<?> type) -
      Create an instance given a type, if possible.
      -
      static ExistingGeneratorfromObjectArray(java.lang.Object[] values) -
      Create an instance generator from a pre-defined array of values.
      -
      static ExistingGeneratorfromObjectFields(java.lang.Object object) -
      Automatically create an instance provider from a objects public and private fields.
      -
      static ExistingGeneratorfromObjectFields(java.lang.Object object, - java.lang.Class<?> type) -
      Automatically create an instance provider from a objects public and private fields.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        fromObjectFields

        -
        public static ExistingGenerator fromObjectFields(java.lang.Object object)
        -
        Automatically create an instance provider from a objects public and private fields. -

        - If two or more fields share the same type, the last declared non-null field will take - precedent.

        -
        Parameters:
        object - - object to create an instance generator from.
        -
        Returns:
        The instance generator.
        -
      • -
      - - - -
        -
      • -

        fromObjectFields

        -
        public static ExistingGenerator fromObjectFields(java.lang.Object object,
        -                                 java.lang.Class<?> type)
        -
        Automatically create an instance provider from a objects public and private fields. -

        - If two or more fields share the same type, the last declared non-null field will take - precedent.

        -
        Parameters:
        object - - object to create an instance generator from.
        type - - the type to cast the object.
        -
        Returns:
        The instance generator.
        -
      • -
      - - - -
        -
      • -

        fromObjectArray

        -
        public static ExistingGenerator fromObjectArray(java.lang.Object[] values)
        -
        Create an instance generator from a pre-defined array of values.
        -
        Parameters:
        values - - values to provide.
        -
        Returns:
        An instance provider that uses these values.
        -
      • -
      - - - -
        -
      • -

        create

        -
        public java.lang.Object create(@Nullable
        -                      java.lang.Class<?> type)
        -
        Description copied from interface: InstanceProvider
        -
        Create an instance given a type, if possible.
        -
        -
        Specified by:
        -
        create in interface InstanceProvider
        -
        Parameters:
        type - - type to create.
        -
        Returns:
        The instance, or NULL if the type cannot be created.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/InstanceProvider.html b/Javadoc/com/comphenix/protocol/reflect/instances/InstanceProvider.html deleted file mode 100644 index b309eca9..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/instances/InstanceProvider.html +++ /dev/null @@ -1,221 +0,0 @@ - - - - - -InstanceProvider - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.reflect.instances
-

Interface InstanceProvider

-
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      java.lang.Objectcreate(java.lang.Class<?> type) -
      Create an instance given a type, if possible.
      -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        create

        -
        java.lang.Object create(@Nullable
        -                      java.lang.Class<?> type)
        -
        Create an instance given a type, if possible.
        -
        Parameters:
        type - - type to create.
        -
        Returns:
        The instance, or NULL if the type cannot be created.
        -
        Throws:
        -
        NotConstructableException - Thrown to indicate that this type cannot or should never be constructed.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/NotConstructableException.html b/Javadoc/com/comphenix/protocol/reflect/instances/NotConstructableException.html deleted file mode 100644 index 0aeabd2c..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/instances/NotConstructableException.html +++ /dev/null @@ -1,314 +0,0 @@ - - - - - -NotConstructableException - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.reflect.instances
-

Class NotConstructableException

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.io.Serializable
    -
    -
    -
    -
    public class NotConstructableException
    -extends java.lang.IllegalArgumentException
    -
    Invoked when a instance provider indicates that a given type cannot or should not be - constructed under any circumstances.
    -
    Author:
    -
    Kristian
    -
    See Also:
    Serialized Form
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - - - - - - - -
      Constructors 
      Constructor and Description
      NotConstructableException() -
      Construct a new not constructable exception.
      -
      NotConstructableException(java.lang.String message) -
      Construct a new not constructable exception with a custom message.
      -
      NotConstructableException(java.lang.String message, - java.lang.Throwable cause) -
      Construct a new not constructable exception with a custom message and cause.
      -
      NotConstructableException(java.lang.Throwable cause) -
      Construct a new not constructable exception with a custom cause.
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      -
        -
      • - - -

        Methods inherited from class java.lang.Throwable

        -addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        NotConstructableException

        -
        public NotConstructableException()
        -
        Construct a new not constructable exception.
        -
      • -
      - - - -
        -
      • -

        NotConstructableException

        -
        public NotConstructableException(java.lang.String message)
        -
        Construct a new not constructable exception with a custom message.
        -
      • -
      - - - -
        -
      • -

        NotConstructableException

        -
        public NotConstructableException(java.lang.String message,
        -                         java.lang.Throwable cause)
        -
        Construct a new not constructable exception with a custom message and cause.
        -
      • -
      - - - -
        -
      • -

        NotConstructableException

        -
        public NotConstructableException(java.lang.Throwable cause)
        -
        Construct a new not constructable exception with a custom cause.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/PrimitiveGenerator.html b/Javadoc/com/comphenix/protocol/reflect/instances/PrimitiveGenerator.html deleted file mode 100644 index ad6aa24b..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/instances/PrimitiveGenerator.html +++ /dev/null @@ -1,347 +0,0 @@ - - - - - -PrimitiveGenerator - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.reflect.instances
-

Class PrimitiveGenerator

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    InstanceProvider
    -
    -
    -
    -
    public class PrimitiveGenerator
    -extends java.lang.Object
    -implements InstanceProvider
    -
    Provides constructors for primtive types, wrappers, arrays and strings.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      static PrimitiveGeneratorINSTANCE -
      Shared instance of this generator.
      -
      static java.lang.StringSTRING_DEFAULT -
      Default value for Strings.
      -
      -
    • -
    - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      PrimitiveGenerator(java.lang.String stringDefault) 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      java.lang.Objectcreate(java.lang.Class<?> type) -
      Create an instance given a type, if possible.
      -
      java.lang.StringgetStringDefault() -
      Retrieve the string default.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        STRING_DEFAULT

        -
        public static final java.lang.String STRING_DEFAULT
        -
        Default value for Strings.
        -
        See Also:
        Constant Field Values
        -
      • -
      - - - -
        -
      • -

        INSTANCE

        -
        public static PrimitiveGenerator INSTANCE
        -
        Shared instance of this generator.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        PrimitiveGenerator

        -
        public PrimitiveGenerator(java.lang.String stringDefault)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getStringDefault

        -
        public java.lang.String getStringDefault()
        -
        Retrieve the string default.
        -
        Returns:
        Default instance of a string.
        -
      • -
      - - - -
        -
      • -

        create

        -
        public java.lang.Object create(@Nullable
        -                      java.lang.Class<?> type)
        -
        Description copied from interface: InstanceProvider
        -
        Create an instance given a type, if possible.
        -
        -
        Specified by:
        -
        create in interface InstanceProvider
        -
        Parameters:
        type - - type to create.
        -
        Returns:
        The instance, or NULL if the type cannot be created.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/class-use/BannedGenerator.html b/Javadoc/com/comphenix/protocol/reflect/instances/class-use/BannedGenerator.html deleted file mode 100644 index 03917972..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/instances/class-use/BannedGenerator.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.instances.BannedGenerator - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.reflect.instances.BannedGenerator

-
-
No usage of com.comphenix.protocol.reflect.instances.BannedGenerator
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/class-use/CollectionGenerator.html b/Javadoc/com/comphenix/protocol/reflect/instances/class-use/CollectionGenerator.html deleted file mode 100644 index affadfce..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/instances/class-use/CollectionGenerator.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.instances.CollectionGenerator - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.reflect.instances.CollectionGenerator

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/class-use/DefaultInstances.html b/Javadoc/com/comphenix/protocol/reflect/instances/class-use/DefaultInstances.html deleted file mode 100644 index b507e78d..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/instances/class-use/DefaultInstances.html +++ /dev/null @@ -1,197 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.instances.DefaultInstances - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.reflect.instances.DefaultInstances

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/class-use/ExistingGenerator.html b/Javadoc/com/comphenix/protocol/reflect/instances/class-use/ExistingGenerator.html deleted file mode 100644 index 25c141e2..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/instances/class-use/ExistingGenerator.html +++ /dev/null @@ -1,170 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.instances.ExistingGenerator - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.reflect.instances.ExistingGenerator

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/class-use/InstanceProvider.html b/Javadoc/com/comphenix/protocol/reflect/instances/class-use/InstanceProvider.html deleted file mode 100644 index d05bf9cf..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/instances/class-use/InstanceProvider.html +++ /dev/null @@ -1,331 +0,0 @@ - - - - - -Uses of Interface com.comphenix.protocol.reflect.instances.InstanceProvider - - - - - - - -
- - - - - -
- - -
-

Uses of Interface
com.comphenix.protocol.reflect.instances.InstanceProvider

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/class-use/NotConstructableException.html b/Javadoc/com/comphenix/protocol/reflect/instances/class-use/NotConstructableException.html deleted file mode 100644 index 79ee6126..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/instances/class-use/NotConstructableException.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.instances.NotConstructableException - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.reflect.instances.NotConstructableException

-
-
No usage of com.comphenix.protocol.reflect.instances.NotConstructableException
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/class-use/PrimitiveGenerator.html b/Javadoc/com/comphenix/protocol/reflect/instances/class-use/PrimitiveGenerator.html deleted file mode 100644 index e39016f7..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/instances/class-use/PrimitiveGenerator.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.reflect.instances.PrimitiveGenerator - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.reflect.instances.PrimitiveGenerator

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/package-frame.html b/Javadoc/com/comphenix/protocol/reflect/instances/package-frame.html deleted file mode 100644 index ac307f28..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/instances/package-frame.html +++ /dev/null @@ -1,31 +0,0 @@ - - - - - -com.comphenix.protocol.reflect.instances - - - - -

com.comphenix.protocol.reflect.instances

-
-

Interfaces

- -

Classes

- -

Exceptions

- -
- - diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/package-summary.html b/Javadoc/com/comphenix/protocol/reflect/instances/package-summary.html deleted file mode 100644 index 5aa57bf7..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/instances/package-summary.html +++ /dev/null @@ -1,194 +0,0 @@ - - - - - -com.comphenix.protocol.reflect.instances - - - - - - - -
- - - - - -
- - -
-

Package com.comphenix.protocol.reflect.instances

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/package-tree.html b/Javadoc/com/comphenix/protocol/reflect/instances/package-tree.html deleted file mode 100644 index 0d8af3b6..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/instances/package-tree.html +++ /dev/null @@ -1,153 +0,0 @@ - - - - - -com.comphenix.protocol.reflect.instances Class Hierarchy - - - - - - - -
- - - - - -
- - -
-

Hierarchy For Package com.comphenix.protocol.reflect.instances

-Package Hierarchies: - -
-
-

Class Hierarchy

- -

Interface Hierarchy

- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/instances/package-use.html b/Javadoc/com/comphenix/protocol/reflect/instances/package-use.html deleted file mode 100644 index 49447801..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/instances/package-use.html +++ /dev/null @@ -1,191 +0,0 @@ - - - - - -Uses of Package com.comphenix.protocol.reflect.instances - - - - - - - -
- - - - - -
- - -
-

Uses of Package
com.comphenix.protocol.reflect.instances

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/package-frame.html b/Javadoc/com/comphenix/protocol/reflect/package-frame.html deleted file mode 100644 index 7373a515..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/package-frame.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - - -com.comphenix.protocol.reflect - - - - -

com.comphenix.protocol.reflect

-
-

Interfaces

- -

Classes

- -

Exceptions

- -
- - diff --git a/Javadoc/com/comphenix/protocol/reflect/package-summary.html b/Javadoc/com/comphenix/protocol/reflect/package-summary.html deleted file mode 100644 index af0fe58a..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/package-summary.html +++ /dev/null @@ -1,217 +0,0 @@ - - - - - -com.comphenix.protocol.reflect - - - - - - - -
- - - - - -
- - -
-

Package com.comphenix.protocol.reflect

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/package-tree.html b/Javadoc/com/comphenix/protocol/reflect/package-tree.html deleted file mode 100644 index 8c018e65..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/package-tree.html +++ /dev/null @@ -1,153 +0,0 @@ - - - - - -com.comphenix.protocol.reflect Class Hierarchy - - - - - - - -
- - - - - -
- - -
-

Hierarchy For Package com.comphenix.protocol.reflect

-Package Hierarchies: - -
-
-

Class Hierarchy

- -

Interface Hierarchy

- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/reflect/package-use.html b/Javadoc/com/comphenix/protocol/reflect/package-use.html deleted file mode 100644 index 5cc2b6d8..00000000 --- a/Javadoc/com/comphenix/protocol/reflect/package-use.html +++ /dev/null @@ -1,344 +0,0 @@ - - - - - -Uses of Package com.comphenix.protocol.reflect - - - - - - - -
- - - - - -
- - -
-

Uses of Package
com.comphenix.protocol.reflect

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/utility/ChatExtensions.html b/Javadoc/com/comphenix/protocol/utility/ChatExtensions.html deleted file mode 100644 index d12048da..00000000 --- a/Javadoc/com/comphenix/protocol/utility/ChatExtensions.html +++ /dev/null @@ -1,313 +0,0 @@ - - - - - -ChatExtensions - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.utility
-

Class ChatExtensions

-
-
- -
-
    -
  • -
    -
    -
    public class ChatExtensions
    -extends java.lang.Object
    -
    Utility methods for sending chat messages.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      voidbroadcastMessageSilently(java.lang.String message, - java.lang.String permission) -
      Broadcast a message without invoking any packet listeners.
      -
      voidsendMessageSilently(org.bukkit.command.CommandSender receiver, - java.lang.String message) -
      Send a message without invoking the packet listeners.
      -
      static java.lang.String[]toFlowerBox(java.lang.String[] message, - java.lang.String marginChar, - int marginWidth, - int marginHeight) -
      Print a flower box around a given message.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        sendMessageSilently

        -
        public void sendMessageSilently(org.bukkit.command.CommandSender receiver,
        -                       java.lang.String message)
        -                         throws java.lang.reflect.InvocationTargetException
        -
        Send a message without invoking the packet listeners.
        -
        Parameters:
        receiver - - the receiver.
        message - - the message to send.
        -
        Throws:
        -
        java.lang.reflect.InvocationTargetException - If we were unable to send the message.
        -
      • -
      - - - -
        -
      • -

        broadcastMessageSilently

        -
        public void broadcastMessageSilently(java.lang.String message,
        -                            java.lang.String permission)
        -                              throws java.lang.reflect.InvocationTargetException
        -
        Broadcast a message without invoking any packet listeners.
        -
        Parameters:
        message - - message to send.
        permission - - permission required to receieve the message. NULL to target everyone.
        -
        Throws:
        -
        java.lang.reflect.InvocationTargetException - If we were unable to send the message.
        -
      • -
      - - - -
        -
      • -

        toFlowerBox

        -
        public static java.lang.String[] toFlowerBox(java.lang.String[] message,
        -                             java.lang.String marginChar,
        -                             int marginWidth,
        -                             int marginHeight)
        -
        Print a flower box around a given message.
        -
        Parameters:
        message - - the message to print.
        marginChar - - the character to use as margin.
        marginWidth - - the width (in characters) of the left and right margin.
        marginHeight - - the height (in characters) of the top and buttom margin.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/utility/MinecraftMethods.html b/Javadoc/com/comphenix/protocol/utility/MinecraftMethods.html deleted file mode 100644 index 35fd3636..00000000 --- a/Javadoc/com/comphenix/protocol/utility/MinecraftMethods.html +++ /dev/null @@ -1,263 +0,0 @@ - - - - - -MinecraftMethods - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.utility
-

Class MinecraftMethods

-
-
- -
-
    -
  • -
    -
    -
    public class MinecraftMethods
    -extends java.lang.Object
    -
    Static methods for accessing Minecraft methods.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      MinecraftMethods() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      static java.lang.reflect.MethodgetSendPacketMethod() -
      Retrieve the send packet method in PlayerConnection/NetServerHandler.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        MinecraftMethods

        -
        public MinecraftMethods()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getSendPacketMethod

        -
        public static java.lang.reflect.Method getSendPacketMethod()
        -
        Retrieve the send packet method in PlayerConnection/NetServerHandler.
        -
        Returns:
        The send packet method.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/utility/MinecraftReflection.html b/Javadoc/com/comphenix/protocol/utility/MinecraftReflection.html deleted file mode 100644 index 10cebe21..00000000 --- a/Javadoc/com/comphenix/protocol/utility/MinecraftReflection.html +++ /dev/null @@ -1,1233 +0,0 @@ - - - - - -MinecraftReflection - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.utility
-

Class MinecraftReflection

-
-
- -
-
    -
  • -
    -
    -
    public class MinecraftReflection
    -extends java.lang.Object
    -
    Methods and constants specifically used in conjuction with reflecting Minecraft object.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      static java.lang.StringMINECRAFT_OBJECT -
      Deprecated. 
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      static java.lang.Class<?>getArrayClass(java.lang.Class<?> componentType) -
      Retrieve the array class of a given component type.
      -
      static java.lang.Class<?>getBlockClass() -
      Retrieve the Block (NMS) class.
      -
      static java.lang.ObjectgetBukkitEntity(java.lang.Object nmsObject) -
      Dynamically retrieve the Bukkit entity from a given entity.
      -
      static org.bukkit.inventory.ItemStackgetBukkitItemStack(org.bukkit.inventory.ItemStack bukkitItemStack) -
      Retrieve a CraftItemStack from a given ItemStack.
      -
      static org.bukkit.inventory.ItemStackgetBukkitItemStack(java.lang.Object minecraftItemStack) -
      Retrieve the Bukkit ItemStack from a given net.minecraft.server ItemStack.
      -
      static java.lang.Class<?>getChunkCoordinatesClass() -
      Retrieve the ChunkPosition class.
      -
      static java.lang.Class<?>getChunkPositionClass() -
      Retrieve the ChunkPosition class.
      -
      static java.lang.ClassgetCraftBukkitClass(java.lang.String className) -
      Retrieve the class object of a specific CraftBukkit class.
      -
      static java.lang.StringgetCraftBukkitPackage() -
      Retrieve the name of the root CraftBukkit package.
      -
      static java.lang.Class<?>getCraftEntityClass() -
      Retrieve the CraftEntity class.
      -
      static java.lang.Class<?>getCraftItemStackClass() -
      Retrieve the CraftItemStack class.
      -
      static java.lang.Class<?>getCraftPlayerClass() -
      Retrieve the CraftPlayer class.
      -
      static java.lang.Class<?>getDataWatcherClass() -
      Retrieve the DataWatcher class.
      -
      static java.lang.Class<?>getEntityClass() -
      Retrieve the entity (NMS) class.
      -
      static java.lang.Class<?>getEntityPlayerClass() -
      Retrieve the EntityPlayer (NMS) class.
      -
      static java.lang.Class<?>getEntityTrackerClass() -
      Retrieve the EntityTracker (NMS) class.
      -
      static java.lang.Class<?>getItemStackArrayClass() -
      Retrieve the ItemStack[] class.
      -
      static java.lang.Class<?>getItemStackClass() -
      Retrieve the NMS ItemStack class.
      -
      static java.lang.Class<?>getMinecraftClass(java.lang.String className) -
      Retrieve the class object of a specific Minecraft class.
      -
      static java.lang.Class<?>getMinecraftClass(java.lang.String className, - java.lang.String... aliases) -
      Retrieve the first class that matches a specified Minecraft name.
      -
      static java.lang.ObjectgetMinecraftItemStack(org.bukkit.inventory.ItemStack stack) -
      Retrieve the net.minecraft.server ItemStack from a Bukkit ItemStack.
      -
      static AbstractFuzzyMatcher<java.lang.Class<?>>getMinecraftObjectMatcher() -
      Retrieve a abstract fuzzy class matcher for Minecraft objects.
      -
      static java.lang.StringgetMinecraftObjectRegex() -
      Retrieve a regular expression that can match Minecraft package objects.
      -
      static java.lang.StringgetMinecraftPackage() -
      Retrieve the name of the Minecraft server package.
      -
      static java.lang.Class<?>getMinecraftServerClass() -
      Retrieve the MinecraftServer class.
      -
      static java.lang.Class<?>getNBTBaseClass() -
      Retrieve the NBT base class.
      -
      static java.lang.Class<?>getNetHandlerClass() -
      Retrieve the NetHandler class (or Connection)
      -
      static java.lang.Class<?>getNetLoginHandlerClass() -
      Retrieve the NetLoginHandler class (or PendingConnection)
      -
      static java.lang.StringgetNetLoginHandlerName() -
      Dynamically retrieve the name of the current NetLoginHandler.
      -
      static java.lang.Class<?>getNetServerHandlerClass() -
      Retrieve the NetServerHandler class (or PlayerConnection)
      -
      static java.lang.Class<?>getNetworkListenThreadClass() -
      Retrieve the NetworkListenThread class (NMS).
      -
      static java.lang.Class<?>getNetworkManagerClass() -
      Retrieve the NetworkManager class or its interface.
      -
      static java.lang.StringgetNetworkManagerName() -
      Dynamically retrieve the NetworkManager name.
      -
      static java.lang.Class<?>getPacketClass() -
      Retrieve the packet class.
      -
      static java.lang.Class<?>getPlayerListClass() -
      Retrieve the player list class (or ServerConfigurationManager),
      -
      static java.lang.Class<?>getServerConnectionClass() -
      Retrieve the ServerConnection abstract class.
      -
      static java.lang.Class<?>getWatchableObjectClass() -
      Retrieve the WatchableObject class.
      -
      static java.lang.Class<?>getWorldServerClass() -
      Retrieve the WorldServer (NMS) class.
      -
      static java.lang.Class<?>getWorldTypeClass() -
      Retrieve the WorldType class.
      -
      static booleanisChunkCoordinates(java.lang.Object obj) -
      Determine if a given object is a ChunkCoordinate.
      -
      static booleanisChunkPosition(java.lang.Object obj) -
      Determine if a given object is a ChunkPosition.
      -
      static booleanisCraftItemStack(java.lang.Object obj) -
      Determine if the given object is a CraftItemStack instancey.
      -
      static booleanisCraftPlayer(java.lang.Object value) -
      Determine if the given object is a CraftPlayer class.
      -
      static booleanisDataWatcher(java.lang.Object obj) -
      Determine if the given object is a data watcher object.
      -
      static booleanisItemStack(java.lang.Object value) -
      Determine if the given object is a NMS ItemStack.
      -
      static booleanisLoginHandler(java.lang.Object obj) -
      Determine if the given object is a NetLoginHandler (PendingConnection)
      -
      static booleanisMinecraftClass(java.lang.Class<?> clazz) -
      Determine if the given class is found within the package net.minecraft.server, or any equivalent package.
      -
      static booleanisMinecraftEntity(java.lang.Object obj) -
      Determine if the given object is actually a Minecraft packet.
      -
      static booleanisMinecraftObject(java.lang.Object obj) -
      Determine if a given object can be found within the package net.minecraft.server.
      -
      static booleanisMinecraftObject(java.lang.Object obj, - java.lang.String className) -
      Determine if a given object is found in net.minecraft.server, and has the given name.
      -
      static booleanisMinecraftPlayer(java.lang.Object obj) -
      Determine if the given object is a Minecraft player entity.
      -
      static booleanisPacketClass(java.lang.Object obj) -
      Determine if the given object is actually a Minecraft packet.
      -
      static booleanisServerHandler(java.lang.Object obj) -
      Determine if the given object is assignable to a NetServerHandler (PlayerConnection)
      -
      static booleanisWatchableObject(java.lang.Object obj) -
      Determine if the given object is a watchable object.
      -
      static voidsetMinecraftPackage(java.lang.String minecraftPackage, - java.lang.String craftBukkitPackage) -
      Used during debugging and testing.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        MINECRAFT_OBJECT

        -
        @Deprecated
        -public static final java.lang.String MINECRAFT_OBJECT
        -
        Deprecated. 
        -
        Regular expression that matches a Minecraft object. -

        - Replaced by the method getMinecraftObjectRegex().

        -
        See Also:
        Constant Field Values
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getMinecraftObjectRegex

        -
        public static java.lang.String getMinecraftObjectRegex()
        -
        Retrieve a regular expression that can match Minecraft package objects.
        -
        Returns:
        Minecraft package matcher.
        -
      • -
      - - - -
        -
      • -

        getMinecraftObjectMatcher

        -
        public static AbstractFuzzyMatcher<java.lang.Class<?>> getMinecraftObjectMatcher()
        -
        Retrieve a abstract fuzzy class matcher for Minecraft objects.
        -
        Returns:
        A matcher for Minecraft objects.
        -
      • -
      - - - -
        -
      • -

        getMinecraftPackage

        -
        public static java.lang.String getMinecraftPackage()
        -
        Retrieve the name of the Minecraft server package.
        -
        Returns:
        Full canonical name of the Minecraft server package.
        -
      • -
      - - - -
        -
      • -

        setMinecraftPackage

        -
        public static void setMinecraftPackage(java.lang.String minecraftPackage,
        -                       java.lang.String craftBukkitPackage)
        -
        Used during debugging and testing.
        -
        Parameters:
        minecraftPackage - - the current Minecraft package.
        craftBukkitPackage - - the current CraftBukkit package.
        -
      • -
      - - - -
        -
      • -

        getCraftBukkitPackage

        -
        public static java.lang.String getCraftBukkitPackage()
        -
        Retrieve the name of the root CraftBukkit package.
        -
        Returns:
        Full canonical name of the root CraftBukkit package.
        -
      • -
      - - - -
        -
      • -

        getBukkitEntity

        -
        public static java.lang.Object getBukkitEntity(java.lang.Object nmsObject)
        -
        Dynamically retrieve the Bukkit entity from a given entity.
        -
        Parameters:
        nmsObject - - the NMS entity.
        -
        Returns:
        A bukkit entity.
        -
        Throws:
        -
        java.lang.RuntimeException - If we were unable to retrieve the Bukkit entity.
        -
      • -
      - - - -
        -
      • -

        isMinecraftObject

        -
        public static boolean isMinecraftObject(@Nonnull
        -                        java.lang.Object obj)
        -
        Determine if a given object can be found within the package net.minecraft.server.
        -
        Parameters:
        obj - - the object to test.
        -
        Returns:
        TRUE if it can, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        isMinecraftClass

        -
        public static boolean isMinecraftClass(@Nonnull
        -                       java.lang.Class<?> clazz)
        -
        Determine if the given class is found within the package net.minecraft.server, or any equivalent package.
        -
        Parameters:
        clazz - - the class to test.
        -
        Returns:
        TRUE if it can, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        isMinecraftObject

        -
        public static boolean isMinecraftObject(@Nonnull
        -                        java.lang.Object obj,
        -                        java.lang.String className)
        -
        Determine if a given object is found in net.minecraft.server, and has the given name.
        -
        Parameters:
        obj - - the object to test.
        className - - the class name to test.
        -
        Returns:
        TRUE if it can, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        isChunkPosition

        -
        public static boolean isChunkPosition(java.lang.Object obj)
        -
        Determine if a given object is a ChunkPosition.
        -
        Parameters:
        obj - - the object to test.
        -
        Returns:
        TRUE if it can, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        isChunkCoordinates

        -
        public static boolean isChunkCoordinates(java.lang.Object obj)
        -
        Determine if a given object is a ChunkCoordinate.
        -
        Parameters:
        obj - - the object to test.
        -
        Returns:
        TRUE if it can, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        isPacketClass

        -
        public static boolean isPacketClass(java.lang.Object obj)
        -
        Determine if the given object is actually a Minecraft packet.
        -
        Parameters:
        obj - - the given object.
        -
        Returns:
        TRUE if it is, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        isLoginHandler

        -
        public static boolean isLoginHandler(java.lang.Object obj)
        -
        Determine if the given object is a NetLoginHandler (PendingConnection)
        -
        Parameters:
        obj - - the given object.
        -
        Returns:
        TRUE if it is, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        isServerHandler

        -
        public static boolean isServerHandler(java.lang.Object obj)
        -
        Determine if the given object is assignable to a NetServerHandler (PlayerConnection)
        -
        Parameters:
        obj - - the given object.
        -
        Returns:
        TRUE if it is, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        isMinecraftEntity

        -
        public static boolean isMinecraftEntity(java.lang.Object obj)
        -
        Determine if the given object is actually a Minecraft packet.
        -
        Parameters:
        obj - - the given object.
        -
        Returns:
        TRUE if it is, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        isItemStack

        -
        public static boolean isItemStack(java.lang.Object value)
        -
        Determine if the given object is a NMS ItemStack.
        -
        Parameters:
        value - - the given object.
        -
        Returns:
        TRUE if it is, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        isCraftPlayer

        -
        public static boolean isCraftPlayer(java.lang.Object value)
        -
        Determine if the given object is a CraftPlayer class.
        -
        Parameters:
        value - - the given object.
        -
        Returns:
        TRUE if it is, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        isMinecraftPlayer

        -
        public static boolean isMinecraftPlayer(java.lang.Object obj)
        -
        Determine if the given object is a Minecraft player entity.
        -
        Parameters:
        obj - - the given object.
        -
        Returns:
        TRUE if it is, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        isWatchableObject

        -
        public static boolean isWatchableObject(java.lang.Object obj)
        -
        Determine if the given object is a watchable object.
        -
        Parameters:
        obj - - the given object.
        -
        Returns:
        TRUE if it is, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        isDataWatcher

        -
        public static boolean isDataWatcher(java.lang.Object obj)
        -
        Determine if the given object is a data watcher object.
        -
        Parameters:
        obj - - the given object.
        -
        Returns:
        TRUE if it is, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        isCraftItemStack

        -
        public static boolean isCraftItemStack(java.lang.Object obj)
        -
        Determine if the given object is a CraftItemStack instancey.
        -
        Parameters:
        obj - - the given object.
        -
        Returns:
        TRUE if it is, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        getEntityPlayerClass

        -
        public static java.lang.Class<?> getEntityPlayerClass()
        -
        Retrieve the EntityPlayer (NMS) class.
        -
        Returns:
        The entity class.
        -
      • -
      - - - -
        -
      • -

        getEntityClass

        -
        public static java.lang.Class<?> getEntityClass()
        -
        Retrieve the entity (NMS) class.
        -
        Returns:
        The entity class.
        -
      • -
      - - - -
        -
      • -

        getWorldServerClass

        -
        public static java.lang.Class<?> getWorldServerClass()
        -
        Retrieve the WorldServer (NMS) class.
        -
        Returns:
        The WorldServer class.
        -
      • -
      - - - -
        -
      • -

        getPacketClass

        -
        public static java.lang.Class<?> getPacketClass()
        -
        Retrieve the packet class.
        -
        Returns:
        The packet class.
        -
      • -
      - - - -
        -
      • -

        getMinecraftServerClass

        -
        public static java.lang.Class<?> getMinecraftServerClass()
        -
        Retrieve the MinecraftServer class.
        -
        Returns:
        MinecraftServer class.
        -
      • -
      - - - -
        -
      • -

        getPlayerListClass

        -
        public static java.lang.Class<?> getPlayerListClass()
        -
        Retrieve the player list class (or ServerConfigurationManager),
        -
        Returns:
        The player list class.
        -
      • -
      - - - -
        -
      • -

        getNetLoginHandlerClass

        -
        public static java.lang.Class<?> getNetLoginHandlerClass()
        -
        Retrieve the NetLoginHandler class (or PendingConnection)
        -
        Returns:
        The NetLoginHandler class.
        -
      • -
      - - - -
        -
      • -

        getNetServerHandlerClass

        -
        public static java.lang.Class<?> getNetServerHandlerClass()
        -
        Retrieve the NetServerHandler class (or PlayerConnection)
        -
        Returns:
        The NetServerHandler class.
        -
      • -
      - - - -
        -
      • -

        getNetworkManagerClass

        -
        public static java.lang.Class<?> getNetworkManagerClass()
        -
        Retrieve the NetworkManager class or its interface.
        -
        Returns:
        The NetworkManager class or its interface.
        -
      • -
      - - - -
        -
      • -

        getNetHandlerClass

        -
        public static java.lang.Class<?> getNetHandlerClass()
        -
        Retrieve the NetHandler class (or Connection)
        -
        Returns:
        The NetHandler class.
        -
      • -
      - - - -
        -
      • -

        getItemStackClass

        -
        public static java.lang.Class<?> getItemStackClass()
        -
        Retrieve the NMS ItemStack class.
        -
        Returns:
        The ItemStack class.
        -
      • -
      - - - -
        -
      • -

        getBlockClass

        -
        public static java.lang.Class<?> getBlockClass()
        -
        Retrieve the Block (NMS) class.
        -
        Returns:
        Block (NMS) class.
        -
      • -
      - - - -
        -
      • -

        getWorldTypeClass

        -
        public static java.lang.Class<?> getWorldTypeClass()
        -
        Retrieve the WorldType class.
        -
        Returns:
        The WorldType class.
        -
      • -
      - - - -
        -
      • -

        getDataWatcherClass

        -
        public static java.lang.Class<?> getDataWatcherClass()
        -
        Retrieve the DataWatcher class.
        -
        Returns:
        The DataWatcher class.
        -
      • -
      - - - -
        -
      • -

        getChunkPositionClass

        -
        public static java.lang.Class<?> getChunkPositionClass()
        -
        Retrieve the ChunkPosition class.
        -
        Returns:
        The ChunkPosition class.
        -
      • -
      - - - -
        -
      • -

        getChunkCoordinatesClass

        -
        public static java.lang.Class<?> getChunkCoordinatesClass()
        -
        Retrieve the ChunkPosition class.
        -
        Returns:
        The ChunkPosition class.
        -
      • -
      - - - -
        -
      • -

        getWatchableObjectClass

        -
        public static java.lang.Class<?> getWatchableObjectClass()
        -
        Retrieve the WatchableObject class.
        -
        Returns:
        The WatchableObject class.
        -
      • -
      - - - -
        -
      • -

        getServerConnectionClass

        -
        public static java.lang.Class<?> getServerConnectionClass()
        -
        Retrieve the ServerConnection abstract class.
        -
        Returns:
        The ServerConnection class.
        -
      • -
      - - - -
        -
      • -

        getNBTBaseClass

        -
        public static java.lang.Class<?> getNBTBaseClass()
        -
        Retrieve the NBT base class.
        -
        Returns:
        The NBT base class.
        -
      • -
      - - - -
        -
      • -

        getEntityTrackerClass

        -
        public static java.lang.Class<?> getEntityTrackerClass()
        -
        Retrieve the EntityTracker (NMS) class.
        -
        Returns:
        EntityTracker class.
        -
      • -
      - - - -
        -
      • -

        getNetworkListenThreadClass

        -
        public static java.lang.Class<?> getNetworkListenThreadClass()
        -
        Retrieve the NetworkListenThread class (NMS). -

        - Note that this class was removed after Minecraft 1.3.1.

        -
        Returns:
        NetworkListenThread class.
        -
      • -
      - - - -
        -
      • -

        getItemStackArrayClass

        -
        public static java.lang.Class<?> getItemStackArrayClass()
        -
        Retrieve the ItemStack[] class.
        -
        Returns:
        The ItemStack[] class.
        -
      • -
      - - - -
        -
      • -

        getArrayClass

        -
        public static java.lang.Class<?> getArrayClass(java.lang.Class<?> componentType)
        -
        Retrieve the array class of a given component type.
        -
        Parameters:
        componentType - - type of each element in the array.
        -
        Returns:
        The class of the array.
        -
      • -
      - - - -
        -
      • -

        getCraftItemStackClass

        -
        public static java.lang.Class<?> getCraftItemStackClass()
        -
        Retrieve the CraftItemStack class.
        -
        Returns:
        The CraftItemStack class.
        -
      • -
      - - - -
        -
      • -

        getCraftPlayerClass

        -
        public static java.lang.Class<?> getCraftPlayerClass()
        -
        Retrieve the CraftPlayer class.
        -
        Returns:
        CraftPlayer class.
        -
      • -
      - - - -
        -
      • -

        getCraftEntityClass

        -
        public static java.lang.Class<?> getCraftEntityClass()
        -
        Retrieve the CraftEntity class.
        -
        Returns:
        CraftEntity class.
        -
      • -
      - - - -
        -
      • -

        getBukkitItemStack

        -
        public static org.bukkit.inventory.ItemStack getBukkitItemStack(org.bukkit.inventory.ItemStack bukkitItemStack)
        -
        Retrieve a CraftItemStack from a given ItemStack.
        -
        Parameters:
        bukkitItemStack - - the Bukkit ItemStack to convert.
        -
        Returns:
        A CraftItemStack as an ItemStack.
        -
      • -
      - - - -
        -
      • -

        getBukkitItemStack

        -
        public static org.bukkit.inventory.ItemStack getBukkitItemStack(java.lang.Object minecraftItemStack)
        -
        Retrieve the Bukkit ItemStack from a given net.minecraft.server ItemStack.
        -
        Parameters:
        minecraftItemStack - - the NMS ItemStack to wrap.
        -
        Returns:
        The wrapped ItemStack.
        -
      • -
      - - - -
        -
      • -

        getMinecraftItemStack

        -
        public static java.lang.Object getMinecraftItemStack(org.bukkit.inventory.ItemStack stack)
        -
        Retrieve the net.minecraft.server ItemStack from a Bukkit ItemStack.
        -
        Parameters:
        stack - - the Bukkit ItemStack to convert.
        -
        Returns:
        The NMS ItemStack.
        -
      • -
      - - - -
        -
      • -

        getCraftBukkitClass

        -
        public static java.lang.Class getCraftBukkitClass(java.lang.String className)
        -
        Retrieve the class object of a specific CraftBukkit class.
        -
        Parameters:
        className - - the specific CraftBukkit class.
        -
        Returns:
        Class object.
        -
        Throws:
        -
        java.lang.RuntimeException - If we are unable to find the given class.
        -
      • -
      - - - -
        -
      • -

        getMinecraftClass

        -
        public static java.lang.Class<?> getMinecraftClass(java.lang.String className)
        -
        Retrieve the class object of a specific Minecraft class.
        -
        Parameters:
        className - - the specific Minecraft class.
        -
        Returns:
        Class object.
        -
        Throws:
        -
        java.lang.RuntimeException - If we are unable to find the given class.
        -
      • -
      - - - -
        -
      • -

        getMinecraftClass

        -
        public static java.lang.Class<?> getMinecraftClass(java.lang.String className,
        -                                   java.lang.String... aliases)
        -
        Retrieve the first class that matches a specified Minecraft name.
        -
        Parameters:
        className - - the specific Minecraft class.
        aliases - - alternative names for this Minecraft class.
        -
        Returns:
        Class object.
        -
        Throws:
        -
        java.lang.RuntimeException - If we are unable to find any of the given classes.
        -
      • -
      - - - -
        -
      • -

        getNetworkManagerName

        -
        public static java.lang.String getNetworkManagerName()
        -
        Dynamically retrieve the NetworkManager name.
        -
        Returns:
        Name of the NetworkManager class.
        -
      • -
      - - - -
        -
      • -

        getNetLoginHandlerName

        -
        public static java.lang.String getNetLoginHandlerName()
        -
        Dynamically retrieve the name of the current NetLoginHandler.
        -
        Returns:
        Name of the NetLoginHandler class.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/utility/MinecraftVersion.html b/Javadoc/com/comphenix/protocol/utility/MinecraftVersion.html deleted file mode 100644 index 7adec85d..00000000 --- a/Javadoc/com/comphenix/protocol/utility/MinecraftVersion.html +++ /dev/null @@ -1,486 +0,0 @@ - - - - - -MinecraftVersion - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.utility
-

Class MinecraftVersion

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.lang.Comparable<MinecraftVersion>
    -
    -
    -
    -
    public class MinecraftVersion
    -extends java.lang.Object
    -implements java.lang.Comparable<MinecraftVersion>
    -
    Determine the current Minecraft version.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - - - - - - - -
      Constructors 
      Constructor and Description
      MinecraftVersion(int major, - int minor, - int build) -
      Construct a version object directly.
      -
      MinecraftVersion(int major, - int minor, - int build, - java.lang.String development) -
      Construct a version object directly.
      -
      MinecraftVersion(org.bukkit.Server server) -
      Determine the current Minecraft version.
      -
      MinecraftVersion(java.lang.String versionOnly) -
      Construct a version object from the format major.minor.build.
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      intcompareTo(MinecraftVersion o) 
      booleanequals(java.lang.Object obj) 
      static java.lang.StringextractVersion(java.lang.String text) -
      Extract the Minecraft version from CraftBukkit itself.
      -
      intgetBuild() -
      Build version number
      -
      java.lang.StringgetDevelopmentStage() -
      Retrieve the development stage.
      -
      intgetMajor() -
      Major version number
      -
      intgetMinor() -
      Minor version number
      -
      java.lang.StringgetVersion() -
      Retrieve the version String (major.minor.build) only.
      -
      inthashCode() 
      java.lang.StringtoString() 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        MinecraftVersion

        -
        public MinecraftVersion(org.bukkit.Server server)
        -
        Determine the current Minecraft version.
        -
        Parameters:
        server - - the Bukkit server that will be used to examine the MC version.
        -
      • -
      - - - -
        -
      • -

        MinecraftVersion

        -
        public MinecraftVersion(java.lang.String versionOnly)
        -
        Construct a version object from the format major.minor.build.
        -
        Parameters:
        versionOnly - - the version in text form.
        -
      • -
      - - - -
        -
      • -

        MinecraftVersion

        -
        public MinecraftVersion(int major,
        -                int minor,
        -                int build)
        -
        Construct a version object directly.
        -
        Parameters:
        major - - major version number.
        minor - - minor version number.
        build - - build version number.
        -
      • -
      - - - -
        -
      • -

        MinecraftVersion

        -
        public MinecraftVersion(int major,
        -                int minor,
        -                int build,
        -                java.lang.String development)
        -
        Construct a version object directly.
        -
        Parameters:
        major - - major version number.
        minor - - minor version number.
        build - - build version number.
        development - - development stage.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getMajor

        -
        public int getMajor()
        -
        Major version number
        -
        Returns:
        Current major version number.
        -
      • -
      - - - -
        -
      • -

        getMinor

        -
        public int getMinor()
        -
        Minor version number
        -
        Returns:
        Current minor version number.
        -
      • -
      - - - -
        -
      • -

        getBuild

        -
        public int getBuild()
        -
        Build version number
        -
        Returns:
        Current build version number.
        -
      • -
      - - - -
        -
      • -

        getDevelopmentStage

        -
        public java.lang.String getDevelopmentStage()
        -
        Retrieve the development stage.
        -
        Returns:
        Development stage, or NULL if this is a release.
        -
      • -
      - - - -
        -
      • -

        getVersion

        -
        public java.lang.String getVersion()
        -
        Retrieve the version String (major.minor.build) only.
        -
        Returns:
        A normal version string.
        -
      • -
      - - - - - - - -
        -
      • -

        equals

        -
        public boolean equals(java.lang.Object obj)
        -
        -
        Overrides:
        -
        equals in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        hashCode

        -
        public int hashCode()
        -
        -
        Overrides:
        -
        hashCode in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        extractVersion

        -
        public static java.lang.String extractVersion(java.lang.String text)
        -
        Extract the Minecraft version from CraftBukkit itself.
        -
        Parameters:
        server - - the server object representing CraftBukkit.
        -
        Returns:
        The underlying MC version.
        -
        Throws:
        -
        java.lang.IllegalStateException - If we could not parse the version string.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/utility/StreamSerializer.html b/Javadoc/com/comphenix/protocol/utility/StreamSerializer.html deleted file mode 100644 index 62880ab5..00000000 --- a/Javadoc/com/comphenix/protocol/utility/StreamSerializer.html +++ /dev/null @@ -1,344 +0,0 @@ - - - - - -StreamSerializer - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.utility
-

Class StreamSerializer

-
-
- -
-
    -
  • -
    -
    -
    public class StreamSerializer
    -extends java.lang.Object
    -
    Utility methods for reading and writing Minecraft objects to streams.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      StreamSerializer() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      org.bukkit.inventory.ItemStackdeserializeItemStack(java.io.DataInputStream input) -
      Read or deserialize an item stack from an underlying input stream.
      -
      org.bukkit.inventory.ItemStackdeserializeItemStack(java.lang.String input) -
      Deserialize an item stack from a base-64 encoded string.
      -
      voidserializeItemStack(java.io.DataOutputStream output, - org.bukkit.inventory.ItemStack stack) -
      Write or serialize an item stack to the given output stream.
      -
      java.lang.StringserializeItemStack(org.bukkit.inventory.ItemStack stack) -
      Serialize an item stack as a base-64 encoded string.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        StreamSerializer

        -
        public StreamSerializer()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        deserializeItemStack

        -
        public org.bukkit.inventory.ItemStack deserializeItemStack(@Nonnull
        -                                                  java.io.DataInputStream input)
        -                                                    throws java.io.IOException
        -
        Read or deserialize an item stack from an underlying input stream. -

        - To supply a byte array, wrap it in a ByteArrayInputStream - and DataInputStream.

        -
        Parameters:
        input - - the target input stream.
        -
        Returns:
        The resulting item stack, or NULL if the serialized item stack was NULL.
        -
        Throws:
        -
        java.io.IOException - If the operation failed due to reflection or corrupt data.
        -
      • -
      - - - -
        -
      • -

        deserializeItemStack

        -
        public org.bukkit.inventory.ItemStack deserializeItemStack(@Nonnull
        -                                                  java.lang.String input)
        -                                                    throws java.io.IOException
        -
        Deserialize an item stack from a base-64 encoded string.
        -
        Parameters:
        input - - base-64 encoded string.
        -
        Returns:
        A deserialized item stack, or NULL if the serialized ItemStack was also NULL.
        -
        Throws:
        -
        java.io.IOException - If the operation failed due to reflection or corrupt data.
        -
      • -
      - - - -
        -
      • -

        serializeItemStack

        -
        public void serializeItemStack(@Nonnull
        -                      java.io.DataOutputStream output,
        -                      org.bukkit.inventory.ItemStack stack)
        -                        throws java.io.IOException
        -
        Write or serialize an item stack to the given output stream. -

        - To supply a byte array, wrap it in a ByteArrayOutputStream - and DataOutputStream. -

        - Note: An ItemStack can be written to a stream even if it's NULL.

        -
        Parameters:
        output - - the target output stream.
        stack - - the item stack that will be written, or NULL to represent air/nothing.
        -
        Throws:
        -
        java.io.IOException - If the operation fails due to reflection problems.
        -
      • -
      - - - -
        -
      • -

        serializeItemStack

        -
        public java.lang.String serializeItemStack(org.bukkit.inventory.ItemStack stack)
        -                                    throws java.io.IOException
        -
        Serialize an item stack as a base-64 encoded string. -

        - Note: An ItemStack can be written to the serialized text even if it's NULL.

        -
        Parameters:
        stack - - the item stack to serialize, or NULL to represent air/nothing.
        -
        Returns:
        A base-64 representation of the given item stack.
        -
        Throws:
        -
        java.io.IOException - If the operation fails due to reflection problems.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/utility/WrappedScheduler.TaskWrapper.html b/Javadoc/com/comphenix/protocol/utility/WrappedScheduler.TaskWrapper.html deleted file mode 100644 index c159a2b4..00000000 --- a/Javadoc/com/comphenix/protocol/utility/WrappedScheduler.TaskWrapper.html +++ /dev/null @@ -1,214 +0,0 @@ - - - - - -WrappedScheduler.TaskWrapper - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.utility
-

Interface WrappedScheduler.TaskWrapper

-
-
-
-
    -
  • -
    -
    Enclosing class:
    -
    WrappedScheduler
    -
    -
    -
    -
    public static interface WrappedScheduler.TaskWrapper
    -
    Represents a backwards compatible Bukkit task.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      voidcancel() -
      Cancel the current task.
      -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        cancel

        -
        void cancel()
        -
        Cancel the current task.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/utility/WrappedScheduler.html b/Javadoc/com/comphenix/protocol/utility/WrappedScheduler.html deleted file mode 100644 index f42d142f..00000000 --- a/Javadoc/com/comphenix/protocol/utility/WrappedScheduler.html +++ /dev/null @@ -1,339 +0,0 @@ - - - - - -WrappedScheduler - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.utility
-

Class WrappedScheduler

-
-
- -
-
    -
  • -
    -
    -
    public class WrappedScheduler
    -extends java.lang.Object
    -
    Allows us to stay backwards compatible with older versions of Bukkit.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Nested Class Summary

      - - - - - - - - - - -
      Nested Classes 
      Modifier and TypeClass and Description
      static interface WrappedScheduler.TaskWrapper -
      Represents a backwards compatible Bukkit task.
      -
      -
    • -
    - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      WrappedScheduler() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      static WrappedScheduler.TaskWrapperrunAsynchronouslyOnce(org.bukkit.plugin.Plugin plugin, - java.lang.Runnable runnable, - long firstDelay) -
      Schedule a given task for a single asynchronous execution.
      -
      static WrappedScheduler.TaskWrapperrunAsynchronouslyRepeat(org.bukkit.plugin.Plugin plugin, - org.bukkit.scheduler.BukkitScheduler scheduler, - java.lang.Runnable runnable, - long firstDelay, - long repeatDelay) -
      Schedule a given task for asynchronous execution.
      -
      static WrappedScheduler.TaskWrapperrunAsynchronouslyRepeat(org.bukkit.plugin.Plugin plugin, - java.lang.Runnable runnable, - long firstDelay, - long repeatDelay) -
      Schedule a given task for multiple asynchronous executions.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        WrappedScheduler

        -
        public WrappedScheduler()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        runAsynchronouslyOnce

        -
        public static WrappedScheduler.TaskWrapper runAsynchronouslyOnce(org.bukkit.plugin.Plugin plugin,
        -                                                 java.lang.Runnable runnable,
        -                                                 long firstDelay)
        -
        Schedule a given task for a single asynchronous execution.
        -
        Parameters:
        plugin - - the owner plugin.
        runnable - - the task to run.
        firstDelay - - the amount of time to wait until executing the task.
        -
        Returns:
        A cancel token.
        -
      • -
      - - - -
        -
      • -

        runAsynchronouslyRepeat

        -
        public static WrappedScheduler.TaskWrapper runAsynchronouslyRepeat(org.bukkit.plugin.Plugin plugin,
        -                                                   java.lang.Runnable runnable,
        -                                                   long firstDelay,
        -                                                   long repeatDelay)
        -
        Schedule a given task for multiple asynchronous executions.
        -
        Parameters:
        plugin - - the owner plugin.
        runnable - - the task to run.
        firstDelay - - the amount of time to wait until executing the task for the first time.
        repeatDelay - - the amount of time inbetween each execution. If less than zero, the task is only executed once.
        -
        Returns:
        A cancel token.
        -
      • -
      - - - -
        -
      • -

        runAsynchronouslyRepeat

        -
        public static WrappedScheduler.TaskWrapper runAsynchronouslyRepeat(org.bukkit.plugin.Plugin plugin,
        -                                                   org.bukkit.scheduler.BukkitScheduler scheduler,
        -                                                   java.lang.Runnable runnable,
        -                                                   long firstDelay,
        -                                                   long repeatDelay)
        -
        Schedule a given task for asynchronous execution.
        -
        Parameters:
        plugin - - the owner plugin.
        scheduler - - the current Bukkit scheduler.
        runnable - - the task to run.
        firstDelay - - the amount of time to wait until executing the task for the first time.
        repeatDelay - - the amount of time inbetween each execution. If less than zero, the task is only executed once.
        -
        Returns:
        A cancel token.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/utility/class-use/ChatExtensions.html b/Javadoc/com/comphenix/protocol/utility/class-use/ChatExtensions.html deleted file mode 100644 index 98ac22be..00000000 --- a/Javadoc/com/comphenix/protocol/utility/class-use/ChatExtensions.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.utility.ChatExtensions - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.utility.ChatExtensions

-
-
No usage of com.comphenix.protocol.utility.ChatExtensions
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/utility/class-use/MinecraftMethods.html b/Javadoc/com/comphenix/protocol/utility/class-use/MinecraftMethods.html deleted file mode 100644 index 16369265..00000000 --- a/Javadoc/com/comphenix/protocol/utility/class-use/MinecraftMethods.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.utility.MinecraftMethods - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.utility.MinecraftMethods

-
-
No usage of com.comphenix.protocol.utility.MinecraftMethods
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/utility/class-use/MinecraftReflection.html b/Javadoc/com/comphenix/protocol/utility/class-use/MinecraftReflection.html deleted file mode 100644 index a51117eb..00000000 --- a/Javadoc/com/comphenix/protocol/utility/class-use/MinecraftReflection.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.utility.MinecraftReflection - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.utility.MinecraftReflection

-
-
No usage of com.comphenix.protocol.utility.MinecraftReflection
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/utility/class-use/MinecraftVersion.html b/Javadoc/com/comphenix/protocol/utility/class-use/MinecraftVersion.html deleted file mode 100644 index f00597d4..00000000 --- a/Javadoc/com/comphenix/protocol/utility/class-use/MinecraftVersion.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.utility.MinecraftVersion - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.utility.MinecraftVersion

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/utility/class-use/StreamSerializer.html b/Javadoc/com/comphenix/protocol/utility/class-use/StreamSerializer.html deleted file mode 100644 index fd8e57b6..00000000 --- a/Javadoc/com/comphenix/protocol/utility/class-use/StreamSerializer.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.utility.StreamSerializer - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.utility.StreamSerializer

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/utility/class-use/WrappedScheduler.TaskWrapper.html b/Javadoc/com/comphenix/protocol/utility/class-use/WrappedScheduler.TaskWrapper.html deleted file mode 100644 index f30c9d11..00000000 --- a/Javadoc/com/comphenix/protocol/utility/class-use/WrappedScheduler.TaskWrapper.html +++ /dev/null @@ -1,178 +0,0 @@ - - - - - -Uses of Interface com.comphenix.protocol.utility.WrappedScheduler.TaskWrapper - - - - - - - -
- - - - - -
- - -
-

Uses of Interface
com.comphenix.protocol.utility.WrappedScheduler.TaskWrapper

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/utility/class-use/WrappedScheduler.html b/Javadoc/com/comphenix/protocol/utility/class-use/WrappedScheduler.html deleted file mode 100644 index a353ac84..00000000 --- a/Javadoc/com/comphenix/protocol/utility/class-use/WrappedScheduler.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.utility.WrappedScheduler - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.utility.WrappedScheduler

-
-
No usage of com.comphenix.protocol.utility.WrappedScheduler
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/utility/package-frame.html b/Javadoc/com/comphenix/protocol/utility/package-frame.html deleted file mode 100644 index db5209ef..00000000 --- a/Javadoc/com/comphenix/protocol/utility/package-frame.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - -com.comphenix.protocol.utility - - - - -

com.comphenix.protocol.utility

-
-

Interfaces

- -

Classes

- -
- - diff --git a/Javadoc/com/comphenix/protocol/utility/package-summary.html b/Javadoc/com/comphenix/protocol/utility/package-summary.html deleted file mode 100644 index 025e4f39..00000000 --- a/Javadoc/com/comphenix/protocol/utility/package-summary.html +++ /dev/null @@ -1,182 +0,0 @@ - - - - - -com.comphenix.protocol.utility - - - - - - - -
- - - - - -
- - -
-

Package com.comphenix.protocol.utility

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/utility/package-tree.html b/Javadoc/com/comphenix/protocol/utility/package-tree.html deleted file mode 100644 index 2e46e42a..00000000 --- a/Javadoc/com/comphenix/protocol/utility/package-tree.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - -com.comphenix.protocol.utility Class Hierarchy - - - - - - - -
- - - - - -
- - -
-

Hierarchy For Package com.comphenix.protocol.utility

-Package Hierarchies: - -
-
-

Class Hierarchy

- -

Interface Hierarchy

- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/utility/package-use.html b/Javadoc/com/comphenix/protocol/utility/package-use.html deleted file mode 100644 index aa4a7daf..00000000 --- a/Javadoc/com/comphenix/protocol/utility/package-use.html +++ /dev/null @@ -1,176 +0,0 @@ - - - - - -Uses of Package com.comphenix.protocol.utility - - - - - - - -
- - - - - -
- - -
-

Uses of Package
com.comphenix.protocol.utility

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/BukkitConverters.html b/Javadoc/com/comphenix/protocol/wrappers/BukkitConverters.html deleted file mode 100644 index 42160c87..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/BukkitConverters.html +++ /dev/null @@ -1,382 +0,0 @@ - - - - - -BukkitConverters - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.wrappers
-

Class BukkitConverters

-
-
- -
-
    -
  • -
    -
    -
    public class BukkitConverters
    -extends java.lang.Object
    -
    Contains several useful equivalent converters for normal Bukkit types.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        BukkitConverters

        -
        public BukkitConverters()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - - - - - -
        -
      • -

        getWatchableObjectConverter

        -
        public static EquivalentConverter<WrappedWatchableObject> getWatchableObjectConverter()
        -
        Retrieve a converter for watchable objects and the respective wrapper.
        -
        Returns:
        A watchable object converter.
        -
      • -
      - - - -
        -
      • -

        getDataWatcherConverter

        -
        public static EquivalentConverter<WrappedDataWatcher> getDataWatcherConverter()
        -
        Retrieve a converter for the NMS DataWatcher class and our wrapper.
        -
        Returns:
        A DataWatcher converter.
        -
      • -
      - - - -
        -
      • -

        getWorldTypeConverter

        -
        public static EquivalentConverter<org.bukkit.WorldType> getWorldTypeConverter()
        -
        Retrieve a converter for Bukkit's world type enum and the NMS equivalent.
        -
        Returns:
        A world type enum converter.
        -
      • -
      - - - -
        -
      • -

        getNbtConverter

        -
        public static EquivalentConverter<NbtBase<?>> getNbtConverter()
        -
        Retrieve an equivalent converter for net.minecraft.server NBT classes and their wrappers.
        -
        Returns:
        An equivalent converter for NBT.
        -
      • -
      - - - -
        -
      • -

        getEntityConverter

        -
        public static EquivalentConverter<org.bukkit.entity.Entity> getEntityConverter(org.bukkit.World world)
        -
        Retrieve a converter for NMS entities and Bukkit entities.
        -
        Parameters:
        world - - the current world.
        -
        Returns:
        A converter between the underlying NMS entity and Bukkit's wrapper.
        -
      • -
      - - - -
        -
      • -

        getItemStackConverter

        -
        public static EquivalentConverter<org.bukkit.inventory.ItemStack> getItemStackConverter()
        -
        Retrieve the converter used to convert NMS ItemStacks to Bukkit's ItemStack.
        -
        Returns:
        Item stack converter.
        -
      • -
      - - - -
        -
      • -

        getIgnoreNull

        -
        public static <TType> EquivalentConverter<TType> getIgnoreNull(EquivalentConverter<TType> delegate)
        -
        Wraps a given equivalent converter in NULL checks, ensuring that such values are ignored.
        -
        Parameters:
        delegate - - the underlying equivalent converter.
        -
        Returns:
        A equivalent converter that ignores NULL values.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/ChunkPosition.html b/Javadoc/com/comphenix/protocol/wrappers/ChunkPosition.html deleted file mode 100644 index 7808ee53..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/ChunkPosition.html +++ /dev/null @@ -1,538 +0,0 @@ - - - - - -ChunkPosition - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.wrappers
-

Class ChunkPosition

-
-
- -
-
    -
  • -
    -
    -
    public class ChunkPosition
    -extends java.lang.Object
    -
    Copies a immutable net.minecraft.server.ChunkPosition, which represents a integer 3D vector.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      static ChunkPositionORIGIN -
      Represents the null (0, 0, 0) origin.
      -
      protected intx 
      protected inty 
      protected intz 
      -
    • -
    - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - -
      Constructors 
      Constructor and Description
      ChunkPosition(int x, - int y, - int z) -
      Construct an immutable 3D vector.
      -
      ChunkPosition(org.bukkit.util.Vector vector) -
      Construct an immutable integer 3D vector from a mutable Bukkit vector.
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      ChunkPositionadd(ChunkPosition other) -
      Adds the current position and a given position together, producing a result position.
      -
      ChunkPositiondivide(int divisor) -
      Divide each dimension in the current position by the given divisor.
      -
      booleanequals(java.lang.Object obj) 
      static EquivalentConverter<ChunkPosition>getConverter() -
      Used to convert between NMS ChunkPosition and the wrapper instance.
      -
      intgetX() -
      Retrieve the x-coordinate.
      -
      intgetY() -
      Retrieve the y-coordinate.
      -
      intgetZ() -
      Retrieve the z-coordinate.
      -
      inthashCode() 
      ChunkPositionmultiply(int factor) -
      Multiply each dimension in the current position by the given factor.
      -
      ChunkPositionsubtract(ChunkPosition other) -
      Adds the current position and a given position together, producing a result position.
      -
      org.bukkit.util.VectortoVector() -
      Convert this instance to an equivalent real 3D vector.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        ORIGIN

        -
        public static ChunkPosition ORIGIN
        -
        Represents the null (0, 0, 0) origin.
        -
      • -
      - - - -
        -
      • -

        x

        -
        protected final int x
        -
      • -
      - - - -
        -
      • -

        y

        -
        protected final int y
        -
      • -
      - - - -
        -
      • -

        z

        -
        protected final int z
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ChunkPosition

        -
        public ChunkPosition(int x,
        -             int y,
        -             int z)
        -
        Construct an immutable 3D vector.
        -
      • -
      - - - -
        -
      • -

        ChunkPosition

        -
        public ChunkPosition(org.bukkit.util.Vector vector)
        -
        Construct an immutable integer 3D vector from a mutable Bukkit vector.
        -
        Parameters:
        vector - - the mutable real Bukkit vector to copy.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        toVector

        -
        public org.bukkit.util.Vector toVector()
        -
        Convert this instance to an equivalent real 3D vector.
        -
        Returns:
        Real 3D vector.
        -
      • -
      - - - -
        -
      • -

        getX

        -
        public int getX()
        -
        Retrieve the x-coordinate.
        -
        Returns:
        X coordinate.
        -
      • -
      - - - -
        -
      • -

        getY

        -
        public int getY()
        -
        Retrieve the y-coordinate.
        -
        Returns:
        Y coordinate.
        -
      • -
      - - - -
        -
      • -

        getZ

        -
        public int getZ()
        -
        Retrieve the z-coordinate.
        -
        Returns:
        Z coordinate.
        -
      • -
      - - - -
        -
      • -

        add

        -
        public ChunkPosition add(ChunkPosition other)
        -
        Adds the current position and a given position together, producing a result position.
        -
        Parameters:
        other - - the other position.
        -
        Returns:
        The new result position.
        -
      • -
      - - - -
        -
      • -

        subtract

        -
        public ChunkPosition subtract(ChunkPosition other)
        -
        Adds the current position and a given position together, producing a result position.
        -
        Parameters:
        other - - the other position.
        -
        Returns:
        The new result position.
        -
      • -
      - - - -
        -
      • -

        multiply

        -
        public ChunkPosition multiply(int factor)
        -
        Multiply each dimension in the current position by the given factor.
        -
        Parameters:
        factor - - multiplier.
        -
        Returns:
        The new result.
        -
      • -
      - - - -
        -
      • -

        divide

        -
        public ChunkPosition divide(int divisor)
        -
        Divide each dimension in the current position by the given divisor.
        -
        Parameters:
        divisor - - the divisor.
        -
        Returns:
        The new result.
        -
      • -
      - - - -
        -
      • -

        getConverter

        -
        public static EquivalentConverter<ChunkPosition> getConverter()
        -
        Used to convert between NMS ChunkPosition and the wrapper instance.
        -
        Returns:
        A new converter.
        -
      • -
      - - - -
        -
      • -

        equals

        -
        public boolean equals(java.lang.Object obj)
        -
        -
        Overrides:
        -
        equals in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        hashCode

        -
        public int hashCode()
        -
        -
        Overrides:
        -
        hashCode in class java.lang.Object
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/TroveWrapper.html b/Javadoc/com/comphenix/protocol/wrappers/TroveWrapper.html deleted file mode 100644 index c0e262c8..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/TroveWrapper.html +++ /dev/null @@ -1,315 +0,0 @@ - - - - - -TroveWrapper - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.wrappers
-

Class TroveWrapper

-
-
- -
-
    -
  • -
    -
    -
    public class TroveWrapper
    -extends java.lang.Object
    -
    Wrap a GNU Trove Collection class with an equivalent Java Collection class.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      TroveWrapper() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      static <TValue> java.util.List<TValue>getDecoratedList(java.lang.Object troveList) -
      Retrieve a Java wrapper for the corresponding Trove list.
      -
      static <TKey,TValue> 
      java.util.Map<TKey,TValue>
      getDecoratedMap(java.lang.Object troveMap) -
      Retrieve a Java wrapper for the corresponding Trove map.
      -
      static <TValue> java.util.Set<TValue>getDecoratedSet(java.lang.Object troveSet) -
      Retrieve a Java wrapper for the corresponding Trove set.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        TroveWrapper

        -
        public TroveWrapper()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getDecoratedMap

        -
        public static <TKey,TValue> java.util.Map<TKey,TValue> getDecoratedMap(@Nonnull
        -                                                       java.lang.Object troveMap)
        -
        Retrieve a Java wrapper for the corresponding Trove map.
        -
        Parameters:
        troveMap - - the trove map to wrap.
        -
        Returns:
        The wrapped GNU Trove map.
        -
        Throws:
        -
        java.lang.IllegalStateException - If GNU Trove cannot be found in the class map.
        -
        java.lang.IllegalArgumentException - If troveMap is NULL.
        -
        FieldAccessException - Error in wrapper method or lack of reflection permissions.
        -
      • -
      - - - -
        -
      • -

        getDecoratedSet

        -
        public static <TValue> java.util.Set<TValue> getDecoratedSet(@Nonnull
        -                                             java.lang.Object troveSet)
        -
        Retrieve a Java wrapper for the corresponding Trove set.
        -
        Parameters:
        troveSet - - the trove set to wrap.
        -
        Returns:
        The wrapped GNU Trove set.
        -
        Throws:
        -
        java.lang.IllegalStateException - If GNU Trove cannot be found in the class map.
        -
        java.lang.IllegalArgumentException - If troveSet is NULL.
        -
        FieldAccessException - Error in wrapper method or lack of reflection permissions.
        -
      • -
      - - - -
        -
      • -

        getDecoratedList

        -
        public static <TValue> java.util.List<TValue> getDecoratedList(@Nonnull
        -                                               java.lang.Object troveList)
        -
        Retrieve a Java wrapper for the corresponding Trove list.
        -
        Parameters:
        troveList - - the trove list to wrap.
        -
        Returns:
        The wrapped GNU Trove list.
        -
        Throws:
        -
        java.lang.IllegalStateException - If GNU Trove cannot be found in the class map.
        -
        java.lang.IllegalArgumentException - If troveList is NULL.
        -
        FieldAccessException - Error in wrapper method or lack of reflection permissions.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/WrappedChunkCoordinate.html b/Javadoc/com/comphenix/protocol/wrappers/WrappedChunkCoordinate.html deleted file mode 100644 index a7f60adb..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/WrappedChunkCoordinate.html +++ /dev/null @@ -1,525 +0,0 @@ - - - - - -WrappedChunkCoordinate - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.wrappers
-

Class WrappedChunkCoordinate

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.lang.Comparable<WrappedChunkCoordinate>
    -
    -
    -
    -
    public class WrappedChunkCoordinate
    -extends java.lang.Object
    -implements java.lang.Comparable<WrappedChunkCoordinate>
    -
    Allows access to a chunk coordinate.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      protected java.lang.Comparablehandle 
      -
    • -
    - - - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      intcompareTo(WrappedChunkCoordinate other) 
      booleanequals(java.lang.Object other) 
      java.lang.ObjectgetHandle() 
      intgetX() -
      Retrieve the x coordinate of the underlying coordinate.
      -
      intgetY() -
      Retrieve the y coordinate of the underlying coordinate.
      -
      intgetZ() -
      Retrieve the z coordinate of the underlying coordinate.
      -
      inthashCode() 
      voidsetX(int newX) -
      Set the x coordinate of the underlying coordinate.
      -
      voidsetY(int newY) -
      Set the y coordinate of the underlying coordinate.
      -
      voidsetZ(int newZ) -
      Set the z coordinate of the underlying coordiate.
      -
      ChunkPositiontoPosition() -
      Create an immutable chunk position from this coordinate.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        handle

        -
        protected java.lang.Comparable handle
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        WrappedChunkCoordinate

        -
        public WrappedChunkCoordinate()
        -
        Create a new empty wrapper.
        -
      • -
      - - - -
        -
      • -

        WrappedChunkCoordinate

        -
        public WrappedChunkCoordinate(java.lang.Comparable handle)
        -
        Create a wrapper for a specific chunk coordinates.
        -
        Parameters:
        handle - - the NMS chunk coordinates.
        -
      • -
      - - - -
        -
      • -

        WrappedChunkCoordinate

        -
        public WrappedChunkCoordinate(int x,
        -                      int y,
        -                      int z)
        -
        Create a wrapper with specific values.
        -
        Parameters:
        x - - the x coordinate.
        y - - the y coordinate.
        z - - the z coordinate.
        -
      • -
      - - - -
        -
      • -

        WrappedChunkCoordinate

        -
        public WrappedChunkCoordinate(ChunkPosition position)
        -
        Create a chunk coordinate wrapper from a given position.
        -
        Parameters:
        position - - the given position.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getHandle

        -
        public java.lang.Object getHandle()
        -
      • -
      - - - -
        -
      • -

        getX

        -
        public int getX()
        -
        Retrieve the x coordinate of the underlying coordinate.
        -
        Returns:
        The x coordinate.
        -
      • -
      - - - -
        -
      • -

        setX

        -
        public void setX(int newX)
        -
        Set the x coordinate of the underlying coordinate.
        -
        Parameters:
        newX - - the new x coordinate.
        -
      • -
      - - - -
        -
      • -

        getY

        -
        public int getY()
        -
        Retrieve the y coordinate of the underlying coordinate.
        -
        Returns:
        The y coordinate.
        -
      • -
      - - - -
        -
      • -

        setY

        -
        public void setY(int newY)
        -
        Set the y coordinate of the underlying coordinate.
        -
        Parameters:
        newY - - the new y coordinate.
        -
      • -
      - - - -
        -
      • -

        getZ

        -
        public int getZ()
        -
        Retrieve the z coordinate of the underlying coordinate.
        -
        Returns:
        The z coordinate.
        -
      • -
      - - - -
        -
      • -

        setZ

        -
        public void setZ(int newZ)
        -
        Set the z coordinate of the underlying coordiate.
        -
        Parameters:
        newZ - - the new z coordinate.
        -
      • -
      - - - -
        -
      • -

        toPosition

        -
        public ChunkPosition toPosition()
        -
        Create an immutable chunk position from this coordinate.
        -
        Returns:
        The new immutable chunk position.
        -
      • -
      - - - - - - - -
        -
      • -

        equals

        -
        public boolean equals(java.lang.Object other)
        -
        -
        Overrides:
        -
        equals in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        hashCode

        -
        public int hashCode()
        -
        -
        Overrides:
        -
        hashCode in class java.lang.Object
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/WrappedDataWatcher.html b/Javadoc/com/comphenix/protocol/wrappers/WrappedDataWatcher.html deleted file mode 100644 index 7514ae45..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/WrappedDataWatcher.html +++ /dev/null @@ -1,812 +0,0 @@ - - - - - -WrappedDataWatcher - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.wrappers
-

Class WrappedDataWatcher

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.lang.Iterable<WrappedWatchableObject>
    -
    -
    -
    -
    public class WrappedDataWatcher
    -extends java.lang.Object
    -implements java.lang.Iterable<WrappedWatchableObject>
    -
    Wraps a DataWatcher that is used to transmit arbitrary key-value pairs with a given entity.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      protected java.lang.Objecthandle 
      -
    • -
    - - - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      WrappedDataWatcherdeepClone() -
      Clone the content of the current DataWatcher.
      -
      booleanequals(java.lang.Object obj) 
      java.lang.BytegetByte(int index) -
      Get a watched byte.
      -
      WrappedChunkCoordinategetChunkCoordinate(int index) -
      Get a watched string.
      -
      static WrappedDataWatchergetEntityWatcher(org.bukkit.entity.Entity entity) -
      Retrieve the data watcher associated with an entity.
      -
      java.lang.FloatgetFloat(int index) -
      Get a watched float.
      -
      java.lang.ObjectgetHandle() -
      Retrieves the underlying data watcher.
      -
      java.lang.IntegergetInteger(int index) -
      Get a watched integer.
      -
      org.bukkit.inventory.ItemStackgetItemStack(int index) -
      Get a watched string.
      -
      java.lang.ObjectgetObject(int index) -
      Retrieve a watchable object by index.
      -
      protected java.util.concurrent.locks.ReadWriteLockgetReadWriteLock() -
      Retrieve the current read write lock.
      -
      java.lang.ShortgetShort(int index) -
      Get a watched short.
      -
      java.lang.StringgetString(int index) -
      Get a watched string.
      -
      static java.lang.Class<?>getTypeClass(int id) -
      Retrieve the type of a given ID, if it's allowed to be watched.
      -
      static java.lang.IntegergetTypeID(java.lang.Class<?> clazz) -
      Retrieve the ID of a given type, if it's allowed to be watched.
      -
      protected java.util.Map<java.lang.Integer,java.lang.Object>getWatchableObjectMap() -
      Retrieve the underlying map of key values that stores watchable objects.
      -
      java.util.List<WrappedWatchableObject>getWatchableObjects() -
      Retrieve every watchable object in this watcher.
      -
      inthashCode() 
      java.util.Set<java.lang.Integer>indexSet() -
      Retrieve a copy of every index associated with a watched object.
      -
      java.util.Iterator<WrappedWatchableObject>iterator() 
      WrappedWatchableObjectremoveObject(int index) -
      Remove a given object from the underlying DataWatcher.
      -
      voidsetObject(int index, - java.lang.Object newValue) -
      Set a watched byte.
      -
      voidsetObject(int index, - java.lang.Object newValue, - boolean update) -
      Set a watched byte.
      -
      intsize() -
      Retrieve the number of watched objects.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        handle

        -
        protected java.lang.Object handle
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        WrappedDataWatcher

        -
        public WrappedDataWatcher()
        -
        Initialize a new data watcher.
        -
        Throws:
        -
        FieldAccessException - If we're unable to wrap a DataWatcher.
        -
      • -
      - - - -
        -
      • -

        WrappedDataWatcher

        -
        public WrappedDataWatcher(java.lang.Object handle)
        -
        Create a wrapper for a given data watcher.
        -
        Parameters:
        handle - - the data watcher to wrap.
        -
        Throws:
        -
        FieldAccessException - If we're unable to wrap a DataWatcher.
        -
      • -
      - - - -
        -
      • -

        WrappedDataWatcher

        -
        public WrappedDataWatcher(java.util.List<WrappedWatchableObject> watchableObjects)
        -                   throws FieldAccessException
        -
        Create a new data watcher for a list of watchable objects. -

        - Note that the watchable objects are not cloned, and will be modified in place. Use "deepClone" if - that is not desirable. -

        - The removeObject(int) method will not modify the given list, however.

        -
        Parameters:
        watchableObjects - - list of watchable objects that will be copied.
        -
        Throws:
        -
        FieldAccessException - Unable to read watchable objects.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getHandle

        -
        public java.lang.Object getHandle()
        -
        Retrieves the underlying data watcher.
        -
        Returns:
        The underlying data watcher.
        -
      • -
      - - - -
        -
      • -

        getTypeID

        -
        public static java.lang.Integer getTypeID(java.lang.Class<?> clazz)
        -                                   throws FieldAccessException
        -
        Retrieve the ID of a given type, if it's allowed to be watched.
        -
        Returns:
        The ID, or NULL if it cannot be watched.
        -
        Throws:
        -
        FieldAccessException - If we cannot initialize the reflection machinery.
        -
      • -
      - - - -
        -
      • -

        getTypeClass

        -
        public static java.lang.Class<?> getTypeClass(int id)
        -                                       throws FieldAccessException
        -
        Retrieve the type of a given ID, if it's allowed to be watched.
        -
        Returns:
        The type using a given ID, or NULL if it cannot be watched.
        -
        Throws:
        -
        FieldAccessException - If we cannot initialize the reflection machinery.
        -
      • -
      - - - -
        -
      • -

        getByte

        -
        public java.lang.Byte getByte(int index)
        -                       throws FieldAccessException
        -
        Get a watched byte.
        -
        Parameters:
        index - - index of the watched byte.
        -
        Returns:
        The watched byte, or NULL if this value doesn't exist.
        -
        Throws:
        -
        FieldAccessException - Cannot read underlying field.
        -
      • -
      - - - -
        -
      • -

        getShort

        -
        public java.lang.Short getShort(int index)
        -                         throws FieldAccessException
        -
        Get a watched short.
        -
        Parameters:
        index - - index of the watched short.
        -
        Returns:
        The watched short, or NULL if this value doesn't exist.
        -
        Throws:
        -
        FieldAccessException - Cannot read underlying field.
        -
      • -
      - - - -
        -
      • -

        getInteger

        -
        public java.lang.Integer getInteger(int index)
        -                             throws FieldAccessException
        -
        Get a watched integer.
        -
        Parameters:
        index - - index of the watched integer.
        -
        Returns:
        The watched integer, or NULL if this value doesn't exist.
        -
        Throws:
        -
        FieldAccessException - Cannot read underlying field.
        -
      • -
      - - - -
        -
      • -

        getFloat

        -
        public java.lang.Float getFloat(int index)
        -                         throws FieldAccessException
        -
        Get a watched float.
        -
        Parameters:
        index - - index of the watched float.
        -
        Returns:
        The watched float, or NULL if this value doesn't exist.
        -
        Throws:
        -
        FieldAccessException - Cannot read underlying field.
        -
      • -
      - - - -
        -
      • -

        getString

        -
        public java.lang.String getString(int index)
        -                           throws FieldAccessException
        -
        Get a watched string.
        -
        Parameters:
        index - - index of the watched string.
        -
        Returns:
        The watched string, or NULL if this value doesn't exist.
        -
        Throws:
        -
        FieldAccessException - Cannot read underlying field.
        -
      • -
      - - - -
        -
      • -

        getItemStack

        -
        public org.bukkit.inventory.ItemStack getItemStack(int index)
        -                                            throws FieldAccessException
        -
        Get a watched string.
        -
        Parameters:
        index - - index of the watched string.
        -
        Returns:
        The watched string, or NULL if this value doesn't exist.
        -
        Throws:
        -
        FieldAccessException - Cannot read underlying field.
        -
      • -
      - - - -
        -
      • -

        getChunkCoordinate

        -
        public WrappedChunkCoordinate getChunkCoordinate(int index)
        -                                          throws FieldAccessException
        -
        Get a watched string.
        -
        Parameters:
        index - - index of the watched string.
        -
        Returns:
        The watched string, or NULL if this value doesn't exist.
        -
        Throws:
        -
        FieldAccessException - Cannot read underlying field.
        -
      • -
      - - - -
        -
      • -

        getObject

        -
        public java.lang.Object getObject(int index)
        -                           throws FieldAccessException
        -
        Retrieve a watchable object by index.
        -
        Parameters:
        index - - index of the object to retrieve.
        -
        Returns:
        The watched object.
        -
        Throws:
        -
        FieldAccessException - Cannot read underlying field.
        -
      • -
      - - - - - - - -
        -
      • -

        equals

        -
        public boolean equals(java.lang.Object obj)
        -
        -
        Overrides:
        -
        equals in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        hashCode

        -
        public int hashCode()
        -
        -
        Overrides:
        -
        hashCode in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        indexSet

        -
        public java.util.Set<java.lang.Integer> indexSet()
        -                                          throws FieldAccessException
        -
        Retrieve a copy of every index associated with a watched object.
        -
        Returns:
        Every watched object index.
        -
        Throws:
        -
        FieldAccessException - If we're unable to read the underlying object.
        -
      • -
      - - - -
        -
      • -

        deepClone

        -
        public WrappedDataWatcher deepClone()
        -
        Clone the content of the current DataWatcher.
        -
        Returns:
        A cloned data watcher.
        -
      • -
      - - - -
        -
      • -

        size

        -
        public int size()
        -         throws FieldAccessException
        -
        Retrieve the number of watched objects.
        -
        Returns:
        Watched object count.
        -
        Throws:
        -
        FieldAccessException - If we're unable to read the underlying object.
        -
      • -
      - - - -
        -
      • -

        removeObject

        -
        public WrappedWatchableObject removeObject(int index)
        -
        Remove a given object from the underlying DataWatcher.
        -
        Parameters:
        index - - index of the object to remove.
        -
        Returns:
        The watchable object that was removed, or NULL If none could be found.
        -
      • -
      - - - -
        -
      • -

        setObject

        -
        public void setObject(int index,
        -             java.lang.Object newValue)
        -               throws FieldAccessException
        -
        Set a watched byte.
        -
        Parameters:
        index - - index of the watched byte.
        newValue - - the new watched value.
        -
        Throws:
        -
        FieldAccessException - Cannot read underlying field.
        -
      • -
      - - - -
        -
      • -

        setObject

        -
        public void setObject(int index,
        -             java.lang.Object newValue,
        -             boolean update)
        -               throws FieldAccessException
        -
        Set a watched byte.
        -
        Parameters:
        index - - index of the watched byte.
        newValue - - the new watched value.
        update - - whether or not to refresh every listening clients.
        -
        Throws:
        -
        FieldAccessException - Cannot read underlying field.
        -
      • -
      - - - -
        -
      • -

        getReadWriteLock

        -
        protected java.util.concurrent.locks.ReadWriteLock getReadWriteLock()
        -                                                             throws FieldAccessException
        -
        Retrieve the current read write lock.
        -
        Returns:
        Current read write lock.
        -
        Throws:
        -
        FieldAccessException - If we're unable to read the underlying field.
        -
      • -
      - - - -
        -
      • -

        getWatchableObjectMap

        -
        protected java.util.Map<java.lang.Integer,java.lang.Object> getWatchableObjectMap()
        -                                                                           throws FieldAccessException
        -
        Retrieve the underlying map of key values that stores watchable objects.
        -
        Returns:
        A map of watchable objects.
        -
        Throws:
        -
        FieldAccessException - If we don't have permission to perform reflection.
        -
      • -
      - - - -
        -
      • -

        getEntityWatcher

        -
        public static WrappedDataWatcher getEntityWatcher(org.bukkit.entity.Entity entity)
        -                                           throws FieldAccessException
        -
        Retrieve the data watcher associated with an entity.
        -
        Parameters:
        entity - - the entity to read from.
        -
        Returns:
        Associated data watcher.
        -
        Throws:
        -
        FieldAccessException - Reflection failed.
        -
      • -
      - - - - -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/WrappedWatchableObject.html b/Javadoc/com/comphenix/protocol/wrappers/WrappedWatchableObject.html deleted file mode 100644 index 4ef1878c..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/WrappedWatchableObject.html +++ /dev/null @@ -1,607 +0,0 @@ - - - - - -WrappedWatchableObject - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.wrappers
-

Class WrappedWatchableObject

-
-
- -
-
    -
  • -
    -
    -
    public class WrappedWatchableObject
    -extends java.lang.Object
    -
    Represents a watchable object.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      protected java.lang.Objecthandle 
      protected StructureModifier<java.lang.Object>modifier 
      -
    • -
    - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - -
      Constructors 
      Constructor and Description
      WrappedWatchableObject(int index, - java.lang.Object value) -
      Construct a watchable object from an index and a given value.
      -
      WrappedWatchableObject(java.lang.Object handle) -
      Wrap a given raw Minecraft watchable object.
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      WrappedWatchableObjectdeepClone() -
      Clone the current wrapped watchable object, along with any contained objects.
      -
      booleanequals(java.lang.Object obj) 
      booleangetDirtyState() -
      Retrieve whether or not the value must be synchronized with the client.
      -
      java.lang.ObjectgetHandle() -
      Retrieves the underlying watchable object.
      -
      intgetIndex() -
      Retrieve the index of this watchable object.
      -
      java.lang.Class<?>getType() -
      Retrieve the correct super type of the current value.
      -
      intgetTypeID() -
      Retrieve the type ID of a watchable object.
      -
      java.lang.ObjectgetValue() -
      Read the value field.
      -
      inthashCode() 
      voidsetDirtyState(boolean dirty) -
      Set whether or not the value must be synchronized with the client.
      -
      voidsetIndex(int index) -
      Set the the index of this watchable object.
      -
      voidsetTypeID(int id) -
      Set the type ID of a watchable object.
      -
      voidsetValue(java.lang.Object newValue) -
      Update the value field.
      -
      voidsetValue(java.lang.Object newValue, - boolean updateClient) -
      Update the value field.
      -
      java.lang.StringtoString() 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        handle

        -
        protected java.lang.Object handle
        -
      • -
      - - - - -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        WrappedWatchableObject

        -
        public WrappedWatchableObject(java.lang.Object handle)
        -
        Wrap a given raw Minecraft watchable object.
        -
        Parameters:
        handle - - the raw watchable object to wrap.
        -
      • -
      - - - -
        -
      • -

        WrappedWatchableObject

        -
        public WrappedWatchableObject(int index,
        -                      java.lang.Object value)
        -
        Construct a watchable object from an index and a given value.
        -
        Parameters:
        index - - the index.
        value - - non-null value of specific types.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getHandle

        -
        public java.lang.Object getHandle()
        -
        Retrieves the underlying watchable object.
        -
        Returns:
        The underlying watchable object.
        -
      • -
      - - - -
        -
      • -

        getType

        -
        public java.lang.Class<?> getType()
        -                           throws FieldAccessException
        -
        Retrieve the correct super type of the current value.
        -
        Returns:
        Super type.
        -
        Throws:
        -
        FieldAccessException - Unable to read values.
        -
      • -
      - - - -
        -
      • -

        getIndex

        -
        public int getIndex()
        -             throws FieldAccessException
        -
        Retrieve the index of this watchable object. This is used to identify a value.
        -
        Returns:
        Object index.
        -
        Throws:
        -
        FieldAccessException - Reflection failed.
        -
      • -
      - - - -
        -
      • -

        setIndex

        -
        public void setIndex(int index)
        -              throws FieldAccessException
        -
        Set the the index of this watchable object.
        -
        Parameters:
        index - - the new object index.
        -
        Throws:
        -
        FieldAccessException - Reflection failed.
        -
      • -
      - - - -
        -
      • -

        getTypeID

        -
        public int getTypeID()
        -              throws FieldAccessException
        -
        Retrieve the type ID of a watchable object.
        -
        Returns:
        Type ID that identifies the type of the value.
        -
        Throws:
        -
        FieldAccessException - Reflection failed.
        -
      • -
      - - - -
        -
      • -

        setTypeID

        -
        public void setTypeID(int id)
        -               throws FieldAccessException
        -
        Set the type ID of a watchable object.
        -
        Parameters:
        id - - the new ID.
        -
        Throws:
        -
        FieldAccessException - Reflection failed.
        -
      • -
      - - - -
        -
      • -

        setValue

        -
        public void setValue(java.lang.Object newValue)
        -              throws FieldAccessException
        -
        Update the value field.
        -
        Parameters:
        newValue - - new value.
        -
        Throws:
        -
        FieldAccessException - Unable to use reflection.
        -
      • -
      - - - -
        -
      • -

        setValue

        -
        public void setValue(java.lang.Object newValue,
        -            boolean updateClient)
        -              throws FieldAccessException
        -
        Update the value field.
        -
        Parameters:
        newValue - - new value.
        updateClient - - whether or not to update listening clients.
        -
        Throws:
        -
        FieldAccessException - Unable to use reflection.
        -
      • -
      - - - - - - - -
        -
      • -

        setDirtyState

        -
        public void setDirtyState(boolean dirty)
        -                   throws FieldAccessException
        -
        Set whether or not the value must be synchronized with the client.
        -
        Parameters:
        dirty - - TRUE if the value should be synchronized, FALSE otherwise.
        -
        Throws:
        -
        FieldAccessException - Unable to use reflection.
        -
      • -
      - - - -
        -
      • -

        getDirtyState

        -
        public boolean getDirtyState()
        -                      throws FieldAccessException
        -
        Retrieve whether or not the value must be synchronized with the client.
        -
        Returns:
        TRUE if the value should be synchronized, FALSE otherwise.
        -
        Throws:
        -
        FieldAccessException - Unable to use reflection.
        -
      • -
      - - - - - - - -
        -
      • -

        equals

        -
        public boolean equals(java.lang.Object obj)
        -
        -
        Overrides:
        -
        equals in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        hashCode

        -
        public int hashCode()
        -
        -
        Overrides:
        -
        hashCode in class java.lang.Object
        -
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/class-use/BukkitConverters.html b/Javadoc/com/comphenix/protocol/wrappers/class-use/BukkitConverters.html deleted file mode 100644 index af41068c..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/class-use/BukkitConverters.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.wrappers.BukkitConverters - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.wrappers.BukkitConverters

-
-
No usage of com.comphenix.protocol.wrappers.BukkitConverters
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/class-use/ChunkPosition.html b/Javadoc/com/comphenix/protocol/wrappers/class-use/ChunkPosition.html deleted file mode 100644 index bf6499f2..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/class-use/ChunkPosition.html +++ /dev/null @@ -1,275 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.wrappers.ChunkPosition - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.wrappers.ChunkPosition

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/class-use/TroveWrapper.html b/Javadoc/com/comphenix/protocol/wrappers/class-use/TroveWrapper.html deleted file mode 100644 index f00ba970..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/class-use/TroveWrapper.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.wrappers.TroveWrapper - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.wrappers.TroveWrapper

-
-
No usage of com.comphenix.protocol.wrappers.TroveWrapper
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedChunkCoordinate.html b/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedChunkCoordinate.html deleted file mode 100644 index 23dcf803..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedChunkCoordinate.html +++ /dev/null @@ -1,170 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.wrappers.WrappedChunkCoordinate - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.wrappers.WrappedChunkCoordinate

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedDataWatcher.html b/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedDataWatcher.html deleted file mode 100644 index fd5645ee..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedDataWatcher.html +++ /dev/null @@ -1,202 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.wrappers.WrappedDataWatcher - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.wrappers.WrappedDataWatcher

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedWatchableObject.html b/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedWatchableObject.html deleted file mode 100644 index 1aa2b1e2..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/class-use/WrappedWatchableObject.html +++ /dev/null @@ -1,225 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.wrappers.WrappedWatchableObject - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.wrappers.WrappedWatchableObject

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtBase.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtBase.html deleted file mode 100644 index fbf136f0..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtBase.html +++ /dev/null @@ -1,344 +0,0 @@ - - - - - -NbtBase - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.wrappers.nbt
-

Interface NbtBase<TType>

-
-
-
-
    -
  • -
    Type Parameters:
    TType - - type of the value that is stored.
    -
    -
    All Known Subinterfaces:
    -
    NbtCompound, NbtList<TType>, NbtWrapper<TType>
    -
    -
    -
    All Known Implementing Classes:
    -
    NbtCompoundTest.NbtCustomTag
    -
    -
    -
    -
    public interface NbtBase<TType>
    -
    Represents a generic container for an NBT element. -

    - Use NbtFactory to load or create an instance.

    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      booleanaccept(NbtVisitor visitor) -
      Accepts a NBT visitor.
      -
      NbtBase<TType>deepClone() -
      Clone the current NBT tag.
      -
      java.lang.StringgetName() -
      Retrieve the name of this NBT tag.
      -
      NbtTypegetType() -
      Retrieve the type of this NBT element.
      -
      TTypegetValue() -
      Retrieve the value of this NBT tag.
      -
      voidsetName(java.lang.String name) -
      Set the name of this NBT tag.
      -
      voidsetValue(TType newValue) -
      Set the value of this NBT tag.
      -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        accept

        -
        boolean accept(NbtVisitor visitor)
        -
        Accepts a NBT visitor.
        -
        Parameters:
        visitor - - the hierarchical NBT visitor.
        -
        Returns:
        TRUE if the parent should continue processing children at the current level, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        getType

        -
        NbtType getType()
        -
        Retrieve the type of this NBT element.
        -
        Returns:
        The type of this NBT element.
        -
      • -
      - - - -
        -
      • -

        getName

        -
        java.lang.String getName()
        -
        Retrieve the name of this NBT tag. -

        - This will be an empty string if the NBT tag is stored in a list.

        -
        Returns:
        Name of the tag.
        -
      • -
      - - - -
        -
      • -

        setName

        -
        void setName(java.lang.String name)
        -
        Set the name of this NBT tag. -

        - This will be ignored if the NBT tag is stored in a list.

        -
        Parameters:
        name - - name of the tag.
        -
      • -
      - - - -
        -
      • -

        getValue

        -
        TType getValue()
        -
        Retrieve the value of this NBT tag. -

        - Is either a primitive wrapper, String, - List or a Map. -

        - Users are encouraged to cast an NBT compound to NbtCompound and use its put and get-methods - instead of accessing its content from getValue(). -

        - All operations that modify collections directly, such as List.add(Object) or - Map.clear(), are considered optional. This also include members in Iterator and - ListIterator. Operations that are not implemented throw a - UnsupportedOperationException.

        -
        Returns:
        Value of this tag.
        -
      • -
      - - - - - -
        -
      • -

        setValue

        -
        void setValue(TType newValue)
        -
        Set the value of this NBT tag.
        -
        Parameters:
        newValue - - the new value of this tag.
        -
      • -
      - - - -
        -
      • -

        deepClone

        -
        NbtBase<TType> deepClone()
        -
        Clone the current NBT tag.
        -
        Returns:
        The cloned tag.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtCompound.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtCompound.html deleted file mode 100644 index 84650e05..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtCompound.html +++ /dev/null @@ -1,1058 +0,0 @@ - - - - - -NbtCompound - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.wrappers.nbt
-

Interface NbtCompound

-
-
-
-
    -
  • -
    -
    All Superinterfaces:
    -
    java.lang.Iterable<NbtBase<?>>, NbtBase<java.util.Map<java.lang.String,NbtBase<?>>>
    -
    -
    -
    -
    public interface NbtCompound
    -extends NbtBase<java.util.Map<java.lang.String,NbtBase<?>>>, java.lang.Iterable<NbtBase<?>>
    -
    Represents a mapping of arbitrary NBT elements and their unique names. -

    - Use NbtFactory to load or create an instance. -

    - The NbtBase.getValue() method returns a Map that will return the full content - of this NBT compound, but may throw an UnsupportedOperationException for any of the write operations.

    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      booleancontainsKey(java.lang.String key) -
      Determine if an entry with the given key exists or not.
      -
      bytegetByte(java.lang.String key) -
      Retrieve the byte value of an entry identified by a given key.
      -
      byte[]getByteArray(java.lang.String key) -
      Retrieve the byte array value of an entry identified by a given key.
      -
      bytegetByteOrDefault(java.lang.String key) -
      Retrieve the byte value of an existing entry, or from a new default entry if it doesn't exist.
      -
      NbtCompoundgetCompound(java.lang.String key) -
      Retrieve the compound (map) value of an entry identified by a given key.
      -
      NbtCompoundgetCompoundOrDefault(java.lang.String key) -
      Retrieve a compound (map) value by its key, or create a new compound if it doesn't exist.
      -
      doublegetDouble(java.lang.String key) -
      Retrieve the double value of an entry identified by a given key.
      -
      doublegetDoubleOrDefault(java.lang.String key) -
      Retrieve the double value of an existing entry, or from a new default entry if it doesn't exist.
      -
      floatgetFloat(java.lang.String key) -
      Retrieve the float value of an entry identified by a given key.
      -
      floatgetFloatOrDefault(java.lang.String key) -
      Retrieve the float value of an existing entry, or from a new default entry if it doesn't exist.
      -
      intgetInteger(java.lang.String key) -
      Retrieve the integer value of an entry identified by a given key.
      -
      int[]getIntegerArray(java.lang.String key) -
      Retrieve the integer array value of an entry identified by a given key.
      -
      intgetIntegerOrDefault(java.lang.String key) -
      Retrieve the integer value of an existing entry, or from a new default entry if it doesn't exist.
      -
      java.util.Set<java.lang.String>getKeys() -
      Retrieve a Set view of the keys of each entry in this compound.
      -
      <T> NbtList<T>getList(java.lang.String key) -
      Retrieve the NBT list value of an entry identified by a given key.
      -
      <T> NbtList<T>getListOrDefault(java.lang.String key) -
      Retrieve a NBT list value by its key, or create a new list if it doesn't exist.
      -
      longgetLong(java.lang.String key) -
      Retrieve the long value of an entry identified by a given key.
      -
      longgetLongOrDefault(java.lang.String key) -
      Retrieve the long value of an existing entry, or from a new default entry if it doesn't exist.
      -
      java.lang.ObjectgetObject(java.lang.String key) -
      Retrieve the primitive object, NbtList or NbtCompound associated with the given key.
      -
      java.lang.ShortgetShort(java.lang.String key) -
      Retrieve the short value of an entry identified by a given key.
      -
      shortgetShortOrDefault(java.lang.String key) -
      Retrieve the short value of an existing entry, or from a new default entry if it doesn't exist.
      -
      java.lang.StringgetString(java.lang.String key) -
      Retrieve the string value of an entry identified by a given key.
      -
      java.lang.StringgetStringOrDefault(java.lang.String key) -
      Retrieve the string value of an existing entry, or from a new default entry if it doesn't exist.
      -
      java.util.Map<java.lang.String,NbtBase<?>>getValue() -
      Deprecated. 
      -
      <T> NbtBase<T>getValue(java.lang.String key) -
      Retrieve the value of a given entry.
      -
      NbtBase<?>getValueOrDefault(java.lang.String key, - NbtType type) -
      Retrieve a value by its key, or assign and return a new NBT element if it doesn't exist.
      -
      java.util.Iterator<NbtBase<?>>iterator() -
      Retrieve an iterator view of the NBT tags stored in this compound.
      -
      <T> NbtCompoundput(NbtBase<T> entry) -
      Set a entry based on its name.
      -
      NbtCompoundput(NbtCompound compound) -
      Associate a NBT compound with its name as key.
      -
      <T> NbtCompoundput(NbtList<T> list) -
      Associate a NBT list with the given key.
      -
      NbtCompoundput(java.lang.String key, - byte value) -
      Associate a NBT byte value with the given key.
      -
      NbtCompoundput(java.lang.String key, - byte[] value) -
      Associate a NBT byte array value with the given key.
      -
      <T> NbtCompoundput(java.lang.String key, - java.util.Collection<? extends NbtBase<T>> list) -
      Associate a new NBT list with the given key.
      -
      NbtCompoundput(java.lang.String key, - double value) -
      Associate a NBT double value with the given key.
      -
      NbtCompoundput(java.lang.String key, - float value) -
      Associate a NBT float value with the given key.
      -
      NbtCompoundput(java.lang.String key, - int value) -
      Associate a NBT integer value with the given key.
      -
      NbtCompoundput(java.lang.String key, - int[] value) -
      Associate a NBT integer array value with the given key.
      -
      NbtCompoundput(java.lang.String key, - long value) -
      Associate a NBT long value with the given key.
      -
      NbtCompoundput(java.lang.String key, - NbtBase<?> entry) -
      Inserts an entry after cloning it and renaming it to "key".
      -
      NbtCompoundput(java.lang.String key, - short value) -
      Associate a NBT short value with the given key.
      -
      NbtCompoundput(java.lang.String key, - java.lang.String value) -
      Associate a NBT string value with the given key.
      -
      NbtCompoundputObject(java.lang.String key, - java.lang.Object value) -
      Associates a given Java primitive value, list, map or NbtBase with a certain key.
      -
      <T> NbtBase<?>remove(java.lang.String key) -
      Remove the NBT element that is associated with the given key.
      -
      - -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getValue

        -
        @Deprecated
        -java.util.Map<java.lang.String,NbtBase<?>> getValue()
        -
        Deprecated. 
        -
        Description copied from interface: NbtBase
        -
        Retrieve the value of this NBT tag. -

        - Is either a primitive wrapper, String, - List or a Map. -

        - Users are encouraged to cast an NBT compound to NbtCompound and use its put and get-methods - instead of accessing its content from getValue(). -

        - All operations that modify collections directly, such as List.add(Object) or - Map.clear(), are considered optional. This also include members in Iterator and - ListIterator. Operations that are not implemented throw a - UnsupportedOperationException.

        -
        -
        Specified by:
        -
        getValue in interface NbtBase<java.util.Map<java.lang.String,NbtBase<?>>>
        -
        Returns:
        Value of this tag.
        -
      • -
      - - - -
        -
      • -

        containsKey

        -
        boolean containsKey(java.lang.String key)
        -
        Determine if an entry with the given key exists or not.
        -
        Parameters:
        key - - the key to lookup.
        -
        Returns:
        TRUE if an entry with the given key exists, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        getKeys

        -
        java.util.Set<java.lang.String> getKeys()
        -
        Retrieve a Set view of the keys of each entry in this compound.
        -
        Returns:
        The keys of each entry.
        -
      • -
      - - - -
        -
      • -

        getValue

        -
        <T> NbtBase<T> getValue(java.lang.String key)
        -
        Retrieve the value of a given entry.
        -
        Parameters:
        key - - key of the entry to retrieve.
        -
        Returns:
        The value of this entry, or NULL if not found.
        -
      • -
      - - - -
        -
      • -

        getValueOrDefault

        -
        NbtBase<?> getValueOrDefault(java.lang.String key,
        -                           NbtType type)
        -
        Retrieve a value by its key, or assign and return a new NBT element if it doesn't exist.
        -
        Parameters:
        key - - the key of the entry to find or create.
        type - - the NBT element we will create if not found.
        -
        Returns:
        The value that was retrieved or just created.
        -
      • -
      - - - -
        -
      • -

        put

        -
        <T> NbtCompound put(@Nonnull
        -                  NbtBase<T> entry)
        -
        Set a entry based on its name.
        -
        Parameters:
        entry - - entry with a name and value.
        -
        Returns:
        This compound, for chaining.
        -
        Throws:
        -
        java.lang.IllegalArgumentException - If entry is NULL.
        -
      • -
      - - - -
        -
      • -

        getString

        -
        java.lang.String getString(java.lang.String key)
        -
        Retrieve the string value of an entry identified by a given key.
        -
        Parameters:
        key - - the key of the entry.
        -
        Returns:
        The string value of the entry.
        -
        Throws:
        -
        java.lang.IllegalArgumentException - If the key doesn't exist.
        -
      • -
      - - - -
        -
      • -

        getStringOrDefault

        -
        java.lang.String getStringOrDefault(java.lang.String key)
        -
        Retrieve the string value of an existing entry, or from a new default entry if it doesn't exist.
        -
        Parameters:
        key - - the key of the entry.
        -
        Returns:
        The value that was retrieved or just created.
        -
      • -
      - - - -
        -
      • -

        put

        -
        NbtCompound put(java.lang.String key,
        -              java.lang.String value)
        -
        Associate a NBT string value with the given key.
        -
        Parameters:
        key - - the key and NBT name.
        value - - the value.
        -
        Returns:
        This current compound, for chaining.
        -
      • -
      - - - -
        -
      • -

        put

        -
        NbtCompound put(java.lang.String key,
        -              NbtBase<?> entry)
        -
        Inserts an entry after cloning it and renaming it to "key".
        -
        Parameters:
        key - - the name of the entry.
        entry - - the entry to insert.
        -
        Returns:
        This current compound, for chaining.
        -
      • -
      - - - -
        -
      • -

        getByte

        -
        byte getByte(java.lang.String key)
        -
        Retrieve the byte value of an entry identified by a given key.
        -
        Parameters:
        key - - the key of the entry.
        -
        Returns:
        The byte value of the entry.
        -
        Throws:
        -
        java.lang.IllegalArgumentException - If the key doesn't exist.
        -
      • -
      - - - -
        -
      • -

        getByteOrDefault

        -
        byte getByteOrDefault(java.lang.String key)
        -
        Retrieve the byte value of an existing entry, or from a new default entry if it doesn't exist.
        -
        Parameters:
        key - - the key of the entry.
        -
        Returns:
        The value that was retrieved or just created.
        -
      • -
      - - - -
        -
      • -

        put

        -
        NbtCompound put(java.lang.String key,
        -              byte value)
        -
        Associate a NBT byte value with the given key.
        -
        Parameters:
        key - - the key and NBT name.
        value - - the value.
        -
        Returns:
        This current compound, for chaining.
        -
      • -
      - - - -
        -
      • -

        getShort

        -
        java.lang.Short getShort(java.lang.String key)
        -
        Retrieve the short value of an entry identified by a given key.
        -
        Parameters:
        key - - the key of the entry.
        -
        Returns:
        The short value of the entry.
        -
        Throws:
        -
        java.lang.IllegalArgumentException - If the key doesn't exist.
        -
      • -
      - - - -
        -
      • -

        getShortOrDefault

        -
        short getShortOrDefault(java.lang.String key)
        -
        Retrieve the short value of an existing entry, or from a new default entry if it doesn't exist.
        -
        Parameters:
        key - - the key of the entry.
        -
        Returns:
        The value that was retrieved or just created.
        -
      • -
      - - - -
        -
      • -

        put

        -
        NbtCompound put(java.lang.String key,
        -              short value)
        -
        Associate a NBT short value with the given key.
        -
        Parameters:
        key - - the key and NBT name.
        value - - the value.
        -
        Returns:
        This current compound, for chaining.
        -
      • -
      - - - -
        -
      • -

        getInteger

        -
        int getInteger(java.lang.String key)
        -
        Retrieve the integer value of an entry identified by a given key.
        -
        Parameters:
        key - - the key of the entry.
        -
        Returns:
        The integer value of the entry.
        -
        Throws:
        -
        java.lang.IllegalArgumentException - If the key doesn't exist.
        -
      • -
      - - - -
        -
      • -

        getIntegerOrDefault

        -
        int getIntegerOrDefault(java.lang.String key)
        -
        Retrieve the integer value of an existing entry, or from a new default entry if it doesn't exist.
        -
        Parameters:
        key - - the key of the entry.
        -
        Returns:
        The value that was retrieved or just created.
        -
      • -
      - - - -
        -
      • -

        put

        -
        NbtCompound put(java.lang.String key,
        -              int value)
        -
        Associate a NBT integer value with the given key.
        -
        Parameters:
        key - - the key and NBT name.
        value - - the value.
        -
        Returns:
        This current compound, for chaining.
        -
      • -
      - - - -
        -
      • -

        getLong

        -
        long getLong(java.lang.String key)
        -
        Retrieve the long value of an entry identified by a given key.
        -
        Parameters:
        key - - the key of the entry.
        -
        Returns:
        The long value of the entry.
        -
        Throws:
        -
        java.lang.IllegalArgumentException - If the key doesn't exist.
        -
      • -
      - - - -
        -
      • -

        getLongOrDefault

        -
        long getLongOrDefault(java.lang.String key)
        -
        Retrieve the long value of an existing entry, or from a new default entry if it doesn't exist.
        -
        Parameters:
        key - - the key of the entry.
        -
        Returns:
        The value that was retrieved or just created.
        -
      • -
      - - - -
        -
      • -

        put

        -
        NbtCompound put(java.lang.String key,
        -              long value)
        -
        Associate a NBT long value with the given key.
        -
        Parameters:
        key - - the key and NBT name.
        value - - the value.
        -
        Returns:
        This current compound, for chaining.
        -
      • -
      - - - -
        -
      • -

        getFloat

        -
        float getFloat(java.lang.String key)
        -
        Retrieve the float value of an entry identified by a given key.
        -
        Parameters:
        key - - the key of the entry.
        -
        Returns:
        The float value of the entry.
        -
        Throws:
        -
        java.lang.IllegalArgumentException - If the key doesn't exist.
        -
      • -
      - - - -
        -
      • -

        getFloatOrDefault

        -
        float getFloatOrDefault(java.lang.String key)
        -
        Retrieve the float value of an existing entry, or from a new default entry if it doesn't exist.
        -
        Parameters:
        key - - the key of the entry.
        -
        Returns:
        The value that was retrieved or just created.
        -
      • -
      - - - -
        -
      • -

        put

        -
        NbtCompound put(java.lang.String key,
        -              float value)
        -
        Associate a NBT float value with the given key.
        -
        Parameters:
        key - - the key and NBT name.
        value - - the value.
        -
        Returns:
        This current compound, for chaining.
        -
      • -
      - - - -
        -
      • -

        getDouble

        -
        double getDouble(java.lang.String key)
        -
        Retrieve the double value of an entry identified by a given key.
        -
        Parameters:
        key - - the key of the entry.
        -
        Returns:
        The double value of the entry.
        -
        Throws:
        -
        java.lang.IllegalArgumentException - If the key doesn't exist.
        -
      • -
      - - - -
        -
      • -

        getDoubleOrDefault

        -
        double getDoubleOrDefault(java.lang.String key)
        -
        Retrieve the double value of an existing entry, or from a new default entry if it doesn't exist.
        -
        Parameters:
        key - - the key of the entry.
        -
        Returns:
        The value that was retrieved or just created.
        -
      • -
      - - - -
        -
      • -

        put

        -
        NbtCompound put(java.lang.String key,
        -              double value)
        -
        Associate a NBT double value with the given key.
        -
        Parameters:
        key - - the key and NBT name.
        value - - the value.
        -
        Returns:
        This current compound, for chaining.
        -
      • -
      - - - -
        -
      • -

        getByteArray

        -
        byte[] getByteArray(java.lang.String key)
        -
        Retrieve the byte array value of an entry identified by a given key.
        -
        Parameters:
        key - - the key of the entry.
        -
        Returns:
        The byte array value of the entry.
        -
        Throws:
        -
        java.lang.IllegalArgumentException - If the key doesn't exist.
        -
      • -
      - - - -
        -
      • -

        put

        -
        NbtCompound put(java.lang.String key,
        -              byte[] value)
        -
        Associate a NBT byte array value with the given key.
        -
        Parameters:
        key - - the key and NBT name.
        value - - the value.
        -
        Returns:
        This current compound, for chaining.
        -
      • -
      - - - -
        -
      • -

        getIntegerArray

        -
        int[] getIntegerArray(java.lang.String key)
        -
        Retrieve the integer array value of an entry identified by a given key.
        -
        Parameters:
        key - - the key of the entry.
        -
        Returns:
        The integer array value of the entry.
        -
        Throws:
        -
        java.lang.IllegalArgumentException - If the key doesn't exist.
        -
      • -
      - - - -
        -
      • -

        put

        -
        NbtCompound put(java.lang.String key,
        -              int[] value)
        -
        Associate a NBT integer array value with the given key.
        -
        Parameters:
        key - - the key and NBT name.
        value - - the value.
        -
        Returns:
        This current compound, for chaining.
        -
      • -
      - - - -
        -
      • -

        putObject

        -
        NbtCompound putObject(java.lang.String key,
        -                    java.lang.Object value)
        -
        Associates a given Java primitive value, list, map or NbtBase with a certain key. -

        - If the value is NULL, the corresponding key is removed. Any Map or List will be converted - to a corresponding NbtCompound or NbtList.

        -
        Parameters:
        key - - the name of the new entry,
        value - - the value of the new entry, or NULL to remove the current value.
        -
        Returns:
        This current compound, for chaining.
        -
      • -
      - - - -
        -
      • -

        getObject

        -
        java.lang.Object getObject(java.lang.String key)
        -
        Retrieve the primitive object, NbtList or NbtCompound associated with the given key.
        -
        Parameters:
        key - - the key of the object to find.
        -
        Returns:
        The object with this key, or NULL if we couldn't find anything.
        -
      • -
      - - - -
        -
      • -

        getCompound

        -
        NbtCompound getCompound(java.lang.String key)
        -
        Retrieve the compound (map) value of an entry identified by a given key.
        -
        Parameters:
        key - - the key of the entry.
        -
        Returns:
        The compound value of the entry.
        -
        Throws:
        -
        java.lang.IllegalArgumentException - If the key doesn't exist.
        -
      • -
      - - - -
        -
      • -

        getCompoundOrDefault

        -
        NbtCompound getCompoundOrDefault(java.lang.String key)
        -
        Retrieve a compound (map) value by its key, or create a new compound if it doesn't exist.
        -
        Parameters:
        key - - the key of the entry to find or create.
        -
        Returns:
        The compound value that was retrieved or just created.
        -
      • -
      - - - -
        -
      • -

        put

        -
        NbtCompound put(NbtCompound compound)
        -
        Associate a NBT compound with its name as key.
        -
        Parameters:
        compound - - the compound value.
        -
        Returns:
        This current compound, for chaining.
        -
      • -
      - - - -
        -
      • -

        getList

        -
        <T> NbtList<T> getList(java.lang.String key)
        -
        Retrieve the NBT list value of an entry identified by a given key.
        -
        Parameters:
        key - - the key of the entry.
        -
        Returns:
        The NBT list value of the entry.
        -
        Throws:
        -
        java.lang.IllegalArgumentException - If the key doesn't exist.
        -
      • -
      - - - -
        -
      • -

        getListOrDefault

        -
        <T> NbtList<T> getListOrDefault(java.lang.String key)
        -
        Retrieve a NBT list value by its key, or create a new list if it doesn't exist.
        -
        Parameters:
        key - - the key of the entry to find or create.
        -
        Returns:
        The compound value that was retrieved or just created.
        -
      • -
      - - - -
        -
      • -

        put

        -
        <T> NbtCompound put(NbtList<T> list)
        -
        Associate a NBT list with the given key.
        -
        Parameters:
        list - - the list value.
        -
        Returns:
        This current compound, for chaining.
        -
      • -
      - - - -
        -
      • -

        put

        -
        <T> NbtCompound put(java.lang.String key,
        -                  java.util.Collection<? extends NbtBase<T>> list)
        -
        Associate a new NBT list with the given key.
        -
        Parameters:
        key - - the key and name of the new NBT list.
        list - - the list of NBT elements.
        -
        Returns:
        This current compound, for chaining.
        -
      • -
      - - - -
        -
      • -

        remove

        -
        <T> NbtBase<?> remove(java.lang.String key)
        -
        Remove the NBT element that is associated with the given key.
        -
        Parameters:
        key - - the key of the element to remove.
        -
        Returns:
        The removed element, or NULL if no such element was found.
        -
      • -
      - - - -
        -
      • -

        iterator

        -
        java.util.Iterator<NbtBase<?>> iterator()
        -
        Retrieve an iterator view of the NBT tags stored in this compound.
        -
        -
        Specified by:
        -
        iterator in interface java.lang.Iterable<NbtBase<?>>
        -
        Returns:
        The tags stored in this compound.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtCompoundTest.NbtCustomTag.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtCompoundTest.NbtCustomTag.html deleted file mode 100644 index 435fd9bb..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtCompoundTest.NbtCustomTag.html +++ /dev/null @@ -1,425 +0,0 @@ - - - - - -NbtCompoundTest.NbtCustomTag - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.wrappers.nbt
-

Class NbtCompoundTest.NbtCustomTag<TValue>

-
-
- -
-
    -
  • -
    Type Parameters:
    TValue - - the value of the tag.
    -
    -
    All Implemented Interfaces:
    -
    NbtBase<TValue>
    -
    -
    -
    Enclosing class:
    -
    NbtCompoundTest
    -
    -
    -
    -
    public static class NbtCompoundTest.NbtCustomTag<TValue>
    -extends java.lang.Object
    -implements NbtBase<TValue>
    -
    Represents a custom NBT tag.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      booleanaccept(NbtVisitor visitor) -
      Accepts a NBT visitor.
      -
      NbtBase<TValue>deepClone() -
      Clone the current NBT tag.
      -
      java.lang.StringgetName() -
      Retrieve the name of this NBT tag.
      -
      NbtTypegetType() -
      Retrieve the type of this NBT element.
      -
      TValuegetValue() -
      Retrieve the value of this NBT tag.
      -
      voidsetName(java.lang.String name) -
      Set the name of this NBT tag.
      -
      voidsetValue(TValue newValue) -
      Set the value of this NBT tag.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - - - -
        -
      • -

        NbtCompoundTest.NbtCustomTag

        -
        public NbtCompoundTest.NbtCustomTag(java.lang.String name,
        -                            TValue value)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getType

        -
        public NbtType getType()
        -
        Description copied from interface: NbtBase
        -
        Retrieve the type of this NBT element.
        -
        -
        Specified by:
        -
        getType in interface NbtBase<TValue>
        -
        Returns:
        The type of this NBT element.
        -
      • -
      - - - -
        -
      • -

        getName

        -
        public java.lang.String getName()
        -
        Description copied from interface: NbtBase
        -
        Retrieve the name of this NBT tag. -

        - This will be an empty string if the NBT tag is stored in a list.

        -
        -
        Specified by:
        -
        getName in interface NbtBase<TValue>
        -
        Returns:
        Name of the tag.
        -
      • -
      - - - -
        -
      • -

        setName

        -
        public void setName(java.lang.String name)
        -
        Description copied from interface: NbtBase
        -
        Set the name of this NBT tag. -

        - This will be ignored if the NBT tag is stored in a list.

        -
        -
        Specified by:
        -
        setName in interface NbtBase<TValue>
        -
        Parameters:
        name - - name of the tag.
        -
      • -
      - - - -
        -
      • -

        getValue

        -
        public TValue getValue()
        -
        Description copied from interface: NbtBase
        -
        Retrieve the value of this NBT tag. -

        - Is either a primitive wrapper, String, - List or a Map. -

        - Users are encouraged to cast an NBT compound to NbtCompound and use its put and get-methods - instead of accessing its content from getValue(). -

        - All operations that modify collections directly, such as List.add(Object) or - Map.clear(), are considered optional. This also include members in Iterator and - ListIterator. Operations that are not implemented throw a - UnsupportedOperationException.

        -
        -
        Specified by:
        -
        getValue in interface NbtBase<TValue>
        -
        Returns:
        Value of this tag.
        -
      • -
      - - - - - -
        -
      • -

        setValue

        -
        public void setValue(TValue newValue)
        -
        Description copied from interface: NbtBase
        -
        Set the value of this NBT tag.
        -
        -
        Specified by:
        -
        setValue in interface NbtBase<TValue>
        -
        Parameters:
        newValue - - the new value of this tag.
        -
      • -
      - - - -
        -
      • -

        deepClone

        -
        public NbtBase<TValue> deepClone()
        -
        Description copied from interface: NbtBase
        -
        Clone the current NBT tag.
        -
        -
        Specified by:
        -
        deepClone in interface NbtBase<TValue>
        -
        Returns:
        The cloned tag.
        -
      • -
      - - - -
        -
      • -

        accept

        -
        public boolean accept(NbtVisitor visitor)
        -
        Description copied from interface: NbtBase
        -
        Accepts a NBT visitor.
        -
        -
        Specified by:
        -
        accept in interface NbtBase<TValue>
        -
        Parameters:
        visitor - - the hierarchical NBT visitor.
        -
        Returns:
        TRUE if the parent should continue processing children at the current level, FALSE otherwise.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtCompoundTest.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtCompoundTest.html deleted file mode 100644 index 2abe5432..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtCompoundTest.html +++ /dev/null @@ -1,293 +0,0 @@ - - - - - -NbtCompoundTest - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.wrappers.nbt
-

Class NbtCompoundTest

-
-
- -
-
    -
  • -
    -
    -
    public class NbtCompoundTest
    -extends java.lang.Object
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Nested Class Summary

      - - - - - - - - - - -
      Nested Classes 
      Modifier and TypeClass and Description
      static class NbtCompoundTest.NbtCustomTag<TValue> -
      Represents a custom NBT tag.
      -
      -
    • -
    - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      NbtCompoundTest() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      static voidinitializeBukkit() 
      voidtestCustomTags() 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        NbtCompoundTest

        -
        public NbtCompoundTest()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        initializeBukkit

        -
        public static void initializeBukkit()
        -                             throws java.lang.IllegalAccessException
        -
        Throws:
        -
        java.lang.IllegalAccessException
        -
      • -
      - - - -
        -
      • -

        testCustomTags

        -
        public void testCustomTags()
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtFactory.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtFactory.html deleted file mode 100644 index e85c1308..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtFactory.html +++ /dev/null @@ -1,682 +0,0 @@ - - - - - -NbtFactory - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.wrappers.nbt
-

Class NbtFactory

-
-
- -
-
    -
  • -
    -
    -
    public class NbtFactory
    -extends java.lang.Object
    -
    Factory methods for creating NBT elements, lists and compounds.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      NbtFactory() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      static NbtCompoundasCompound(NbtBase<?> tag) -
      Attempt to cast this NBT tag as a compund.
      -
      static NbtList<?>asList(NbtBase<?> tag) -
      Attempt to cast this NBT tag as a list.
      -
      static <T> NbtWrapper<T>fromBase(NbtBase<T> base) -
      Get a NBT wrapper from a NBT base.
      -
      static NbtWrapper<?>fromItemTag(org.bukkit.inventory.ItemStack stack) -
      Construct a wrapper for an NBT tag stored (in memory) in an item stack.
      -
      static <T> NbtWrapper<T>fromNMS(java.lang.Object handle) -
      Initialize a NBT wrapper.
      -
      static NbtBase<java.lang.Byte>of(java.lang.String name, - byte value) -
      Constructs a NBT tag of type byte.
      -
      static NbtBase<byte[]>of(java.lang.String name, - byte[] value) -
      Constructs a NBT tag of type byte array.
      -
      static NbtBase<java.lang.Double>of(java.lang.String name, - double value) -
      Constructs a NBT tag of type double.
      -
      static NbtBase<java.lang.Float>of(java.lang.String name, - float value) -
      Constructs a NBT tag of type float.
      -
      static NbtBase<java.lang.Integer>of(java.lang.String name, - int value) -
      Constructs a NBT tag of type int.
      -
      static NbtBase<int[]>of(java.lang.String name, - int[] value) -
      Constructs a NBT tag of type int array.
      -
      static NbtBase<java.lang.Long>of(java.lang.String name, - long value) -
      Constructs a NBT tag of type long.
      -
      static NbtBase<java.lang.Short>of(java.lang.String name, - short value) -
      Constructs a NBT tag of type short.
      -
      static NbtBase<java.lang.String>of(java.lang.String name, - java.lang.String value) -
      Constructs a NBT tag of type string.
      -
      static NbtCompoundofCompound(java.lang.String name) -
      Construct a new NBT compound wrapper.
      -
      static NbtCompoundofCompound(java.lang.String name, - java.util.Collection<? extends NbtBase<?>> list) -
      Construct a new NBT compound initialized with a given list of NBT values.
      -
      static <T> NbtList<T>ofList(java.lang.String name, - java.util.Collection<? extends T> elements) -
      Construct a NBT list of out a list of values.
      -
      static <T> NbtList<T>ofList(java.lang.String name, - T... elements) -
      Construct a NBT list of out an array of values.
      -
      static <T> NbtWrapper<T>ofWrapper(java.lang.Class<?> type, - java.lang.String name, - T value) -
      Create a new NBT wrapper from a given type.
      -
      static <T> NbtWrapper<T>ofWrapper(NbtType type, - java.lang.String name) -
      Create a new NBT wrapper from a given type.
      -
      static <T> NbtWrapper<T>ofWrapper(NbtType type, - java.lang.String name, - T value) -
      Create a new NBT wrapper from a given type.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        NbtFactory

        -
        public NbtFactory()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        asCompound

        -
        public static NbtCompound asCompound(NbtBase<?> tag)
        -
        Attempt to cast this NBT tag as a compund.
        -
        Parameters:
        tag - - the NBT tag to cast.
        -
        Returns:
        This instance as a compound.
        -
        Throws:
        -
        java.lang.UnsupportedOperationException - If this is not a compound.
        -
      • -
      - - - -
        -
      • -

        asList

        -
        public static NbtList<?> asList(NbtBase<?> tag)
        -
        Attempt to cast this NBT tag as a list.
        -
        Parameters:
        tag - - the NBT tag to cast.
        -
        Returns:
        This instance as a list.
        -
        Throws:
        -
        java.lang.UnsupportedOperationException - If this is not a list.
        -
      • -
      - - - -
        -
      • -

        fromBase

        -
        public static <T> NbtWrapper<T> fromBase(NbtBase<T> base)
        -
        Get a NBT wrapper from a NBT base. -

        - This may clone the content if the NbtBase is not a NbtWrapper.

        -
        Parameters:
        base - - the base class.
        -
        Returns:
        A NBT wrapper.
        -
      • -
      - - - -
        -
      • -

        fromItemTag

        -
        public static NbtWrapper<?> fromItemTag(org.bukkit.inventory.ItemStack stack)
        -
        Construct a wrapper for an NBT tag stored (in memory) in an item stack. This is where - auxillary data such as enchanting, name and lore is stored. It doesn't include the items - material, damage value or count. -

        - The item stack must be a wrapper for a CraftItemStack. Use - MinecraftReflection.getBukkitItemStack(ItemStack) if not.

        -
        Parameters:
        stack - - the item stack.
        -
        Returns:
        A wrapper for its NBT tag.
        -
      • -
      - - - -
        -
      • -

        fromNMS

        -
        public static <T> NbtWrapper<T> fromNMS(java.lang.Object handle)
        -
        Initialize a NBT wrapper.
        -
        Parameters:
        handle - - the underlying net.minecraft.server object to wrap.
        -
        Returns:
        A NBT wrapper.
        -
      • -
      - - - -
        -
      • -

        of

        -
        public static NbtBase<java.lang.String> of(java.lang.String name,
        -                           java.lang.String value)
        -
        Constructs a NBT tag of type string.
        -
        Parameters:
        name - - name of the tag.
        value - - value of the tag.
        -
        Returns:
        The constructed NBT tag.
        -
      • -
      - - - -
        -
      • -

        of

        -
        public static NbtBase<java.lang.Byte> of(java.lang.String name,
        -                         byte value)
        -
        Constructs a NBT tag of type byte.
        -
        Parameters:
        name - - name of the tag.
        value - - value of the tag.
        -
        Returns:
        The constructed NBT tag.
        -
      • -
      - - - -
        -
      • -

        of

        -
        public static NbtBase<java.lang.Short> of(java.lang.String name,
        -                          short value)
        -
        Constructs a NBT tag of type short.
        -
        Parameters:
        name - - name of the tag.
        value - - value of the tag.
        -
        Returns:
        The constructed NBT tag.
        -
      • -
      - - - -
        -
      • -

        of

        -
        public static NbtBase<java.lang.Integer> of(java.lang.String name,
        -                            int value)
        -
        Constructs a NBT tag of type int.
        -
        Parameters:
        name - - name of the tag.
        value - - value of the tag.
        -
        Returns:
        The constructed NBT tag.
        -
      • -
      - - - -
        -
      • -

        of

        -
        public static NbtBase<java.lang.Long> of(java.lang.String name,
        -                         long value)
        -
        Constructs a NBT tag of type long.
        -
        Parameters:
        name - - name of the tag.
        value - - value of the tag.
        -
        Returns:
        The constructed NBT tag.
        -
      • -
      - - - -
        -
      • -

        of

        -
        public static NbtBase<java.lang.Float> of(java.lang.String name,
        -                          float value)
        -
        Constructs a NBT tag of type float.
        -
        Parameters:
        name - - name of the tag.
        value - - value of the tag.
        -
        Returns:
        The constructed NBT tag.
        -
      • -
      - - - -
        -
      • -

        of

        -
        public static NbtBase<java.lang.Double> of(java.lang.String name,
        -                           double value)
        -
        Constructs a NBT tag of type double.
        -
        Parameters:
        name - - name of the tag.
        value - - value of the tag.
        -
        Returns:
        The constructed NBT tag.
        -
      • -
      - - - -
        -
      • -

        of

        -
        public static NbtBase<byte[]> of(java.lang.String name,
        -                 byte[] value)
        -
        Constructs a NBT tag of type byte array.
        -
        Parameters:
        name - - name of the tag.
        value - - value of the tag.
        -
        Returns:
        The constructed NBT tag.
        -
      • -
      - - - -
        -
      • -

        of

        -
        public static NbtBase<int[]> of(java.lang.String name,
        -                int[] value)
        -
        Constructs a NBT tag of type int array.
        -
        Parameters:
        name - - name of the tag.
        value - - value of the tag.
        -
        Returns:
        The constructed NBT tag.
        -
      • -
      - - - -
        -
      • -

        ofCompound

        -
        public static NbtCompound ofCompound(java.lang.String name,
        -                     java.util.Collection<? extends NbtBase<?>> list)
        -
        Construct a new NBT compound initialized with a given list of NBT values.
        -
        Parameters:
        name - - the name of the compound wrapper.
        list - - the list of elements to add.
        -
        Returns:
        The new wrapped NBT compound.
        -
      • -
      - - - -
        -
      • -

        ofCompound

        -
        public static NbtCompound ofCompound(java.lang.String name)
        -
        Construct a new NBT compound wrapper.
        -
        Parameters:
        name - - the name of the compound wrapper.
        -
        Returns:
        The new wrapped NBT compound.
        -
      • -
      - - - - - -
        -
      • -

        ofList

        -
        public static <T> NbtList<T> ofList(java.lang.String name,
        -                    T... elements)
        -
        Construct a NBT list of out an array of values.
        -
        Parameters:
        name - - name of this list.
        elements - - elements to add.
        -
        Returns:
        The new filled NBT list.
        -
      • -
      - - - -
        -
      • -

        ofList

        -
        public static <T> NbtList<T> ofList(java.lang.String name,
        -                    java.util.Collection<? extends T> elements)
        -
        Construct a NBT list of out a list of values.
        -
        Parameters:
        name - - name of this list.
        elements - - elements to add.
        -
        Returns:
        The new filled NBT list.
        -
      • -
      - - - -
        -
      • -

        ofWrapper

        -
        public static <T> NbtWrapper<T> ofWrapper(NbtType type,
        -                          java.lang.String name)
        -
        Create a new NBT wrapper from a given type.
        -
        Parameters:
        type - - the NBT type.
        name - - the name of the NBT tag.
        -
        Returns:
        The new wrapped NBT tag.
        -
        Throws:
        -
        FieldAccessException - If we're unable to create the underlying tag.
        -
      • -
      - - - - - -
        -
      • -

        ofWrapper

        -
        public static <T> NbtWrapper<T> ofWrapper(NbtType type,
        -                          java.lang.String name,
        -                          T value)
        -
        Create a new NBT wrapper from a given type.
        -
        Parameters:
        type - - the NBT type.
        name - - the name of the NBT tag.
        value - - the value of the new tag.
        -
        Returns:
        The new wrapped NBT tag.
        -
        Throws:
        -
        FieldAccessException - If we're unable to create the underlying tag.
        -
      • -
      - - - - - -
        -
      • -

        ofWrapper

        -
        public static <T> NbtWrapper<T> ofWrapper(java.lang.Class<?> type,
        -                          java.lang.String name,
        -                          T value)
        -
        Create a new NBT wrapper from a given type.
        -
        Parameters:
        type - - type of the NBT value.
        name - - the name of the NBT tag.
        value - - the value of the new tag.
        -
        Returns:
        The new wrapped NBT tag.
        -
        Throws:
        -
        FieldAccessException - If we're unable to create the underlying tag.
        -
        java.lang.IllegalArgumentException - If the given class type is not valid NBT.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtFactoryTest.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtFactoryTest.html deleted file mode 100644 index 3e54d561..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtFactoryTest.html +++ /dev/null @@ -1,272 +0,0 @@ - - - - - -NbtFactoryTest - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.wrappers.nbt
-

Class NbtFactoryTest

-
-
- -
-
    -
  • -
    -
    -
    public class NbtFactoryTest
    -extends java.lang.Object
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      NbtFactoryTest() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      static voidinitializeBukkit() 
      voidtestFromStream() 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        NbtFactoryTest

        -
        public NbtFactoryTest()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        initializeBukkit

        -
        public static void initializeBukkit()
        -                             throws java.lang.IllegalAccessException
        -
        Throws:
        -
        java.lang.IllegalAccessException
        -
      • -
      - - - -
        -
      • -

        testFromStream

        -
        public void testFromStream()
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtList.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtList.html deleted file mode 100644 index ec55c253..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtList.html +++ /dev/null @@ -1,569 +0,0 @@ - - - - - -NbtList - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.wrappers.nbt
-

Interface NbtList<TType>

-
-
-
-
    -
  • -
    Type Parameters:
    TType - - the value type of each NBT tag.
    -
    -
    All Superinterfaces:
    -
    java.lang.Iterable<TType>, NbtBase<java.util.List<NbtBase<TType>>>
    -
    -
    -
    -
    public interface NbtList<TType>
    -extends NbtBase<java.util.List<NbtBase<TType>>>, java.lang.Iterable<TType>
    -
    Represents a list of NBT tags of the same type without names. -

    - Use NbtFactory to load or create an instance. -

    - The NbtBase.getValue() method returns a List that will correctly return the content - of this NBT list, but may throw an UnsupportedOperationException for any of the write operations.

    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      static java.lang.StringEMPTY_NAME -
      The name of every NBT tag in a list.
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      voidadd(byte value) -
      Add a new byte element to the list.
      -
      voidadd(byte[] value) -
      Add a new byte array element to the list.
      -
      voidadd(double value) -
      Add a new double element to the list.
      -
      voidadd(int value) -
      Add a new integer element to the list.
      -
      voidadd(int[] value) -
      Add a new int array element to the list.
      -
      voidadd(long value) -
      Add a new long element to the list.
      -
      voidadd(NbtBase<TType> element) -
      Add a NBT list or NBT compound to the list.
      -
      voidadd(short value) -
      Add a new short element to the list.
      -
      voidadd(java.lang.String value) -
      Add a new string element to the list.
      -
      voidaddClosest(java.lang.Object value) -
      Add a value to a typed list by attempting to convert it to the nearest value.
      -
      java.util.Collection<NbtBase<TType>>asCollection() -
      Retrieve each NBT tag in this list.
      -
      NbtTypegetElementType() -
      Get the type of each element.
      -
      TTypegetValue(int index) -
      Retrieve an element by index.
      -
      java.util.Iterator<TType>iterator() -
      Iterate over all the elements in this list.
      -
      voidremove(java.lang.Object remove) -
      Remove a given object from the list.
      -
      voidsetElementType(NbtType type) -
      Set the type of each element.
      -
      intsize() -
      Retrieve the number of elements in this list.
      -
      - -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        EMPTY_NAME

        -
        static final java.lang.String EMPTY_NAME
        -
        The name of every NBT tag in a list.
        -
        See Also:
        Constant Field Values
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getElementType

        -
        NbtType getElementType()
        -
        Get the type of each element. -

        - This will be TAG_END if the NBT list has just been created.

        -
        Returns:
        Element type.
        -
      • -
      - - - -
        -
      • -

        setElementType

        -
        void setElementType(NbtType type)
        -
        Set the type of each element.
        -
        Parameters:
        type - - type of each element.
        -
      • -
      - - - -
        -
      • -

        addClosest

        -
        void addClosest(java.lang.Object value)
        -
        Add a value to a typed list by attempting to convert it to the nearest value. -

        - Note that the list must be typed by setting setElementType(NbtType) before calling this function.

        -
        Parameters:
        value - - the value to add.
        -
      • -
      - - - -
        -
      • -

        add

        -
        void add(NbtBase<TType> element)
        -
        Add a NBT list or NBT compound to the list.
        -
        Parameters:
        element -
        -
      • -
      - - - -
        -
      • -

        add

        -
        void add(java.lang.String value)
        -
        Add a new string element to the list.
        -
        Parameters:
        value - - the string element to add.
        -
        Throws:
        -
        java.lang.IllegalArgumentException - If this is not a list of strings.
        -
      • -
      - - - -
        -
      • -

        add

        -
        void add(byte value)
        -
        Add a new byte element to the list.
        -
        Parameters:
        value - - the byte element to add.
        -
        Throws:
        -
        java.lang.IllegalArgumentException - If this is not a list of bytes.
        -
      • -
      - - - -
        -
      • -

        add

        -
        void add(short value)
        -
        Add a new short element to the list.
        -
        Parameters:
        value - - the short element to add.
        -
        Throws:
        -
        java.lang.IllegalArgumentException - If this is not a list of shorts.
        -
      • -
      - - - -
        -
      • -

        add

        -
        void add(int value)
        -
        Add a new integer element to the list.
        -
        Parameters:
        value - - the string element to add.
        -
        Throws:
        -
        java.lang.IllegalArgumentException - If this is not a list of integers.
        -
      • -
      - - - -
        -
      • -

        add

        -
        void add(long value)
        -
        Add a new long element to the list.
        -
        Parameters:
        value - - the string element to add.
        -
        Throws:
        -
        java.lang.IllegalArgumentException - If this is not a list of longs.
        -
      • -
      - - - -
        -
      • -

        add

        -
        void add(double value)
        -
        Add a new double element to the list.
        -
        Parameters:
        value - - the double element to add.
        -
        Throws:
        -
        java.lang.IllegalArgumentException - If this is not a list of doubles.
        -
      • -
      - - - -
        -
      • -

        add

        -
        void add(byte[] value)
        -
        Add a new byte array element to the list.
        -
        Parameters:
        value - - the byte array element to add.
        -
        Throws:
        -
        java.lang.IllegalArgumentException - If this is not a list of byte arrays.
        -
      • -
      - - - -
        -
      • -

        add

        -
        void add(int[] value)
        -
        Add a new int array element to the list.
        -
        Parameters:
        value - - the int array element to add.
        -
        Throws:
        -
        java.lang.IllegalArgumentException - If this is not a list of int arrays.
        -
      • -
      - - - -
        -
      • -

        remove

        -
        void remove(java.lang.Object remove)
        -
        Remove a given object from the list.
        -
        Parameters:
        remove - - the object to remove.
        -
      • -
      - - - -
        -
      • -

        getValue

        -
        TType getValue(int index)
        -
        Retrieve an element by index.
        -
        Parameters:
        index - - index of the element to retrieve.
        -
        Returns:
        The element to retrieve.
        -
        Throws:
        -
        java.lang.IndexOutOfBoundsException - If the index is out of range (index < 0 || index >= size())
        -
      • -
      - - - -
        -
      • -

        size

        -
        int size()
        -
        Retrieve the number of elements in this list.
        -
        Returns:
        The number of elements in this list.
        -
      • -
      - - - -
        -
      • -

        asCollection

        -
        java.util.Collection<NbtBase<TType>> asCollection()
        -
        Retrieve each NBT tag in this list.
        -
        Returns:
        A view of NBT tag in this list.
        -
      • -
      - - - -
        -
      • -

        iterator

        -
        java.util.Iterator<TType> iterator()
        -
        Iterate over all the elements in this list.
        -
        -
        Specified by:
        -
        iterator in interface java.lang.Iterable<TType>
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtType.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtType.html deleted file mode 100644 index bb824520..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtType.html +++ /dev/null @@ -1,569 +0,0 @@ - - - - - -NbtType - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.wrappers.nbt
-

Enum NbtType

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.io.Serializable, java.lang.Comparable<NbtType>
    -
    -
    -
    -
    public enum NbtType
    -extends java.lang.Enum<NbtType>
    -
    Represents all the element types
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Enum Constant Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Enum Constants 
      Enum Constant and Description
      TAG_BYTE -
      A signed 1 byte integral type.
      -
      TAG_BYTE_ARRAY -
      An array of bytes.
      -
      TAG_COMPOUND -
      A list of fully formed tags, including their IDs, names, and payloads.
      -
      TAG_DOUBLE -
      A signed 8 byte floating point type.
      -
      TAG_END -
      Used to mark the end of compound tags.
      -
      TAG_FLOAT -
      A signed 4 byte floating point type.
      -
      TAG_INT -
      A signed 4 byte integral type.
      -
      TAG_INT_ARRAY -
      An array of TAG_Int's payloads..
      -
      TAG_LIST -
      A list of tag payloads, without repeated tag IDs or any tag names.
      -
      TAG_LONG -
      A signed 8 byte integral type.
      -
      TAG_SHORT -
      A signed 2 byte integral type.
      -
      TAG_STRING -
      A UTF-8 string
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      intgetRawID() -
      Retrieves the raw unique integer that identifies the type of the parent NBT element.
      -
      static NbtTypegetTypeFromClass(java.lang.Class<?> clazz) -
      Retrieve an NBT type from the given Java class.
      -
      static NbtTypegetTypeFromID(int rawID) -
      Retrieve an NBT type from a given raw ID.
      -
      java.lang.Class<?>getValueType() -
      Retrieves the type of the value stored in the NBT element.
      -
      booleanisComposite() -
      Determine if the given NBT can store multiple children NBT tags.
      -
      static NbtTypevalueOf(java.lang.String name) -
      Returns the enum constant of this type with the specified name.
      -
      static NbtType[]values() -
      Returns an array containing the constants of this enum type, in -the order they are declared.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Enum

        -clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -getClass, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Enum Constant Detail

      - - - -
        -
      • -

        TAG_END

        -
        public static final NbtType TAG_END
        -
        Used to mark the end of compound tags. CANNOT be constructed.
        -
      • -
      - - - -
        -
      • -

        TAG_BYTE

        -
        public static final NbtType TAG_BYTE
        -
        A signed 1 byte integral type. Sometimes used for booleans.
        -
      • -
      - - - -
        -
      • -

        TAG_SHORT

        -
        public static final NbtType TAG_SHORT
        -
        A signed 2 byte integral type.
        -
      • -
      - - - -
        -
      • -

        TAG_INT

        -
        public static final NbtType TAG_INT
        -
        A signed 4 byte integral type.
        -
      • -
      - - - -
        -
      • -

        TAG_LONG

        -
        public static final NbtType TAG_LONG
        -
        A signed 8 byte integral type.
        -
      • -
      - - - -
        -
      • -

        TAG_FLOAT

        -
        public static final NbtType TAG_FLOAT
        -
        A signed 4 byte floating point type.
        -
      • -
      - - - -
        -
      • -

        TAG_DOUBLE

        -
        public static final NbtType TAG_DOUBLE
        -
        A signed 8 byte floating point type.
        -
      • -
      - - - -
        -
      • -

        TAG_BYTE_ARRAY

        -
        public static final NbtType TAG_BYTE_ARRAY
        -
        An array of bytes.
        -
      • -
      - - - -
        -
      • -

        TAG_INT_ARRAY

        -
        public static final NbtType TAG_INT_ARRAY
        -
        An array of TAG_Int's payloads..
        -
      • -
      - - - -
        -
      • -

        TAG_STRING

        -
        public static final NbtType TAG_STRING
        -
        A UTF-8 string
        -
      • -
      - - - -
        -
      • -

        TAG_LIST

        -
        public static final NbtType TAG_LIST
        -
        A list of tag payloads, without repeated tag IDs or any tag names.
        -
      • -
      - - - -
        -
      • -

        TAG_COMPOUND

        -
        public static final NbtType TAG_COMPOUND
        -
        A list of fully formed tags, including their IDs, names, and payloads. No two tags may have the same name.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        values

        -
        public static NbtType[] values()
        -
        Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate -over the constants as follows: -
        -for (NbtType c : NbtType.values())
        -    System.out.println(c);
        -
        -
        Returns:
        an array containing the constants of this enum type, in -the order they are declared
        -
      • -
      - - - -
        -
      • -

        valueOf

        -
        public static NbtType valueOf(java.lang.String name)
        -
        Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.)
        -
        Parameters:
        name - the name of the enum constant to be returned.
        -
        Returns:
        the enum constant with the specified name
        -
        Throws:
        -
        java.lang.IllegalArgumentException - if this enum type has no constant -with the specified name
        -
        java.lang.NullPointerException - if the argument is null
        -
      • -
      - - - -
        -
      • -

        isComposite

        -
        public boolean isComposite()
        -
        Determine if the given NBT can store multiple children NBT tags.
        -
        Returns:
        TRUE if this is a composite NBT tag, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        getRawID

        -
        public int getRawID()
        -
        Retrieves the raw unique integer that identifies the type of the parent NBT element.
        -
        Returns:
        Integer that uniquely identifying the type.
        -
      • -
      - - - -
        -
      • -

        getValueType

        -
        public java.lang.Class<?> getValueType()
        -
        Retrieves the type of the value stored in the NBT element.
        -
        Returns:
        Type of the stored value.
        -
      • -
      - - - -
        -
      • -

        getTypeFromID

        -
        public static NbtType getTypeFromID(int rawID)
        -
        Retrieve an NBT type from a given raw ID.
        -
        Parameters:
        rawID - - the raw ID to lookup.
        -
        Returns:
        The associated NBT value.
        -
      • -
      - - - -
        -
      • -

        getTypeFromClass

        -
        public static NbtType getTypeFromClass(java.lang.Class<?> clazz)
        -
        Retrieve an NBT type from the given Java class.
        -
        Parameters:
        clazz - - type of the value the NBT type can contain.
        -
        Returns:
        The NBT type.
        -
        Throws:
        -
        java.lang.IllegalArgumentException - If this class type cannot be represented by NBT tags.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtVisitor.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtVisitor.html deleted file mode 100644 index ec9969c1..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtVisitor.html +++ /dev/null @@ -1,286 +0,0 @@ - - - - - -NbtVisitor - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.wrappers.nbt
-

Interface NbtVisitor

-
-
-
-
    -
  • -
    -
    -
    public interface NbtVisitor
    -
    A visitor that can enumerate a NBT tree structure.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      booleanvisit(NbtBase<?> node) -
      Visit a leaf node, which is a NBT tag with a primitive or String value.
      -
      booleanvisitEnter(NbtCompound compound) -
      Begin visiting a compound node that contains multiple child nodes of different types.
      -
      booleanvisitEnter(NbtList<?> list) -
      Begin visiting a list node that contains multiple child nodes of the same type.
      -
      booleanvisitLeave(NbtCompound compound) -
      Stop visiting a compound node.
      -
      booleanvisitLeave(NbtList<?> list) -
      Stop visiting a list node.
      -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        visit

        -
        boolean visit(NbtBase<?> node)
        -
        Visit a leaf node, which is a NBT tag with a primitive or String value.
        -
        Parameters:
        node - - the visited leaf node.
        -
        Returns:
        TRUE to continue visiting children at this level, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        visitEnter

        -
        boolean visitEnter(NbtList<?> list)
        -
        Begin visiting a list node that contains multiple child nodes of the same type.
        -
        Parameters:
        list - - the NBT tag to process.
        -
        Returns:
        TRUE to visit the child nodes of this list, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        visitEnter

        -
        boolean visitEnter(NbtCompound compound)
        -
        Begin visiting a compound node that contains multiple child nodes of different types.
        -
        Parameters:
        compound - - the NBT tag to process.
        -
        Returns:
        TRUE to visit the child nodes of this compound, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        visitLeave

        -
        boolean visitLeave(NbtList<?> list)
        -
        Stop visiting a list node.
        -
        Parameters:
        list - - the list we're done visiting.
        -
        Returns:
        TRUE for the parent to visit any subsequent sibling nodes, FALSE otherwise.
        -
      • -
      - - - -
        -
      • -

        visitLeave

        -
        boolean visitLeave(NbtCompound compound)
        -
        Stop visiting a compound node.
        -
        Parameters:
        compound - - the compound we're done visting.
        -
        Returns:
        TRUE for the parent to visit any subsequent sibling nodes, FALSE otherwise
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtWrapper.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtWrapper.html deleted file mode 100644 index 8a00fc4b..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/NbtWrapper.html +++ /dev/null @@ -1,245 +0,0 @@ - - - - - -NbtWrapper - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.wrappers.nbt
-

Interface NbtWrapper<TType>

-
-
-
-
    -
  • -
    Type Parameters:
    TType - - type of the value that is stored.
    -
    -
    All Superinterfaces:
    -
    NbtBase<TType>
    -
    -
    -
    -
    public interface NbtWrapper<TType>
    -extends NbtBase<TType>
    -
    Indicates that this NBT wraps an underlying net.minecraft.server instance. -

    - Use NbtFactory to load or create instances.

    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      java.lang.ObjectgetHandle() -
      Retrieve the underlying net.minecraft.server instance.
      -
      voidwrite(java.io.DataOutput destination) -
      Write the current NBT tag to an output stream.
      -
      - -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getHandle

        -
        java.lang.Object getHandle()
        -
        Retrieve the underlying net.minecraft.server instance.
        -
        Returns:
        The NMS instance.
        -
      • -
      - - - -
        -
      • -

        write

        -
        void write(java.io.DataOutput destination)
        -
        Write the current NBT tag to an output stream.
        -
        Parameters:
        destination - - the destination stream.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtBase.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtBase.html deleted file mode 100644 index 9ecdce5e..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtBase.html +++ /dev/null @@ -1,473 +0,0 @@ - - - - - -Uses of Interface com.comphenix.protocol.wrappers.nbt.NbtBase - - - - - - - -
- - - - - -
- - -
-

Uses of Interface
com.comphenix.protocol.wrappers.nbt.NbtBase

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtCompound.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtCompound.html deleted file mode 100644 index 19749ab3..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtCompound.html +++ /dev/null @@ -1,348 +0,0 @@ - - - - - -Uses of Interface com.comphenix.protocol.wrappers.nbt.NbtCompound - - - - - - - -
- - - - - -
- - -
-

Uses of Interface
com.comphenix.protocol.wrappers.nbt.NbtCompound

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtCompoundTest.NbtCustomTag.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtCompoundTest.NbtCustomTag.html deleted file mode 100644 index 05a85820..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtCompoundTest.NbtCustomTag.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.wrappers.nbt.NbtCompoundTest.NbtCustomTag - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.wrappers.nbt.NbtCompoundTest.NbtCustomTag

-
-
No usage of com.comphenix.protocol.wrappers.nbt.NbtCompoundTest.NbtCustomTag
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtCompoundTest.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtCompoundTest.html deleted file mode 100644 index 5408548b..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtCompoundTest.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.wrappers.nbt.NbtCompoundTest - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.wrappers.nbt.NbtCompoundTest

-
-
No usage of com.comphenix.protocol.wrappers.nbt.NbtCompoundTest
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtFactory.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtFactory.html deleted file mode 100644 index ad9bfae7..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtFactory.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.wrappers.nbt.NbtFactory - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.wrappers.nbt.NbtFactory

-
-
No usage of com.comphenix.protocol.wrappers.nbt.NbtFactory
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtFactoryTest.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtFactoryTest.html deleted file mode 100644 index 87b286bc..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtFactoryTest.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.wrappers.nbt.NbtFactoryTest - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.wrappers.nbt.NbtFactoryTest

-
-
No usage of com.comphenix.protocol.wrappers.nbt.NbtFactoryTest
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtList.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtList.html deleted file mode 100644 index 51399c28..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtList.html +++ /dev/null @@ -1,247 +0,0 @@ - - - - - -Uses of Interface com.comphenix.protocol.wrappers.nbt.NbtList - - - - - - - -
- - - - - -
- - -
-

Uses of Interface
com.comphenix.protocol.wrappers.nbt.NbtList

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtType.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtType.html deleted file mode 100644 index 74c9a227..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtType.html +++ /dev/null @@ -1,252 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.wrappers.nbt.NbtType - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.wrappers.nbt.NbtType

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtVisitor.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtVisitor.html deleted file mode 100644 index 1e0e10ed..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtVisitor.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - -Uses of Interface com.comphenix.protocol.wrappers.nbt.NbtVisitor - - - - - - - -
- - - - - -
- - -
-

Uses of Interface
com.comphenix.protocol.wrappers.nbt.NbtVisitor

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtWrapper.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtWrapper.html deleted file mode 100644 index bb33ec87..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/class-use/NbtWrapper.html +++ /dev/null @@ -1,229 +0,0 @@ - - - - - -Uses of Interface com.comphenix.protocol.wrappers.nbt.NbtWrapper - - - - - - - -
- - - - - -
- - -
-

Uses of Interface
com.comphenix.protocol.wrappers.nbt.NbtWrapper

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtBinarySerializer.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtBinarySerializer.html deleted file mode 100644 index d1c1b08b..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtBinarySerializer.html +++ /dev/null @@ -1,355 +0,0 @@ - - - - - -NbtBinarySerializer - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.wrappers.nbt.io
-

Class NbtBinarySerializer

-
-
- -
-
    -
  • -
    -
    -
    public class NbtBinarySerializer
    -extends java.lang.Object
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      static NbtBinarySerializerDEFAULT -
      Retrieve a default instance of the NBT binary serializer.
      -
      -
    • -
    - - - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      <TType> NbtWrapper<TType>deserialize(java.io.DataInput source) -
      Load an NBT tag from a stream.
      -
      NbtCompounddeserializeCompound(java.io.DataInput source) -
      Load an NBT compound from a stream.
      -
      <T> NbtList<T>deserializeList(java.io.DataInput source) -
      Load an NBT list from a stream.
      -
      <TType> voidserialize(NbtBase<TType> value, - java.io.DataOutput destination) -
      Write the content of a wrapped NBT tag to a stream.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        DEFAULT

        -
        public static final NbtBinarySerializer DEFAULT
        -
        Retrieve a default instance of the NBT binary serializer.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        NbtBinarySerializer

        -
        public NbtBinarySerializer()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        serialize

        -
        public <TType> void serialize(NbtBase<TType> value,
        -                     java.io.DataOutput destination)
        -
        Write the content of a wrapped NBT tag to a stream.
        -
        Parameters:
        value - - the NBT tag to write.
        destination - - the destination stream.
        -
      • -
      - - - -
        -
      • -

        deserialize

        -
        public <TType> NbtWrapper<TType> deserialize(java.io.DataInput source)
        -
        Load an NBT tag from a stream.
        -
        Parameters:
        source - - the input stream.
        -
        Returns:
        An NBT tag.
        -
      • -
      - - - -
        -
      • -

        deserializeCompound

        -
        public NbtCompound deserializeCompound(java.io.DataInput source)
        -
        Load an NBT compound from a stream.
        -
        Parameters:
        source - - the input stream.
        -
        Returns:
        An NBT compound.
        -
      • -
      - - - -
        -
      • -

        deserializeList

        -
        public <T> NbtList<T> deserializeList(java.io.DataInput source)
        -
        Load an NBT list from a stream.
        -
        Parameters:
        source - - the input stream.
        -
        Returns:
        An NBT list.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtConfigurationSerializer.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtConfigurationSerializer.html deleted file mode 100644 index bff07ae3..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtConfigurationSerializer.html +++ /dev/null @@ -1,435 +0,0 @@ - - - - - -NbtConfigurationSerializer - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.wrappers.nbt.io
-

Class NbtConfigurationSerializer

-
-
- -
-
    -
  • -
    -
    -
    public class NbtConfigurationSerializer
    -extends java.lang.Object
    -
    Serialize and deserialize NBT information from a configuration section. -

    - Note that data types may be internally preserved by modifying the serialized name. This may - be visible to the end-user.

    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      static NbtConfigurationSerializerDEFAULT -
      A standard YAML serializer.
      -
      static java.lang.StringTYPE_DELIMITER -
      The default delimiter that is used to store the data type in YAML.
      -
      -
    • -
    - - - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      <TType> NbtWrapper<TType>deserialize(org.bukkit.configuration.ConfigurationSection root, - java.lang.String nodeName) -
      Read a NBT tag from a root configuration.
      -
      NbtCompounddeserializeCompound(org.bukkit.configuration.file.YamlConfiguration root, - java.lang.String nodeName) -
      Read a NBT compound from a root configuration.
      -
      <T> NbtList<T>deserializeList(org.bukkit.configuration.file.YamlConfiguration root, - java.lang.String nodeName) -
      Read a NBT compound from a root configuration.
      -
      java.lang.StringgetDataTypeDelimiter() -
      Retrieve the current data type delimiter.
      -
      <TType> voidserialize(NbtBase<TType> value, - org.bukkit.configuration.ConfigurationSection destination) -
      Write the content of a NBT tag to a configuration section.
      -
      java.lang.ObjecttoNodeValue(java.lang.Object value, - NbtType type) 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        TYPE_DELIMITER

        -
        public static final java.lang.String TYPE_DELIMITER
        -
        The default delimiter that is used to store the data type in YAML.
        -
        See Also:
        Constant Field Values
        -
      • -
      - - - - -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        NbtConfigurationSerializer

        -
        public NbtConfigurationSerializer()
        -
        Construct a serializer using TYPE_DELIMITER as the default delimiter.
        -
      • -
      - - - -
        -
      • -

        NbtConfigurationSerializer

        -
        public NbtConfigurationSerializer(java.lang.String dataTypeDelimiter)
        -
        Construct a serializer using the given value as a delimiter.
        -
        Parameters:
        dataTypeDelimiter - - the local data type delimiter.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getDataTypeDelimiter

        -
        public java.lang.String getDataTypeDelimiter()
        -
        Retrieve the current data type delimiter.
        -
        Returns:
        The current data type delimiter.
        -
      • -
      - - - -
        -
      • -

        serialize

        -
        public <TType> void serialize(NbtBase<TType> value,
        -                     org.bukkit.configuration.ConfigurationSection destination)
        -
        Write the content of a NBT tag to a configuration section.
        -
        Parameters:
        value - - the NBT tag to write.
        destination - - the destination section.
        -
      • -
      - - - -
        -
      • -

        deserialize

        -
        public <TType> NbtWrapper<TType> deserialize(org.bukkit.configuration.ConfigurationSection root,
        -                                    java.lang.String nodeName)
        -
        Read a NBT tag from a root configuration.
        -
        Parameters:
        root - - configuration that contains the NBT tag.
        nodeName - - name of the NBT tag.
        -
        Returns:
        The read NBT tag.
        -
      • -
      - - - -
        -
      • -

        deserializeCompound

        -
        public NbtCompound deserializeCompound(org.bukkit.configuration.file.YamlConfiguration root,
        -                              java.lang.String nodeName)
        -
        Read a NBT compound from a root configuration.
        -
        Parameters:
        root - - configuration that contains the NBT compound.
        nodeName - - name of the NBT compound.
        -
        Returns:
        The read NBT compound.
        -
      • -
      - - - -
        -
      • -

        deserializeList

        -
        public <T> NbtList<T> deserializeList(org.bukkit.configuration.file.YamlConfiguration root,
        -                             java.lang.String nodeName)
        -
        Read a NBT compound from a root configuration.
        -
        Parameters:
        root - - configuration that contains the NBT compound.
        nodeName - - name of the NBT compound.
        -
        Returns:
        The read NBT compound.
        -
      • -
      - - - -
        -
      • -

        toNodeValue

        -
        public java.lang.Object toNodeValue(java.lang.Object value,
        -                           NbtType type)
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtConfigurationSerializerTest.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtConfigurationSerializerTest.html deleted file mode 100644 index 272ae2f3..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtConfigurationSerializerTest.html +++ /dev/null @@ -1,272 +0,0 @@ - - - - - -NbtConfigurationSerializerTest - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.wrappers.nbt.io
-

Class NbtConfigurationSerializerTest

-
-
- -
-
    -
  • -
    -
    -
    public class NbtConfigurationSerializerTest
    -extends java.lang.Object
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      static voidinitializeBukkit() 
      voidtestSerialization() 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        NbtConfigurationSerializerTest

        -
        public NbtConfigurationSerializerTest()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        initializeBukkit

        -
        public static void initializeBukkit()
        -                             throws java.lang.IllegalAccessException
        -
        Throws:
        -
        java.lang.IllegalAccessException
        -
      • -
      - - - -
        -
      • -

        testSerialization

        -
        public void testSerialization()
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtTextSerializer.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtTextSerializer.html deleted file mode 100644 index 688fb063..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/NbtTextSerializer.html +++ /dev/null @@ -1,399 +0,0 @@ - - - - - -NbtTextSerializer - - - - - - - -
- - - - - -
- - - -
-
com.comphenix.protocol.wrappers.nbt.io
-

Class NbtTextSerializer

-
-
- -
-
    -
  • -
    -
    -
    public class NbtTextSerializer
    -extends java.lang.Object
    -
    Serializes NBT to a base-64 encoded string and back.
    -
    Author:
    -
    Kristian
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      static NbtTextSerializerDEFAULT -
      A default instance of this serializer.
      -
      -
    • -
    - - - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      <TType> NbtWrapper<TType>deserialize(java.lang.String input) -
      Deserialize a NBT tag from a base-64 encoded string.
      -
      NbtCompounddeserializeCompound(java.lang.String input) -
      Deserialize a NBT compound from a base-64 encoded string.
      -
      <T> NbtList<T>deserializeList(java.lang.String input) -
      Deserialize a NBT list from a base-64 encoded string.
      -
      NbtBinarySerializergetBinarySerializer() -
      Retrieve the binary serializer that is used.
      -
      <TType> java.lang.Stringserialize(NbtBase<TType> value) -
      Serialize a NBT tag to a base-64 encoded string.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        DEFAULT

        -
        public static final NbtTextSerializer DEFAULT
        -
        A default instance of this serializer.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        NbtTextSerializer

        -
        public NbtTextSerializer()
        -
      • -
      - - - -
        -
      • -

        NbtTextSerializer

        -
        public NbtTextSerializer(NbtBinarySerializer binary)
        -
        Construct a serializer with a custom binary serializer.
        -
        Parameters:
        binary - - binary serializer.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getBinarySerializer

        -
        public NbtBinarySerializer getBinarySerializer()
        -
        Retrieve the binary serializer that is used.
        -
        Returns:
        The binary serializer.
        -
      • -
      - - - -
        -
      • -

        serialize

        -
        public <TType> java.lang.String serialize(NbtBase<TType> value)
        -
        Serialize a NBT tag to a base-64 encoded string.
        -
        Parameters:
        value - - the NBT tag to serialize.
        -
        Returns:
        The NBT tag in base-64 form.
        -
      • -
      - - - -
        -
      • -

        deserialize

        -
        public <TType> NbtWrapper<TType> deserialize(java.lang.String input)
        -                              throws java.io.IOException
        -
        Deserialize a NBT tag from a base-64 encoded string.
        -
        Parameters:
        input - - the base-64 string.
        -
        Returns:
        The NBT tag contained in the string.
        -
        Throws:
        -
        java.io.IOException - If we are unable to parse the input.
        -
      • -
      - - - -
        -
      • -

        deserializeCompound

        -
        public NbtCompound deserializeCompound(java.lang.String input)
        -                                throws java.io.IOException
        -
        Deserialize a NBT compound from a base-64 encoded string.
        -
        Parameters:
        input - - the base-64 string.
        -
        Returns:
        The NBT tag contained in the string.
        -
        Throws:
        -
        java.io.IOException - If we are unable to parse the input.
        -
      • -
      - - - -
        -
      • -

        deserializeList

        -
        public <T> NbtList<T> deserializeList(java.lang.String input)
        -                           throws java.io.IOException
        -
        Deserialize a NBT list from a base-64 encoded string.
        -
        Parameters:
        input - - the base-64 string.
        -
        Returns:
        The NBT tag contained in the string.
        -
        Throws:
        -
        java.io.IOException - If we are unable to parse the input.
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtBinarySerializer.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtBinarySerializer.html deleted file mode 100644 index 7b07eb6b..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtBinarySerializer.html +++ /dev/null @@ -1,185 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.wrappers.nbt.io.NbtBinarySerializer - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.wrappers.nbt.io.NbtBinarySerializer

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtConfigurationSerializer.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtConfigurationSerializer.html deleted file mode 100644 index daba26ce..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtConfigurationSerializer.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.wrappers.nbt.io.NbtConfigurationSerializer - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.wrappers.nbt.io.NbtConfigurationSerializer

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtConfigurationSerializerTest.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtConfigurationSerializerTest.html deleted file mode 100644 index cf6a4e11..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtConfigurationSerializerTest.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.wrappers.nbt.io.NbtConfigurationSerializerTest - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.wrappers.nbt.io.NbtConfigurationSerializerTest

-
-
No usage of com.comphenix.protocol.wrappers.nbt.io.NbtConfigurationSerializerTest
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtTextSerializer.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtTextSerializer.html deleted file mode 100644 index 08b0dd91..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/class-use/NbtTextSerializer.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - -Uses of Class com.comphenix.protocol.wrappers.nbt.io.NbtTextSerializer - - - - - - - -
- - - - - -
- - -
-

Uses of Class
com.comphenix.protocol.wrappers.nbt.io.NbtTextSerializer

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-frame.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-frame.html deleted file mode 100644 index ac1d26a7..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-frame.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - -com.comphenix.protocol.wrappers.nbt.io - - - - -

com.comphenix.protocol.wrappers.nbt.io

-
-

Classes

- -
- - diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-summary.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-summary.html deleted file mode 100644 index 2044c1cd..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-summary.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -com.comphenix.protocol.wrappers.nbt.io - - - - - - - -
- - - - - -
- - -
-

Package com.comphenix.protocol.wrappers.nbt.io

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-tree.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-tree.html deleted file mode 100644 index ebfeb29e..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-tree.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - -com.comphenix.protocol.wrappers.nbt.io Class Hierarchy - - - - - - - -
- - - - - -
- - -
-

Hierarchy For Package com.comphenix.protocol.wrappers.nbt.io

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-use.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-use.html deleted file mode 100644 index 8b49e768..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/io/package-use.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - -Uses of Package com.comphenix.protocol.wrappers.nbt.io - - - - - - - -
- - - - - -
- - -
-

Uses of Package
com.comphenix.protocol.wrappers.nbt.io

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/package-frame.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/package-frame.html deleted file mode 100644 index d8ed7e64..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/package-frame.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - - -com.comphenix.protocol.wrappers.nbt - - - - -

com.comphenix.protocol.wrappers.nbt

-
-

Interfaces

- -

Classes

- -

Enums

- -
- - diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/package-summary.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/package-summary.html deleted file mode 100644 index 3dc734a5..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/package-summary.html +++ /dev/null @@ -1,207 +0,0 @@ - - - - - -com.comphenix.protocol.wrappers.nbt - - - - - - - -
- - - - - -
- - -
-

Package com.comphenix.protocol.wrappers.nbt

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/package-tree.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/package-tree.html deleted file mode 100644 index 3a80c3ee..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/package-tree.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - -com.comphenix.protocol.wrappers.nbt Class Hierarchy - - - - - - - -
- - - - - -
- - -
-

Hierarchy For Package com.comphenix.protocol.wrappers.nbt

-Package Hierarchies: - -
-
-

Class Hierarchy

- -

Interface Hierarchy

- -

Enum Hierarchy

- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/nbt/package-use.html b/Javadoc/com/comphenix/protocol/wrappers/nbt/package-use.html deleted file mode 100644 index 2cc3cdfc..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/nbt/package-use.html +++ /dev/null @@ -1,258 +0,0 @@ - - - - - -Uses of Package com.comphenix.protocol.wrappers.nbt - - - - - - - -
- - - - - -
- - -
-

Uses of Package
com.comphenix.protocol.wrappers.nbt

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/package-frame.html b/Javadoc/com/comphenix/protocol/wrappers/package-frame.html deleted file mode 100644 index df9365f8..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/package-frame.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - -com.comphenix.protocol.wrappers - - - - -

com.comphenix.protocol.wrappers

-
-

Classes

- -
- - diff --git a/Javadoc/com/comphenix/protocol/wrappers/package-summary.html b/Javadoc/com/comphenix/protocol/wrappers/package-summary.html deleted file mode 100644 index 89a3e08c..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/package-summary.html +++ /dev/null @@ -1,165 +0,0 @@ - - - - - -com.comphenix.protocol.wrappers - - - - - - - -
- - - - - -
- - -
-

Package com.comphenix.protocol.wrappers

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/package-tree.html b/Javadoc/com/comphenix/protocol/wrappers/package-tree.html deleted file mode 100644 index 11446026..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/package-tree.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - -com.comphenix.protocol.wrappers Class Hierarchy - - - - - - - -
- - - - - -
- - -
-

Hierarchy For Package com.comphenix.protocol.wrappers

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
- -
- - - - - -
- - - - diff --git a/Javadoc/com/comphenix/protocol/wrappers/package-use.html b/Javadoc/com/comphenix/protocol/wrappers/package-use.html deleted file mode 100644 index d9778499..00000000 --- a/Javadoc/com/comphenix/protocol/wrappers/package-use.html +++ /dev/null @@ -1,196 +0,0 @@ - - - - - -Uses of Package com.comphenix.protocol.wrappers - - - - - - - -
- - - - - -
- - -
-

Uses of Package
com.comphenix.protocol.wrappers

-
-
- -
- -
- - - - - -
- - - - diff --git a/Javadoc/constant-values.html b/Javadoc/constant-values.html deleted file mode 100644 index 6b83dc1d..00000000 --- a/Javadoc/constant-values.html +++ /dev/null @@ -1,1097 +0,0 @@ - - - - - -Constant Field Values - - - - - - - -
- - - - - -
- - -
-

Constant Field Values

-

Contents

- -
-
- - -

com.comphenix.*

- - - - - - - - - -
- -
- - - - - -
- - - - diff --git a/Javadoc/deprecated-list.html b/Javadoc/deprecated-list.html deleted file mode 100644 index 3b791267..00000000 --- a/Javadoc/deprecated-list.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - - -Deprecated List - - - - - - - -
- - - - - -
- - -
-

Deprecated API

-

Contents

- -
-
- - - - - - - -
- -
- - - - - -
- - - - diff --git a/Javadoc/help-doc.html b/Javadoc/help-doc.html deleted file mode 100644 index 54b8a5de..00000000 --- a/Javadoc/help-doc.html +++ /dev/null @@ -1,220 +0,0 @@ - - - - - -API Help - - - - - - - -
- - - - - -
- - -
-

How This API Document Is Organized

-
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
-
-
- -This help file applies to API documentation generated using the standard doclet.
- -
- - - - - -
- - - - diff --git a/Javadoc/index-files/index-1.html b/Javadoc/index-files/index-1.html deleted file mode 100644 index 6e18fcee..00000000 --- a/Javadoc/index-files/index-1.html +++ /dev/null @@ -1,344 +0,0 @@ - - - - - -A-Index - - - - - - - -
- - - - - -
- - -
A B C D E F G H I K L M N O P R S T U V W X Y Z  - - -

A

-
-
ABILITIES - Static variable in class com.comphenix.protocol.Packets.Client
-
 
-
ABILITIES - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
AbstractConcurrentListenerMultimap<TListener> - Class in com.comphenix.protocol.concurrency
-
-
A thread-safe implementation of a listener multimap.
-
-
AbstractConcurrentListenerMultimap(int) - Constructor for class com.comphenix.protocol.concurrency.AbstractConcurrentListenerMultimap
-
 
-
AbstractFuzzyMatcher<T> - Class in com.comphenix.protocol.reflect.fuzzy
-
-
Represents a matcher for fields, methods, constructors and classes.
-
-
AbstractFuzzyMatcher() - Constructor for class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher
-
 
-
AbstractFuzzyMember<T extends java.lang.reflect.Member> - Class in com.comphenix.protocol.reflect.fuzzy
-
-
Represents a matcher that matches members.
-
-
AbstractFuzzyMember() - Constructor for class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
-
 
-
AbstractFuzzyMember(AbstractFuzzyMember<T>) - Constructor for class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
-
 
-
AbstractFuzzyMember.Builder<T extends AbstractFuzzyMember<?>> - Class in com.comphenix.protocol.reflect.fuzzy
-
-
Represents a builder of a fuzzy member contract.
-
-
AbstractFuzzyMember.Builder() - Constructor for class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember.Builder
-
 
-
AbstractIntervalTree<TKey extends java.lang.Comparable<TKey>,TValue> - Class in com.comphenix.protocol.concurrency
-
-
Represents a generic store of intervals and associated values.
-
-
AbstractIntervalTree() - Constructor for class com.comphenix.protocol.concurrency.AbstractIntervalTree
-
 
-
AbstractIntervalTree.EndPoint - Class in com.comphenix.protocol.concurrency
-
-
Represents a single end point (open, close or both) of a range.
-
-
AbstractIntervalTree.EndPoint(AbstractIntervalTree.State, TKey, TValue) - Constructor for class com.comphenix.protocol.concurrency.AbstractIntervalTree.EndPoint
-
 
-
AbstractIntervalTree.Entry - Class in com.comphenix.protocol.concurrency
-
-
Represents a range and a value in this interval tree.
-
-
AbstractIntervalTree.State - Enum in com.comphenix.protocol.concurrency
-
 
-
accept(NbtVisitor) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtBase
-
-
Accepts a NBT visitor.
-
-
accept(NbtVisitor) - Method in class com.comphenix.protocol.wrappers.nbt.NbtCompoundTest.NbtCustomTag
-
 
-
add(int) - Method in class com.comphenix.protocol.concurrency.IntegerSet
-
-
Add the given element to the set, or do nothing if it already exists.
-
-
add(T) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
-
-
Inserts the given element in the proper location.
-
-
add(ChunkPosition) - Method in class com.comphenix.protocol.wrappers.ChunkPosition
-
-
Adds the current position and a given position together, producing a result position.
-
-
add(NbtBase<TType>) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtList
-
-
Add a NBT list or NBT compound to the list.
-
-
add(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtList
-
-
Add a new string element to the list.
-
-
add(byte) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtList
-
-
Add a new byte element to the list.
-
-
add(short) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtList
-
-
Add a new short element to the list.
-
-
add(int) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtList
-
-
Add a new integer element to the list.
-
-
add(long) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtList
-
-
Add a new long element to the list.
-
-
add(double) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtList
-
-
Add a new double element to the list.
-
-
add(byte[]) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtList
-
-
Add a new byte array element to the list.
-
-
add(int[]) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtList
-
-
Add a new int array element to the list.
-
-
ADD_EXP_ORB - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
addAll(Collection<Integer>) - Method in class com.comphenix.protocol.concurrency.IntegerSet
-
-
Add the given collection of elements to the set.
-
-
addAll(Collection<? extends T>) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
-
 
-
addClosest(Object) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtList
-
-
Add a value to a typed list by attempting to convert it to the nearest value.
-
-
addCustomData(Metrics.Plotter) - Method in class com.comphenix.protocol.metrics.Metrics
-
-
Adds a custom data plotter to the default graph
-
-
addEndPoint(TKey, TValue, AbstractIntervalTree.State) - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree
-
 
-
addGlobalParameter(String, Object) - Method in class com.comphenix.protocol.error.DetailedErrorReporter
-
-
Adds the given global parameter.
-
-
addGraph(Metrics.Graph) - Method in class com.comphenix.protocol.metrics.Metrics
-
-
Add a Graph object to BukkitMetrics that represents data for the plugin that should be sent to the backend
-
-
addListener(TListener, ListeningWhitelist) - Method in class com.comphenix.protocol.concurrency.AbstractConcurrentListenerMultimap
-
-
Adds a listener to its requested list of packet recievers.
-
-
addListener(StructureModifier<TKey>, CompileListener<TKey>) - Method in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
-
-
Add a compile listener if we are still waiting for the structure modifier to be compiled.
-
-
addPacketListener(PacketListener) - Method in interface com.comphenix.protocol.ProtocolManager
-
-
Adds a packet listener.
-
-
addPlotter(Metrics.Plotter) - Method in class com.comphenix.protocol.metrics.Metrics.Graph
-
-
Add a plotter to the graph, which will be used to plot entries
-
-
addPrefix(String, String) - Method in class com.comphenix.protocol.error.DetailedErrorReporter
-
-
Adds the given prefix to every line in the text.
-
-
AggregateCloner - Class in com.comphenix.protocol.reflect.cloning
-
-
Implements a cloning procedure by trying multiple methods in turn until one is successful.
-
-
AggregateCloner.Builder - Class in com.comphenix.protocol.reflect.cloning
-
-
Represents a builder for aggregate (combined) cloners.
-
-
AggregateCloner.Builder() - Constructor for class com.comphenix.protocol.reflect.cloning.AggregateCloner.Builder
-
-
Create a new aggregate builder.
-
-
AggregateCloner.BuilderParameters - Class in com.comphenix.protocol.reflect.cloning
-
-
Supplies the cloner factories with necessary parameters.
-
-
and(AbstractFuzzyMatcher<T>) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher
-
-
Require that this and the given matcher be TRUE.
-
-
andThen(Class<? extends Cloner>) - Method in class com.comphenix.protocol.reflect.cloning.AggregateCloner.Builder
-
-
Add the next cloner that will be considered in turn.
-
-
andThen(Function<AggregateCloner.BuilderParameters, Cloner>) - Method in class com.comphenix.protocol.reflect.cloning.AggregateCloner.Builder
-
-
Add the next cloner that will be considered in turn.
-
-
apacheCommonsMissing - Variable in class com.comphenix.protocol.error.DetailedErrorReporter
-
 
-
Application - Class in com.comphenix.protocol
-
-
Ignore this class.
-
-
Application() - Constructor for class com.comphenix.protocol.Application
-
 
-
ARM_ANIMATION - Static variable in class com.comphenix.protocol.Packets.Client
-
 
-
ARM_ANIMATION - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
asCollection() - Method in interface com.comphenix.protocol.wrappers.nbt.NbtList
-
-
Retrieve each NBT tag in this list.
-
-
asCompound(NbtBase<?>) - Static method in class com.comphenix.protocol.wrappers.nbt.NbtFactory
-
-
Attempt to cast this NBT tag as a compund.
-
-
asList(NbtBase<?>) - Static method in class com.comphenix.protocol.wrappers.nbt.NbtFactory
-
-
Attempt to cast this NBT tag as a list.
-
-
AsyncFilterManager - Class in com.comphenix.protocol.async
-
-
Represents a filter manager for asynchronous packets.
-
-
AsyncFilterManager(ErrorReporter, BukkitScheduler, ProtocolManager) - Constructor for class com.comphenix.protocol.async.AsyncFilterManager
-
-
Initialize a asynchronous filter manager.
-
-
AsynchronousManager - Interface in com.comphenix.protocol
-
-
Represents a asynchronous packet handler.
-
-
AsyncListenerHandler - Class in com.comphenix.protocol.async
-
-
Represents a handler for an asynchronous event.
-
-
AsyncMarker - Class in com.comphenix.protocol.async
-
-
Contains information about the packet that is being processed by asynchronous listeners.
-
-
AsyncRunnable - Interface in com.comphenix.protocol.async
-
-
A runnable representing a asynchronous event listener.
-
-
ATTACH_ENTITY - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
-A B C D E F G H I K L M N O P R S T U V W X Y Z 
- -
- - - - - -
- - - - diff --git a/Javadoc/index-files/index-10.html b/Javadoc/index-files/index-10.html deleted file mode 100644 index 7c94c839..00000000 --- a/Javadoc/index-files/index-10.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - -K-Index - - - - - - - -
- - - - - -
- - -
A B C D E F G H I K L M N O P R S T U V W X Y Z  - - -

K

-
-
KEEP_ALIVE - Static variable in class com.comphenix.protocol.Packets.Client
-
 
-
KEEP_ALIVE - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
key - Variable in class com.comphenix.protocol.concurrency.AbstractIntervalTree.EndPoint
-
 
-
KEY_REQUEST - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
KEY_RESPONSE - Static variable in class com.comphenix.protocol.Packets.Client
-
 
-
KEY_RESPONSE - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
keys() - Method in class com.comphenix.protocol.concurrency.BlockingHashMap
-
 
-
keySet() - Method in class com.comphenix.protocol.concurrency.AbstractConcurrentListenerMultimap
-
-
Retrieve every registered packet ID:
-
-
KICK_DISCONNECT - Static variable in class com.comphenix.protocol.Packets.Client
-
 
-
KICK_DISCONNECT - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
-A B C D E F G H I K L M N O P R S T U V W X Y Z 
- -
- - - - - -
- - - - diff --git a/Javadoc/index-files/index-11.html b/Javadoc/index-files/index-11.html deleted file mode 100644 index e09ba9b7..00000000 --- a/Javadoc/index-files/index-11.html +++ /dev/null @@ -1,154 +0,0 @@ - - - - - -L-Index - - - - - - - -
- - - - - -
- - -
A B C D E F G H I K L M N O P R S T U V W X Y Z  - - -

L

-
-
ListenerPriority - Enum in com.comphenix.protocol.events
-
-
Represents a packet event priority, similar to the Bukkit EventPriority.
-
-
ListeningWhitelist - Class in com.comphenix.protocol.events
-
-
Determines which packets will be observed by a listener, and with what priority.
-
-
ListeningWhitelist(ListenerPriority, Set<Integer>) - Constructor for class com.comphenix.protocol.events.ListeningWhitelist
-
-
Creates a packet whitelist for a given priority with a set of packet IDs.
-
-
ListeningWhitelist(ListenerPriority, Set<Integer>, GamePhase) - Constructor for class com.comphenix.protocol.events.ListeningWhitelist
-
-
Creates a packet whitelist for a given priority with a set of packet IDs.
-
-
ListeningWhitelist(ListenerPriority, Integer...) - Constructor for class com.comphenix.protocol.events.ListeningWhitelist
-
-
Creates a packet whitelist of a given priority for a list of packets.
-
-
ListeningWhitelist(ListenerPriority, Integer[], GamePhase) - Constructor for class com.comphenix.protocol.events.ListeningWhitelist
-
-
Creates a packet whitelist for a given priority with a set of packet IDs.
-
-
LOCALE_AND_VIEW_DISTANCE - Static variable in class com.comphenix.protocol.Packets.Client
-
 
-
logger - Variable in class com.comphenix.protocol.error.DetailedErrorReporter
-
 
-
LOGIN - Static variable in class com.comphenix.protocol.Packets.Client
-
 
-
LOGIN - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
lookupClassLoader(StructureModifier<TField>) - Method in class com.comphenix.protocol.reflect.compiler.StructureCompiler
-
-
Lookup the current class loader for any previously generated classes before we attempt to generate something.
-
-
-A B C D E F G H I K L M N O P R S T U V W X Y Z 
- -
- - - - - -
- - - - diff --git a/Javadoc/index-files/index-12.html b/Javadoc/index-files/index-12.html deleted file mode 100644 index 28c8ddf4..00000000 --- a/Javadoc/index-files/index-12.html +++ /dev/null @@ -1,278 +0,0 @@ - - - - - -M-Index - - - - - - - -
- - - - - -
- - -
A B C D E F G H I K L M N O P R S T U V W X Y Z  - - -

M

-
-
main(String[]) - Static method in class com.comphenix.protocol.Application
-
 
-
MAP_CHUNK - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
MAP_CHUNK_BULK - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
matchAnyOf(Class<?>...) - Static method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMatchers
-
-
Construct a class matcher that matches any of the given classes exactly.
-
-
matchAnyOf(Set<Class<?>>) - Static method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMatchers
-
-
Construct a class matcher that matches any of the given classes exactly.
-
-
matchDerived(Class<?>) - Static method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMatchers
-
-
Construct a class matcher that matches derived types of the given class.
-
-
matchExact(Class<?>) - Static method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMatchers
-
-
Construct a class matcher that matches types exactly.
-
-
matchParent() - Static method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMatchers
-
-
Match the parent class of a method, field or constructor.
-
-
matchRegex(Pattern, int) - Static method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMatchers
-
-
Construct a class matcher based on the canonical names of classes.
-
-
matchRegex(String, int) - Static method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMatchers
-
-
Construct a class matcher based on the canonical names of classes.
-
-
matchSuper(Class<?>) - Static method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMatchers
-
-
Construct a class matcher that matches super types of the given class.
-
-
maxErrorCount - Variable in class com.comphenix.protocol.error.DetailedErrorReporter
-
 
-
MAXIMUM_PACKET_ID - Static variable in class com.comphenix.protocol.Packets
-
-
The highest possible packet ID.
-
-
member - Variable in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember.Builder
-
 
-
members - Variable in class com.comphenix.protocol.reflect.IntEnum
-
 
-
messageParam(Object...) - Method in class com.comphenix.protocol.error.Report.ReportBuilder
-
-
Set the message parameters that are used to construct a message text.
-
-
method(AbstractFuzzyMatcher<MethodInfo>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract.Builder
-
-
Add a new method contract.
-
-
method(FuzzyMethodContract.Builder) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract.Builder
-
-
Add a new method contract via a builder.
-
-
MethodInfo - Class in com.comphenix.protocol.reflect
-
-
Represents a method or a constructor.
-
-
MethodInfo() - Constructor for class com.comphenix.protocol.reflect.MethodInfo
-
 
-
MethodUtils - Class in com.comphenix.protocol.reflect
-
-
Utility reflection methods focussed on methods in general rather than properties in particular.
-
-
MethodUtils() - Constructor for class com.comphenix.protocol.reflect.MethodUtils
-
 
-
Metrics - Class in com.comphenix.protocol.metrics
-
-
The metrics class obtains data about a plugin and submits statistics about it to the metrics backend.
-
-
Metrics(Plugin) - Constructor for class com.comphenix.protocol.metrics.Metrics
-
 
-
Metrics.Graph - Class in com.comphenix.protocol.metrics
-
-
Represents a custom graph on the website
-
-
Metrics.Plotter - Class in com.comphenix.protocol.metrics
-
-
Interface used to collect custom data for a plugin
-
-
Metrics.Plotter() - Constructor for class com.comphenix.protocol.metrics.Metrics.Plotter
-
-
Construct a plotter with the default plot name
-
-
Metrics.Plotter(String) - Constructor for class com.comphenix.protocol.metrics.Metrics.Plotter
-
-
Construct a plotter with a specific plot name
-
-
MINECRAFT_OBJECT - Static variable in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Deprecated.
-
-
MinecraftMethods - Class in com.comphenix.protocol.utility
-
-
Static methods for accessing Minecraft methods.
-
-
MinecraftMethods() - Constructor for class com.comphenix.protocol.utility.MinecraftMethods
-
 
-
MinecraftReflection - Class in com.comphenix.protocol.utility
-
-
Methods and constants specifically used in conjuction with reflecting Minecraft object.
-
-
MinecraftVersion - Class in com.comphenix.protocol.utility
-
-
Determine the current Minecraft version.
-
-
MinecraftVersion(Server) - Constructor for class com.comphenix.protocol.utility.MinecraftVersion
-
-
Determine the current Minecraft version.
-
-
MinecraftVersion(String) - Constructor for class com.comphenix.protocol.utility.MinecraftVersion
-
-
Construct a version object from the format major.minor.build.
-
-
MinecraftVersion(int, int, int) - Constructor for class com.comphenix.protocol.utility.MinecraftVersion
-
-
Construct a version object directly.
-
-
MinecraftVersion(int, int, int, String) - Constructor for class com.comphenix.protocol.utility.MinecraftVersion
-
-
Construct a version object directly.
-
-
MinecraftVersionTest - Class in com.comphenix.protocol
-
 
-
MinecraftVersionTest() - Constructor for class com.comphenix.protocol.MinecraftVersionTest
-
 
-
MOB_EFFECT - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
MOB_SPAWN - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
modifier - Variable in class com.comphenix.protocol.wrappers.WrappedWatchableObject
-
 
-
modifiersBanned - Variable in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
-
 
-
modifiersRequired - Variable in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
-
 
-
modify(int, Function<TField, TField>) - Method in class com.comphenix.protocol.reflect.StructureModifier
-
-
Correctly modifies the value of a field.
-
-
MonitorAdapter - Class in com.comphenix.protocol.events
-
-
Represents a listener that is notified of every sent and recieved packet.
-
-
MonitorAdapter(Plugin, ConnectionSide) - Constructor for class com.comphenix.protocol.events.MonitorAdapter
-
 
-
MonitorAdapter(Plugin, ConnectionSide, Logger) - Constructor for class com.comphenix.protocol.events.MonitorAdapter
-
 
-
MULTI_BLOCK_CHANGE - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
multiply(int) - Method in class com.comphenix.protocol.wrappers.ChunkPosition
-
-
Multiply each dimension in the current position by the given factor.
-
-
-A B C D E F G H I K L M N O P R S T U V W X Y Z 
- -
- - - - - -
- - - - diff --git a/Javadoc/index-files/index-13.html b/Javadoc/index-files/index-13.html deleted file mode 100644 index 73b86a3a..00000000 --- a/Javadoc/index-files/index-13.html +++ /dev/null @@ -1,277 +0,0 @@ - - - - - -N-Index - - - - - - - -
- - - - - -
- - -
A B C D E F G H I K L M N O P R S T U V W X Y Z  - - -

N

-
-
NAME - Static variable in class com.comphenix.protocol.CommandFilter
-
-
Name of this command.
-
-
NAMED_ENTITY_SPAWN - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
NAMED_SOUND_EFFECT - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
nameExact(String) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember.Builder
-
-
Set the exact name of the member we are matching.
-
-
nameExact(String) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder
-
 
-
nameExact(String) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
-
 
-
nameRegex(String) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember.Builder
-
-
Set the regular expresson that matches a members name.
-
-
nameRegex(Pattern) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember.Builder
-
-
Set the regular expression pattern that matches a members name.
-
-
nameRegex - Variable in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
-
 
-
nameRegex(String) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder
-
 
-
nameRegex(Pattern) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder
-
 
-
nameRegex(String) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
-
 
-
nameRegex(Pattern) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
-
 
-
NbtBase<TType> - Interface in com.comphenix.protocol.wrappers.nbt
-
-
Represents a generic container for an NBT element.
-
-
NbtBinarySerializer - Class in com.comphenix.protocol.wrappers.nbt.io
-
 
-
NbtBinarySerializer() - Constructor for class com.comphenix.protocol.wrappers.nbt.io.NbtBinarySerializer
-
 
-
NbtCompound - Interface in com.comphenix.protocol.wrappers.nbt
-
-
Represents a mapping of arbitrary NBT elements and their unique names.
-
-
NbtCompoundTest - Class in com.comphenix.protocol.wrappers.nbt
-
 
-
NbtCompoundTest() - Constructor for class com.comphenix.protocol.wrappers.nbt.NbtCompoundTest
-
 
-
NbtCompoundTest.NbtCustomTag<TValue> - Class in com.comphenix.protocol.wrappers.nbt
-
-
Represents a custom NBT tag.
-
-
NbtCompoundTest.NbtCustomTag(String, TValue) - Constructor for class com.comphenix.protocol.wrappers.nbt.NbtCompoundTest.NbtCustomTag
-
 
-
NbtConfigurationSerializer - Class in com.comphenix.protocol.wrappers.nbt.io
-
-
Serialize and deserialize NBT information from a configuration section.
-
-
NbtConfigurationSerializer() - Constructor for class com.comphenix.protocol.wrappers.nbt.io.NbtConfigurationSerializer
-
-
Construct a serializer using NbtConfigurationSerializer.TYPE_DELIMITER as the default delimiter.
-
-
NbtConfigurationSerializer(String) - Constructor for class com.comphenix.protocol.wrappers.nbt.io.NbtConfigurationSerializer
-
-
Construct a serializer using the given value as a delimiter.
-
-
NbtConfigurationSerializerTest - Class in com.comphenix.protocol.wrappers.nbt.io
-
 
-
NbtConfigurationSerializerTest() - Constructor for class com.comphenix.protocol.wrappers.nbt.io.NbtConfigurationSerializerTest
-
 
-
NbtFactory - Class in com.comphenix.protocol.wrappers.nbt
-
-
Factory methods for creating NBT elements, lists and compounds.
-
-
NbtFactory() - Constructor for class com.comphenix.protocol.wrappers.nbt.NbtFactory
-
 
-
NbtFactoryTest - Class in com.comphenix.protocol.wrappers.nbt
-
 
-
NbtFactoryTest() - Constructor for class com.comphenix.protocol.wrappers.nbt.NbtFactoryTest
-
 
-
NbtList<TType> - Interface in com.comphenix.protocol.wrappers.nbt
-
-
Represents a list of NBT tags of the same type without names.
-
-
NbtTextSerializer - Class in com.comphenix.protocol.wrappers.nbt.io
-
-
Serializes NBT to a base-64 encoded string and back.
-
-
NbtTextSerializer() - Constructor for class com.comphenix.protocol.wrappers.nbt.io.NbtTextSerializer
-
 
-
NbtTextSerializer(NbtBinarySerializer) - Constructor for class com.comphenix.protocol.wrappers.nbt.io.NbtTextSerializer
-
-
Construct a serializer with a custom binary serializer.
-
-
NbtType - Enum in com.comphenix.protocol.wrappers.nbt
-
-
Represents all the element types
-
-
NbtVisitor - Interface in com.comphenix.protocol.wrappers.nbt
-
-
A visitor that can enumerate a NBT tree structure.
-
-
NbtWrapper<TType> - Interface in com.comphenix.protocol.wrappers.nbt
-
-
Indicates that this NBT wraps an underlying net.minecraft.server instance.
-
-
newBuilder(ReportType) - Static method in class com.comphenix.protocol.error.Report
-
-
Construct a new report builder.
-
-
newBuilder() - Static method in class com.comphenix.protocol.reflect.cloning.AggregateCloner
-
-
Begins constructing a new aggregate cloner.
-
-
newBuilder() - Static method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract
-
-
Construct a new fuzzy class contract builder.
-
-
newBuilder() - Static method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract
-
-
Return a new fuzzy field contract builder.
-
-
newBuilder() - Static method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract
-
-
Return a method contract builder.
-
-
newInvalidCacheLoader() - Static method in class com.comphenix.protocol.concurrency.BlockingHashMap
-
-
Retrieve a cache loader that will always throw an exception.
-
-
NotConstructableException - Exception in com.comphenix.protocol.reflect.instances
-
-
Invoked when a instance provider indicates that a given type cannot or should not be - constructed under any circumstances.
-
-
NotConstructableException() - Constructor for exception com.comphenix.protocol.reflect.instances.NotConstructableException
-
-
Construct a new not constructable exception.
-
-
NotConstructableException(String) - Constructor for exception com.comphenix.protocol.reflect.instances.NotConstructableException
-
-
Construct a new not constructable exception with a custom message.
-
-
NotConstructableException(String, Throwable) - Constructor for exception com.comphenix.protocol.reflect.instances.NotConstructableException
-
-
Construct a new not constructable exception with a custom message and cause.
-
-
NotConstructableException(Throwable) - Constructor for exception com.comphenix.protocol.reflect.instances.NotConstructableException
-
-
Construct a new not constructable exception with a custom cause.
-
-
NullableCloner - Class in com.comphenix.protocol.reflect.cloning
-
-
Creates a cloner wrapper that accepts and clones NULL values.
-
-
NullableCloner(Cloner) - Constructor for class com.comphenix.protocol.reflect.cloning.NullableCloner
-
 
-
-A B C D E F G H I K L M N O P R S T U V W X Y Z 
- -
- - - - - -
- - - - diff --git a/Javadoc/index-files/index-14.html b/Javadoc/index-files/index-14.html deleted file mode 100644 index 256d78b1..00000000 --- a/Javadoc/index-files/index-14.html +++ /dev/null @@ -1,232 +0,0 @@ - - - - - -O-Index - - - - - - - -
- - - - - -
- - -
A B C D E F G H I K L M N O P R S T U V W X Y Z  - - -

O

-
-
ObjectWriter - Class in com.comphenix.protocol.reflect
-
-
Can copy an object field by field.
-
-
ObjectWriter() - Constructor for class com.comphenix.protocol.reflect.ObjectWriter
-
 
-
of(String, String) - Static method in class com.comphenix.protocol.wrappers.nbt.NbtFactory
-
-
Constructs a NBT tag of type string.
-
-
of(String, byte) - Static method in class com.comphenix.protocol.wrappers.nbt.NbtFactory
-
-
Constructs a NBT tag of type byte.
-
-
of(String, short) - Static method in class com.comphenix.protocol.wrappers.nbt.NbtFactory
-
-
Constructs a NBT tag of type short.
-
-
of(String, int) - Static method in class com.comphenix.protocol.wrappers.nbt.NbtFactory
-
-
Constructs a NBT tag of type int.
-
-
of(String, long) - Static method in class com.comphenix.protocol.wrappers.nbt.NbtFactory
-
-
Constructs a NBT tag of type long.
-
-
of(String, float) - Static method in class com.comphenix.protocol.wrappers.nbt.NbtFactory
-
-
Constructs a NBT tag of type float.
-
-
of(String, double) - Static method in class com.comphenix.protocol.wrappers.nbt.NbtFactory
-
-
Constructs a NBT tag of type double.
-
-
of(String, byte[]) - Static method in class com.comphenix.protocol.wrappers.nbt.NbtFactory
-
-
Constructs a NBT tag of type byte array.
-
-
of(String, int[]) - Static method in class com.comphenix.protocol.wrappers.nbt.NbtFactory
-
-
Constructs a NBT tag of type int array.
-
-
ofCompound(String, Collection<? extends NbtBase<?>>) - Static method in class com.comphenix.protocol.wrappers.nbt.NbtFactory
-
-
Construct a new NBT compound initialized with a given list of NBT values.
-
-
ofCompound(String) - Static method in class com.comphenix.protocol.wrappers.nbt.NbtFactory
-
-
Construct a new NBT compound wrapper.
-
-
ofList(String, T...) - Static method in class com.comphenix.protocol.wrappers.nbt.NbtFactory
-
-
Construct a NBT list of out an array of values.
-
-
ofList(String, Collection<? extends T>) - Static method in class com.comphenix.protocol.wrappers.nbt.NbtFactory
-
-
Construct a NBT list of out a list of values.
-
-
ofWrapper(NbtType, String) - Static method in class com.comphenix.protocol.wrappers.nbt.NbtFactory
-
-
Create a new NBT wrapper from a given type.
-
-
ofWrapper(NbtType, String, T) - Static method in class com.comphenix.protocol.wrappers.nbt.NbtFactory
-
-
Create a new NBT wrapper from a given type.
-
-
ofWrapper(Class<?>, String, T) - Static method in class com.comphenix.protocol.wrappers.nbt.NbtFactory
-
-
Create a new NBT wrapper from a given type.
-
-
onCompiled(StructureModifier<TKey>) - Method in interface com.comphenix.protocol.reflect.compiler.CompileListener
-
-
Invoked when a structure modifier has been successfully compiled.
-
-
onDisable() - Method in class com.comphenix.protocol.ProtocolLibrary
-
 
-
onEnable() - Method in class com.comphenix.protocol.ProtocolLibrary
-
 
-
onEntryAdded(AbstractIntervalTree<TKey, TValue>.Entry) - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree
-
-
Invoked when an entry is added.
-
-
onEntryRemoved(AbstractIntervalTree<TKey, TValue>.Entry) - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree
-
-
Invoked when an entry is removed.
-
-
onLoad() - Method in class com.comphenix.protocol.ProtocolLibrary
-
 
-
onOptOut() - Method in class com.comphenix.protocol.metrics.Metrics.Graph
-
-
Called when the server owner decides to opt-out of BukkitMetrics while the server is running.
-
-
onPacketReceiving(PacketEvent) - Method in class com.comphenix.protocol.events.PacketAdapter
-
 
-
onPacketReceiving(PacketEvent) - Method in interface com.comphenix.protocol.events.PacketListener
-
-
Invoked right before a recieved packet from a client is being processed.
-
-
onPacketSending(PacketEvent) - Method in class com.comphenix.protocol.events.PacketAdapter
-
 
-
onPacketSending(PacketEvent) - Method in interface com.comphenix.protocol.events.PacketListener
-
-
Invoked right before a packet is transmitted from the server to the client.
-
-
OPEN_WINDOW - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
or(AbstractFuzzyMatcher<T>) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher
-
-
Require that either this or the other given matcher be TRUE.
-
-
ORIGIN - Static variable in class com.comphenix.protocol.wrappers.ChunkPosition
-
-
Represents the null (0, 0, 0) origin.
-
-
-A B C D E F G H I K L M N O P R S T U V W X Y Z 
- -
- - - - - -
- - - - diff --git a/Javadoc/index-files/index-15.html b/Javadoc/index-files/index-15.html deleted file mode 100644 index bc3e13ea..00000000 --- a/Javadoc/index-files/index-15.html +++ /dev/null @@ -1,380 +0,0 @@ - - - - - -P-Index - - - - - - - -
- - - - - -
- - -
A B C D E F G H I K L M N O P R S T U V W X Y Z  - - -

P

-
-
PacketAdapter - Class in com.comphenix.protocol.events
-
-
Represents a packet listener with useful constructors.
-
-
PacketAdapter(Plugin, ConnectionSide, Integer...) - Constructor for class com.comphenix.protocol.events.PacketAdapter
-
-
Initialize a packet listener with default priority.
-
-
PacketAdapter(Plugin, ConnectionSide, ListenerPriority, Set<Integer>) - Constructor for class com.comphenix.protocol.events.PacketAdapter
-
-
Initialize a packet listener for a single connection side.
-
-
PacketAdapter(Plugin, ConnectionSide, GamePhase, Set<Integer>) - Constructor for class com.comphenix.protocol.events.PacketAdapter
-
-
Initialize a packet listener for a single connection side.
-
-
PacketAdapter(Plugin, ConnectionSide, ListenerPriority, GamePhase, Set<Integer>) - Constructor for class com.comphenix.protocol.events.PacketAdapter
-
-
Initialize a packet listener for a single connection side.
-
-
PacketAdapter(Plugin, ConnectionSide, ListenerPriority, Integer...) - Constructor for class com.comphenix.protocol.events.PacketAdapter
-
-
Initialize a packet listener for a single connection side.
-
-
PacketAdapter(Plugin, ConnectionSide, GamePhase, Integer...) - Constructor for class com.comphenix.protocol.events.PacketAdapter
-
-
Initialize a packet listener for a single connection side.
-
-
PacketAdapter(Plugin, ConnectionSide, ListenerPriority, GamePhase, Integer...) - Constructor for class com.comphenix.protocol.events.PacketAdapter
-
-
Initialize a packet listener for a single connection side.
-
-
PacketContainer - Class in com.comphenix.protocol.events
-
-
Represents a Minecraft packet indirectly.
-
-
PacketContainer(int) - Constructor for class com.comphenix.protocol.events.PacketContainer
-
-
Creates a packet container for a new packet.
-
-
PacketContainer(int, Object) - Constructor for class com.comphenix.protocol.events.PacketContainer
-
-
Creates a packet container for an existing packet.
-
-
PacketContainer(int, Object, StructureModifier<Object>) - Constructor for class com.comphenix.protocol.events.PacketContainer
-
-
Creates a packet container for an existing packet.
-
-
PacketContainer() - Constructor for class com.comphenix.protocol.events.PacketContainer
-
-
For serialization.
-
-
PacketContainerTest - Class in com.comphenix.protocol.events
-
 
-
PacketContainerTest() - Constructor for class com.comphenix.protocol.events.PacketContainerTest
-
 
-
PacketEvent - Class in com.comphenix.protocol.events
-
 
-
PacketEvent(Object) - Constructor for class com.comphenix.protocol.events.PacketEvent
-
-
Use the static constructors to create instances of this event.
-
-
PacketListener - Interface in com.comphenix.protocol.events
-
-
Represents a listener that recieves notifications when packets are sent or recieved.
-
-
Packets - Class in com.comphenix.protocol
-
-
List of known packet IDs since 1.3.2.
-
-
Packets() - Constructor for class com.comphenix.protocol.Packets
-
 
-
Packets.Client - Class in com.comphenix.protocol
-
-
List of packets sent by the client.
-
-
Packets.Server - Class in com.comphenix.protocol
-
-
List of packets sent only by the server.
-
-
PacketStream - Interface in com.comphenix.protocol
-
-
Represents a object capable of sending or receiving packets.
-
-
parameterCount(int) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
-
-
Set the expected number of parameters in the matching method.
-
-
parameterExactType(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
-
-
Add a new required parameter by type for any matching method.
-
-
parameterExactType(Class<?>, int) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
-
-
Add a new required parameter by type and position for any matching method.
-
-
parameterMatches(AbstractFuzzyMatcher<Class<?>>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
-
-
Add a new required parameter whose type must match the given class matcher.
-
-
parameterMatches(AbstractFuzzyMatcher<Class<?>>, int) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
-
-
Add a new required parameter whose type must match the given class matcher and index.
-
-
parameterSuperOf(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
-
-
Add a new required parameter whose type must be a superclass of the given type.
-
-
parameterSuperOf(Class<?>, int) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
-
-
Add a new required parameter whose type must be a superclass of the given type.
-
-
PICKUP_SPAWN - Static variable in class com.comphenix.protocol.Packets.Server
-
-
Deprecated.
-
-
PLACE - Static variable in class com.comphenix.protocol.Packets.Client
-
 
-
PLAY_NOTE_BLOCK - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
PLAYER_INFO - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
PLAYER_LOOK - Static variable in class com.comphenix.protocol.Packets.Client
-
 
-
PLAYER_LOOK - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
PLAYER_LOOK_MOVE - Static variable in class com.comphenix.protocol.Packets.Client
-
 
-
PLAYER_LOOK_MOVE - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
PLAYER_POSITION - Static variable in class com.comphenix.protocol.Packets.Client
-
 
-
PLAYER_POSITION - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
plugin - Variable in class com.comphenix.protocol.events.PacketAdapter
-
 
-
pluginFile(String) - Method in class com.comphenix.protocol.metrics.Updater
-
-
Check if the name of a jar is one of the plugins currently installed, used for extracting the correct files out of a zip.
-
-
pluginName - Variable in class com.comphenix.protocol.error.DetailedErrorReporter
-
 
-
pluginReference - Variable in class com.comphenix.protocol.error.DetailedErrorReporter
-
 
-
prefix - Variable in class com.comphenix.protocol.error.DetailedErrorReporter
-
 
-
prepareBuild() - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
-
-
Called before a builder is building a member and copying its state.
-
-
prepareBuild() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract
-
 
-
PrettyPrinter - Class in com.comphenix.protocol.reflect
-
-
Used to print the content of an arbitrary class.
-
-
PrettyPrinter() - Constructor for class com.comphenix.protocol.reflect.PrettyPrinter
-
 
-
PrimitiveGenerator - Class in com.comphenix.protocol.reflect.instances
-
-
Provides constructors for primtive types, wrappers, arrays and strings.
-
-
PrimitiveGenerator(String) - Constructor for class com.comphenix.protocol.reflect.instances.PrimitiveGenerator
-
 
-
printObject(Object) - Static method in class com.comphenix.protocol.reflect.PrettyPrinter
-
-
Print the content of an object.
-
-
printObject(Object, Class<?>, Class<?>) - Static method in class com.comphenix.protocol.reflect.PrettyPrinter
-
-
Print the content of an object.
-
-
printObject(Object, Class<?>, Class<?>, int) - Static method in class com.comphenix.protocol.reflect.PrettyPrinter
-
-
Print the content of an object.
-
-
ProtocolLibrary - Class in com.comphenix.protocol
-
-
The main entry point for ProtocolLib.
-
-
ProtocolLibrary() - Constructor for class com.comphenix.protocol.ProtocolLibrary
-
 
-
ProtocolManager - Interface in com.comphenix.protocol
-
-
Represents an API for accessing the Minecraft protocol.
-
-
put(TKey, TKey, TValue) - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree
-
-
Associates a given interval of keys with a certain value.
-
-
put(TKey, TValue) - Method in class com.comphenix.protocol.concurrency.BlockingHashMap
-
-
Associate a given key with the given value.
-
-
put(NbtBase<T>) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
-
Set a entry based on its name.
-
-
put(String, String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
-
Associate a NBT string value with the given key.
-
-
put(String, NbtBase<?>) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
-
Inserts an entry after cloning it and renaming it to "key".
-
-
put(String, byte) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
-
Associate a NBT byte value with the given key.
-
-
put(String, short) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
-
Associate a NBT short value with the given key.
-
-
put(String, int) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
-
Associate a NBT integer value with the given key.
-
-
put(String, long) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
-
Associate a NBT long value with the given key.
-
-
put(String, float) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
-
Associate a NBT float value with the given key.
-
-
put(String, double) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
-
Associate a NBT double value with the given key.
-
-
put(String, byte[]) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
-
Associate a NBT byte array value with the given key.
-
-
put(String, int[]) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
-
Associate a NBT integer array value with the given key.
-
-
put(NbtCompound) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
-
Associate a NBT compound with its name as key.
-
-
put(NbtList<T>) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
-
Associate a NBT list with the given key.
-
-
put(String, Collection<? extends NbtBase<T>>) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
-
Associate a new NBT list with the given key.
-
-
putAll(AbstractIntervalTree<TKey, TValue>) - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree
-
-
Inserts every range from the given tree into the current tree.
-
-
putIfAbsent(TKey, TValue) - Method in class com.comphenix.protocol.concurrency.BlockingHashMap
-
-
If and only if a key is not present in the map will it be associated with the given value.
-
-
putObject(String, Object) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
-
Associates a given Java primitive value, list, map or NbtBase with a certain key.
-
-
-A B C D E F G H I K L M N O P R S T U V W X Y Z 
- -
- - - - - -
- - - - diff --git a/Javadoc/index-files/index-16.html b/Javadoc/index-files/index-16.html deleted file mode 100644 index 566ab1fc..00000000 --- a/Javadoc/index-files/index-16.html +++ /dev/null @@ -1,450 +0,0 @@ - - - - - -R-Index - - - - - - - -
- - - - - -
- - -
A B C D E F G H I K L M N O P R S T U V W X Y Z  - - -

R

-
-
read(int) - Method in class com.comphenix.protocol.reflect.compiler.CompiledStructureModifier
-
 
-
read(int) - Method in class com.comphenix.protocol.reflect.StructureModifier
-
-
Reads the value of a field given its index.
-
-
readField(Field, Object) - Static method in class com.comphenix.protocol.reflect.FieldUtils
-
-
Read an accessible Field.
-
-
readField(Field, Object, boolean) - Static method in class com.comphenix.protocol.reflect.FieldUtils
-
-
Read a Field.
-
-
readField(Object, String) - Static method in class com.comphenix.protocol.reflect.FieldUtils
-
-
Read the named public field.
-
-
readField(Object, String, boolean) - Static method in class com.comphenix.protocol.reflect.FieldUtils
-
-
Read the named field.
-
-
readGenerated(int) - Method in class com.comphenix.protocol.reflect.compiler.CompiledStructureModifier
-
 
-
readReflected(int) - Method in class com.comphenix.protocol.reflect.compiler.CompiledStructureModifier
-
-
Read the given field index using reflection.
-
-
readSafely(int) - Method in class com.comphenix.protocol.reflect.StructureModifier
-
-
Reads the value of a field if and ONLY IF it exists.
-
-
readStaticField(Field) - Static method in class com.comphenix.protocol.reflect.FieldUtils
-
-
Read an accessible static Field.
-
-
readStaticField(Field, boolean) - Static method in class com.comphenix.protocol.reflect.FieldUtils
-
-
Read a static Field.
-
-
readStaticField(Class, String) - Static method in class com.comphenix.protocol.reflect.FieldUtils
-
-
Read the named public static field.
-
-
readStaticField(Class, String, boolean) - Static method in class com.comphenix.protocol.reflect.FieldUtils
-
-
Read the named static field.
-
-
receivingWhitelist - Variable in class com.comphenix.protocol.events.PacketAdapter
-
 
-
recieveClientPacket(Player, PacketContainer) - Method in interface com.comphenix.protocol.PacketStream
-
-
Simulate recieving a certain packet from a given player.
-
-
recieveClientPacket(Player, PacketContainer, boolean) - Method in interface com.comphenix.protocol.PacketStream
-
-
Simulate recieving a certain packet from a given player.
-
-
recieveClientPacket(Player, PacketContainer, boolean) - Method in interface com.comphenix.protocol.ProtocolManager
-
-
Simulate recieving a certain packet from a given player.
-
-
RECURSE_DEPTH - Static variable in class com.comphenix.protocol.reflect.PrettyPrinter
-
-
How far we will recurse.
-
-
registerAll() - Method in class com.comphenix.protocol.reflect.IntEnum
-
-
Registers every public int field as a member.
-
-
registerAsyncHandler(PacketListener) - Method in class com.comphenix.protocol.async.AsyncFilterManager
-
 
-
registerAsyncHandler(PacketListener, boolean) - Method in class com.comphenix.protocol.async.AsyncFilterManager
-
-
Registers an asynchronous packet handler.
-
-
registerAsyncHandler(PacketListener) - Method in interface com.comphenix.protocol.AsynchronousManager
-
-
Registers an asynchronous packet handler.
-
-
registerMember(int, String) - Method in class com.comphenix.protocol.reflect.IntEnum
-
-
Registers a member.
-
-
registerTimeoutHandler(PacketListener) - Method in class com.comphenix.protocol.async.AsyncFilterManager
-
 
-
registerTimeoutHandler(PacketListener) - Method in interface com.comphenix.protocol.AsynchronousManager
-
-
Register a synchronous listener that handles packets when they time out.
-
-
REL_ENTITY_MOVE - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
REL_ENTITY_MOVE_LOOK - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
reloadConfig() - Method in class com.comphenix.protocol.ProtocolLibrary
-
 
-
remove(TKey, TKey) - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree
-
-
Removes every interval that intersects with the given range.
-
-
remove(TKey, TKey, boolean) - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree
-
-
Removes every interval that intersects with the given range.
-
-
remove(int) - Method in class com.comphenix.protocol.concurrency.IntegerSet
-
-
Remove the given element from the set, or do nothing if it's already removed.
-
-
remove(Object) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
-
-
Removes from the list by making a new list with every element except the one given.
-
-
remove(int) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
-
-
Removes from the list by making a copy of every element except the one with the given index.
-
-
remove(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
-
Remove the NBT element that is associated with the given key.
-
-
remove(Object) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtList
-
-
Remove a given object from the list.
-
-
REMOVE_MOB_EFFECT - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
removeAll(Collection<?>) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
-
 
-
removeListener(TListener, ListeningWhitelist) - Method in class com.comphenix.protocol.concurrency.AbstractConcurrentListenerMultimap
-
-
Removes the given listener from the packet event list.
-
-
removeObject(int) - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
-
-
Remove a given object from the underlying DataWatcher.
-
-
removePacketListener(PacketListener) - Method in interface com.comphenix.protocol.ProtocolManager
-
-
Removes a given packet listener.
-
-
removePacketListeners(Plugin) - Method in interface com.comphenix.protocol.ProtocolManager
-
-
Removes every listener associated with the given plugin.
-
-
removePlayer(Player) - Method in class com.comphenix.protocol.async.AsyncFilterManager
-
-
Clean up after a given player has logged out.
-
-
removePlotter(Metrics.Plotter) - Method in class com.comphenix.protocol.metrics.Metrics.Graph
-
-
Remove a plotter from the graph
-
-
Report - Class in com.comphenix.protocol.error
-
-
Represents a error or warning report.
-
-
Report(ReportType, Throwable, Object[], Object[]) - Constructor for class com.comphenix.protocol.error.Report
-
-
Construct a new report with the given type and parameters.
-
-
Report.ReportBuilder - Class in com.comphenix.protocol.error
-
-
Must be constructed through the factory method in Report.
-
-
REPORT_CANNOT_COMPILE_STRUCTURE_MODIFIER - Static variable in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
-
 
-
REPORT_CANNOT_CREATE_TIMEOUT_TASK - Static variable in class com.comphenix.protocol.ProtocolLibrary
-
 
-
REPORT_CANNOT_DELETE_CONFIG - Static variable in class com.comphenix.protocol.ProtocolLibrary
-
 
-
REPORT_CANNOT_DETECT_CONFLICTING_PLUGINS - Static variable in class com.comphenix.protocol.ProtocolLibrary
-
 
-
REPORT_CANNOT_HANDLE_CONVERSATION - Static variable in class com.comphenix.protocol.CommandFilter
-
 
-
REPORT_CANNOT_LOAD_CONFIG - Static variable in class com.comphenix.protocol.ProtocolLibrary
-
 
-
REPORT_CANNOT_LOAD_FALLBACK_ENGINE - Static variable in class com.comphenix.protocol.CommandFilter
-
 
-
REPORT_CANNOT_PARSE_INJECTION_METHOD - Static variable in class com.comphenix.protocol.ProtocolLibrary
-
 
-
REPORT_CANNOT_PARSE_MINECRAFT_VERSION - Static variable in class com.comphenix.protocol.ProtocolLibrary
-
 
-
REPORT_CANNOT_REGISTER_COMMAND - Static variable in class com.comphenix.protocol.ProtocolLibrary
-
 
-
REPORT_CANNOT_SCHEDULE_COMPILATION - Static variable in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
-
 
-
REPORT_CANNOT_UPDATE_PLUGIN - Static variable in class com.comphenix.protocol.ProtocolLibrary
-
 
-
REPORT_EXCEPTION_COUNT - Static variable in class com.comphenix.protocol.error.DetailedErrorReporter
-
-
Report format for printing the current exception count.
-
-
REPORT_FALLBACK_ENGINE - Static variable in class com.comphenix.protocol.CommandFilter
-
 
-
REPORT_FILTER_REMOVED_FOR_ERROR - Static variable in class com.comphenix.protocol.CommandFilter
-
 
-
REPORT_METRICS_GENERIC_ERROR - Static variable in class com.comphenix.protocol.ProtocolLibrary
-
 
-
REPORT_METRICS_IO_ERROR - Static variable in class com.comphenix.protocol.ProtocolLibrary
-
 
-
REPORT_PACKAGES_UNSUPPORTED_IN_ENGINE - Static variable in class com.comphenix.protocol.CommandFilter
-
 
-
REPORT_PLUGIN_ENABLE_ERROR - Static variable in class com.comphenix.protocol.ProtocolLibrary
-
 
-
REPORT_PLUGIN_LOAD_ERROR - Static variable in class com.comphenix.protocol.ProtocolLibrary
-
 
-
REPORT_TOO_MANY_GENERATED_CLASSES - Static variable in class com.comphenix.protocol.reflect.compiler.StructureCompiler
-
 
-
reportDetailed(Object, Report) - Method in class com.comphenix.protocol.error.BasicErrorReporter
-
 
-
reportDetailed(Object, Report.ReportBuilder) - Method in class com.comphenix.protocol.error.BasicErrorReporter
-
 
-
reportDetailed(Object, Report) - Method in class com.comphenix.protocol.error.DelegatedErrorReporter
-
 
-
reportDetailed(Object, Report.ReportBuilder) - Method in class com.comphenix.protocol.error.DelegatedErrorReporter
-
 
-
reportDetailed(Object, Report.ReportBuilder) - Method in class com.comphenix.protocol.error.DetailedErrorReporter
-
 
-
reportDetailed(Object, Report) - Method in class com.comphenix.protocol.error.DetailedErrorReporter
-
 
-
reportDetailed(Object, Report) - Method in interface com.comphenix.protocol.error.ErrorReporter
-
-
Prints a detailed error report about an unhandled exception.
-
-
reportDetailed(Object, Report.ReportBuilder) - Method in interface com.comphenix.protocol.error.ErrorReporter
-
-
Prints a detailed error report about an unhandled exception.
-
-
reportMinimal(Plugin, String, Throwable) - Method in class com.comphenix.protocol.error.BasicErrorReporter
-
 
-
reportMinimal(Plugin, String, Throwable, Object...) - Method in class com.comphenix.protocol.error.BasicErrorReporter
-
 
-
reportMinimal(Plugin, String, Throwable) - Method in class com.comphenix.protocol.error.DelegatedErrorReporter
-
 
-
reportMinimal(Plugin, String, Throwable, Object...) - Method in class com.comphenix.protocol.error.DelegatedErrorReporter
-
 
-
reportMinimal(Plugin, String, Throwable, Object...) - Method in class com.comphenix.protocol.error.DetailedErrorReporter
-
 
-
reportMinimal(Plugin, String, Throwable) - Method in class com.comphenix.protocol.error.DetailedErrorReporter
-
 
-
reportMinimal(Plugin, String, Throwable) - Method in interface com.comphenix.protocol.error.ErrorReporter
-
-
Prints a small minimal error report regarding an exception from another plugin.
-
-
reportMinimal(Plugin, String, Throwable, Object...) - Method in interface com.comphenix.protocol.error.ErrorReporter
-
-
Prints a small minimal error report regarding an exception from another plugin.
-
-
reportMinimalNoSpam(Plugin, String, Throwable) - Method in class com.comphenix.protocol.error.DetailedErrorReporter
-
-
Report a problem with a given method and plugin, ensuring that we don't exceed the maximum number of error reports.
-
-
ReportType - Class in com.comphenix.protocol.error
-
-
Represents a strongly-typed report.
-
-
ReportType(String) - Constructor for class com.comphenix.protocol.error.ReportType
-
-
Construct a new report type.
-
-
reportWarning(Object, Report) - Method in class com.comphenix.protocol.error.BasicErrorReporter
-
 
-
reportWarning(Object, Report.ReportBuilder) - Method in class com.comphenix.protocol.error.BasicErrorReporter
-
 
-
reportWarning(Object, Report) - Method in class com.comphenix.protocol.error.DelegatedErrorReporter
-
 
-
reportWarning(Object, Report.ReportBuilder) - Method in class com.comphenix.protocol.error.DelegatedErrorReporter
-
 
-
reportWarning(Object, Report.ReportBuilder) - Method in class com.comphenix.protocol.error.DetailedErrorReporter
-
 
-
reportWarning(Object, Report) - Method in class com.comphenix.protocol.error.DetailedErrorReporter
-
 
-
reportWarning(Object, Report) - Method in interface com.comphenix.protocol.error.ErrorReporter
-
-
Prints a warning message from the current plugin.
-
-
reportWarning(Object, Report.ReportBuilder) - Method in interface com.comphenix.protocol.error.ErrorReporter
-
-
Prints a warning message from the current plugin.
-
-
requireModifier(int) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember.Builder
-
-
Add a given bit-field of required modifiers for every matching member.
-
-
requireModifier(int) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder
-
 
-
requireModifier(int) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
-
 
-
reset() - Method in class com.comphenix.protocol.metrics.Metrics.Plotter
-
-
Called after the website graphs have been updated
-
-
RESPAWN - Static variable in class com.comphenix.protocol.Packets.Client
-
-
Deprecated.
-
-
RESPAWN - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
retainAll(Collection<?>) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
-
 
-
returnDerivedOf(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
-
-
Set the expected super class of the return type for every matching method.
-
-
returnTypeExact(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
-
-
Set the return type of a matching method exactly.
-
-
returnTypeMatches(AbstractFuzzyMatcher<Class<?>>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
-
-
Set a matcher that must match the return type of a matching method.
-
-
returnTypeVoid() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
-
-
Require a void method.
-
-
revertValue() - Method in class com.comphenix.protocol.reflect.VolatileField
-
-
Revert to the previously set value.
-
-
runAsynchronouslyOnce(Plugin, Runnable, long) - Static method in class com.comphenix.protocol.utility.WrappedScheduler
-
-
Schedule a given task for a single asynchronous execution.
-
-
runAsynchronouslyRepeat(Plugin, Runnable, long, long) - Static method in class com.comphenix.protocol.utility.WrappedScheduler
-
-
Schedule a given task for multiple asynchronous executions.
-
-
runAsynchronouslyRepeat(Plugin, BukkitScheduler, Runnable, long, long) - Static method in class com.comphenix.protocol.utility.WrappedScheduler
-
-
Schedule a given task for asynchronous execution.
-
-
-A B C D E F G H I K L M N O P R S T U V W X Y Z 
- -
- - - - - -
- - - - diff --git a/Javadoc/index-files/index-17.html b/Javadoc/index-files/index-17.html deleted file mode 100644 index b4af2afe..00000000 --- a/Javadoc/index-files/index-17.html +++ /dev/null @@ -1,515 +0,0 @@ - - - - - -S-Index - - - - - - - -
- - - - - -
- - -
A B C D E F G H I K L M N O P R S T U V W X Y Z  - - -

S

-
-
saveValue() - Method in class com.comphenix.protocol.reflect.VolatileField
-
-
Ensure that the current value is still set after this class has been garbaged collected.
-
-
scheduleCompilation(Map<Class, StructureModifier>, Class) - Method in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
-
-
Ensure that the indirectly given structure modifier is eventually compiled.
-
-
scheduleCompilation(StructureModifier<TKey>, CompileListener<TKey>) - Method in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
-
-
Ensure that the given structure modifier is eventually compiled.
-
-
SCOREBOARD_OBJECTIVE - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
sealed - Variable in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
-
-
Whether or not this contract can be modified.
-
-
SECOND_LEVEL_PREFIX - Static variable in class com.comphenix.protocol.error.DetailedErrorReporter
-
 
-
sendingWhitelist - Variable in class com.comphenix.protocol.events.PacketAdapter
-
 
-
sendMessageSilently(CommandSender, String) - Method in class com.comphenix.protocol.utility.ChatExtensions
-
-
Send a message without invoking the packet listeners.
-
-
sendProcessedPackets(int, boolean) - Method in class com.comphenix.protocol.async.AsyncFilterManager
-
-
Send any due packets, or clean up packets that have expired.
-
-
sendServerPacket(Player, PacketContainer) - Method in interface com.comphenix.protocol.PacketStream
-
-
Send a packet to the given player.
-
-
sendServerPacket(Player, PacketContainer, boolean) - Method in interface com.comphenix.protocol.PacketStream
-
-
Send a packet to the given player.
-
-
sendServerPacket(Player, PacketContainer, boolean) - Method in interface com.comphenix.protocol.ProtocolManager
-
-
Send a packet to the given player.
-
-
serialize(NbtBase<TType>, DataOutput) - Method in class com.comphenix.protocol.wrappers.nbt.io.NbtBinarySerializer
-
-
Write the content of a wrapped NBT tag to a stream.
-
-
serialize(NbtBase<TType>, ConfigurationSection) - Method in class com.comphenix.protocol.wrappers.nbt.io.NbtConfigurationSerializer
-
-
Write the content of a NBT tag to a configuration section.
-
-
serialize(NbtBase<TType>) - Method in class com.comphenix.protocol.wrappers.nbt.io.NbtTextSerializer
-
-
Serialize a NBT tag to a base-64 encoded string.
-
-
serializeItemStack(DataOutputStream, ItemStack) - Method in class com.comphenix.protocol.utility.StreamSerializer
-
-
Write or serialize an item stack to the given output stream.
-
-
serializeItemStack(ItemStack) - Method in class com.comphenix.protocol.utility.StreamSerializer
-
-
Serialize an item stack as a base-64 encoded string.
-
-
SET_CREATIVE_SLOT - Static variable in class com.comphenix.protocol.Packets.Client
-
 
-
SET_CREATIVE_SLOT - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
SET_EXPERIENCE - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
SET_SLOT - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
setAsyncCancelled(boolean) - Method in class com.comphenix.protocol.async.AsyncMarker
-
-
Set whether or not the asynchronous handling should be cancelled.
-
-
setAsyncMarker(AsyncMarker) - Method in class com.comphenix.protocol.events.PacketEvent
-
-
Set the asynchronous marker.
-
-
setCacheMethods(boolean) - Static method in class com.comphenix.protocol.reflect.MethodUtils
-
-
Set whether methods should be cached for greater performance or not, - default is true.
-
-
setCancelled(boolean) - Method in class com.comphenix.protocol.events.PacketEvent
-
-
Sets whether or not the packet should be cancelled.
-
-
setConverter(EquivalentConverter<TField>) - Method in class com.comphenix.protocol.reflect.StructureModifier
-
-
Set the current object converter.
-
-
setDirtyState(boolean) - Method in class com.comphenix.protocol.wrappers.WrappedWatchableObject
-
-
Set whether or not the value must be synchronized with the client.
-
-
setDisablePermGenFraction(double) - Method in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
-
-
Set the fraction of perm gen space used after which the background compiler will be disabled.
-
-
setElementType(NbtType) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtList
-
-
Set the type of each element.
-
-
setEnabled(boolean) - Method in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
-
-
Sets whether or not the background compiler is enabled.
-
-
setErrorCount(int) - Method in class com.comphenix.protocol.error.DetailedErrorReporter
-
-
Set the number of errors printed.
-
-
setFinalState(Field, boolean) - Static method in class com.comphenix.protocol.reflect.StructureModifier
-
-
Alter the final status of a field.
-
-
setForceAccess(boolean) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
-
-
Sets whether or not not to override any scope restrictions.
-
-
setForceAccess(boolean) - Method in class com.comphenix.protocol.reflect.VolatileField
-
-
Sets whether or not not to override any scope restrictions.
-
-
setIndex(int) - Method in class com.comphenix.protocol.wrappers.WrappedWatchableObject
-
-
Set the the index of this watchable object.
-
-
setInstance(BackgroundCompiler) - Static method in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
-
-
Sets the single background compiler we're using.
-
-
setLogger(Logger) - Method in class com.comphenix.protocol.error.DetailedErrorReporter
-
-
Set the current logger that is used to print all reports.
-
-
setMaxErrorCount(int) - Method in class com.comphenix.protocol.error.DetailedErrorReporter
-
-
Set the maximum number of errors we can print before we begin suppressing errors.
-
-
setMaximumRecursion(int) - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
-
-
Set the maximum height of the hierachy of creates types.
-
-
setMinecraftPackage(String, String) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Used during debugging and testing.
-
-
setName(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtBase
-
-
Set the name of this NBT tag.
-
-
setName(String) - Method in class com.comphenix.protocol.wrappers.nbt.NbtCompoundTest.NbtCustomTag
-
 
-
setNewSendingIndex(long) - Method in class com.comphenix.protocol.async.AsyncMarker
-
-
Sets the desired sending order after processing has completed.
-
-
setNonNull(boolean) - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
-
-
Set whether or not the constructor's parameters must be non-null.
-
-
setObject(int, Object) - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
-
-
Set a watched byte.
-
-
setObject(int, Object, boolean) - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
-
-
Set a watched byte.
-
-
setPacket(PacketContainer) - Method in class com.comphenix.protocol.events.PacketEvent
-
-
Replace the packet that will be sent to the player.
-
-
setPacketStream(PacketStream) - Method in class com.comphenix.protocol.async.AsyncMarker
-
-
Sets the output packet stream responsible for transmitting this packet.
-
-
setPrefix(String) - Method in class com.comphenix.protocol.error.DetailedErrorReporter
-
-
Set the prefix to apply to every line in the error reports.
-
-
setProcessingLock(Object) - Method in class com.comphenix.protocol.async.AsyncMarker
-
 
-
setReadOnly(boolean) - Method in class com.comphenix.protocol.events.PacketEvent
-
-
Set the read-only state of this packet event.
-
-
setReadOnly(int, boolean) - Method in class com.comphenix.protocol.reflect.compiler.CompiledStructureModifier
-
 
-
setReadOnly(int, boolean) - Method in class com.comphenix.protocol.reflect.StructureModifier
-
-
Set whether or not a field should be treated as read only.
-
-
setSupportURL(String) - Method in class com.comphenix.protocol.error.DetailedErrorReporter
-
-
Set the support URL that will be added to all detailed reports.
-
-
setTimeout(long) - Method in class com.comphenix.protocol.async.AsyncMarker
-
-
Set the time the packet will be forcefully rejected.
-
-
setTypeID(int) - Method in class com.comphenix.protocol.wrappers.WrappedWatchableObject
-
-
Set the type ID of a watchable object.
-
-
setValue(TValue) - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree.Entry
-
 
-
setValue(Object) - Method in class com.comphenix.protocol.reflect.VolatileField
-
-
Sets the current value.
-
-
setValue(TType) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtBase
-
-
Set the value of this NBT tag.
-
-
setValue(TValue) - Method in class com.comphenix.protocol.wrappers.nbt.NbtCompoundTest.NbtCustomTag
-
 
-
setValue(Object) - Method in class com.comphenix.protocol.wrappers.WrappedWatchableObject
-
-
Update the value field.
-
-
setValue(Object, boolean) - Method in class com.comphenix.protocol.wrappers.WrappedWatchableObject
-
-
Update the value field.
-
-
setWorkers(int) - Method in class com.comphenix.protocol.async.AsyncListenerHandler
-
-
Set the current number of workers.
-
-
setX(int) - Method in class com.comphenix.protocol.wrappers.WrappedChunkCoordinate
-
-
Set the x coordinate of the underlying coordinate.
-
-
setY(int) - Method in class com.comphenix.protocol.wrappers.WrappedChunkCoordinate
-
-
Set the y coordinate of the underlying coordinate.
-
-
setZ(int) - Method in class com.comphenix.protocol.wrappers.WrappedChunkCoordinate
-
-
Set the z coordinate of the underlying coordiate.
-
-
shallowClone() - Method in class com.comphenix.protocol.events.PacketContainer
-
-
Create a shallow copy of the current packet.
-
-
SHUTDOWN_DELAY_MS - Static variable in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
-
 
-
shutdownAll() - Method in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
-
-
Clean up after ourselves using the default timeout.
-
-
shutdownAll(long, TimeUnit) - Method in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
-
-
Clean up after ourselves.
-
-
signalFreeProcessingSlot(PacketEvent) - Method in class com.comphenix.protocol.async.AsyncFilterManager
-
-
Signal that a packet has finished processing.
-
-
signalPacketTransmission(PacketEvent) - Method in class com.comphenix.protocol.async.AsyncFilterManager
-
 
-
signalPacketTransmission(PacketEvent) - Method in interface com.comphenix.protocol.AsynchronousManager
-
-
Signal that a packet is ready to be transmitted.
-
-
size() - Method in class com.comphenix.protocol.concurrency.BlockingHashMap
-
 
-
size() - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
-
-
Retrieve the size of the list.
-
-
size() - Method in class com.comphenix.protocol.reflect.StructureModifier
-
-
Retrieve the number of readable types.
-
-
size() - Method in interface com.comphenix.protocol.wrappers.nbt.NbtList
-
-
Retrieve the number of elements in this list.
-
-
size() - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
-
-
Retrieve the number of watched objects.
-
-
SortedCopyOnWriteArray<T extends java.lang.Comparable<T>> - Class in com.comphenix.protocol.concurrency
-
-
An implicitly sorted array list that preserves insertion order and maintains duplicates.
-
-
SortedCopyOnWriteArray() - Constructor for class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
-
-
Construct an empty sorted array.
-
-
SortedCopyOnWriteArray(Collection<T>) - Constructor for class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
-
-
Create a sorted array from the given list.
-
-
SortedCopyOnWriteArray(Collection<T>, boolean) - Constructor for class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
-
-
Create a sorted array from the given list.
-
-
SortedCopyOnWriteArrayTest - Class in com.comphenix.protocol.injector
-
 
-
SortedCopyOnWriteArrayTest() - Constructor for class com.comphenix.protocol.injector.SortedCopyOnWriteArrayTest
-
 
-
SPAWN_POSITION - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
start() - Method in class com.comphenix.protocol.async.AsyncListenerHandler
-
-
Start a singler worker thread handling the asynchronous listener.
-
-
start(Function<AsyncRunnable, Void>) - Method in class com.comphenix.protocol.async.AsyncListenerHandler
-
-
Start a singler worker thread handling the asynchronous listener.
-
-
start(int) - Method in class com.comphenix.protocol.async.AsyncListenerHandler
-
-
Start multiple worker threads for this listener.
-
-
start() - Method in class com.comphenix.protocol.metrics.Metrics
-
-
Start measuring statistics.
-
-
state - Variable in class com.comphenix.protocol.concurrency.AbstractIntervalTree.EndPoint
-
 
-
STATISTIC - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
Statistics - Class in com.comphenix.protocol.metrics
-
 
-
Statistics(Plugin) - Constructor for class com.comphenix.protocol.metrics.Statistics
-
 
-
stop() - Method in class com.comphenix.protocol.async.AsyncListenerHandler
-
-
Stop a worker thread.
-
-
stop(int) - Method in class com.comphenix.protocol.async.AsyncListenerHandler
-
-
Stop the given amount of worker threads.
-
-
stop() - Method in interface com.comphenix.protocol.async.AsyncRunnable
-
-
Stop the given runnable.
-
-
StreamSerializer - Class in com.comphenix.protocol.utility
-
-
Utility methods for reading and writing Minecraft objects to streams.
-
-
StreamSerializer() - Constructor for class com.comphenix.protocol.utility.StreamSerializer
-
 
-
STRING_DEFAULT - Static variable in class com.comphenix.protocol.reflect.instances.PrimitiveGenerator
-
-
Default value for Strings.
-
-
StructureCompiler - Class in com.comphenix.protocol.reflect.compiler
-
-
Represents a StructureModifier compiler.
-
-
structureModifier - Variable in class com.comphenix.protocol.events.PacketContainer
-
 
-
StructureModifier<TField> - Class in com.comphenix.protocol.reflect
-
-
Provides list-oriented access to the fields of a Minecraft packet.
-
-
StructureModifier(Class) - Constructor for class com.comphenix.protocol.reflect.StructureModifier
-
-
Creates a structure modifier.
-
-
StructureModifier(Class, Class, boolean) - Constructor for class com.comphenix.protocol.reflect.StructureModifier
-
-
Creates a structure modifier.
-
-
StructureModifier(Class, Class, boolean, boolean) - Constructor for class com.comphenix.protocol.reflect.StructureModifier
-
-
Creates a structure modifier.
-
-
StructureModifier() - Constructor for class com.comphenix.protocol.reflect.StructureModifier
-
-
Consumers of this method should call "initialize".
-
-
subtract(ChunkPosition) - Method in class com.comphenix.protocol.wrappers.ChunkPosition
-
-
Adds the current position and a given position together, producing a result position.
-
-
subtypeCache - Variable in class com.comphenix.protocol.reflect.StructureModifier
-
 
-
supportURL - Variable in class com.comphenix.protocol.error.DetailedErrorReporter
-
 
-
syncStart() - Method in class com.comphenix.protocol.async.AsyncListenerHandler
-
-
Start processing packets on the main thread.
-
-
syncStart(long, TimeUnit) - Method in class com.comphenix.protocol.async.AsyncListenerHandler
-
-
Start processing packets on the main thread.
-
-
syncStop() - Method in class com.comphenix.protocol.async.AsyncListenerHandler
-
-
Stop processing packets on the main thread.
-
-
-A B C D E F G H I K L M N O P R S T U V W X Y Z 
- -
- - - - - -
- - - - diff --git a/Javadoc/index-files/index-18.html b/Javadoc/index-files/index-18.html deleted file mode 100644 index 9dfcccf3..00000000 --- a/Javadoc/index-files/index-18.html +++ /dev/null @@ -1,268 +0,0 @@ - - - - - -T-Index - - - - - - - -
- - - - - -
- - -
A B C D E F G H I K L M N O P R S T U V W X Y Z  - - -

T

-
-
TAB_COMPLETE - Static variable in class com.comphenix.protocol.Packets.Client
-
 
-
TAB_COMPLETE - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
target - Variable in class com.comphenix.protocol.reflect.StructureModifier
-
 
-
targetType - Variable in class com.comphenix.protocol.reflect.StructureModifier
-
 
-
TEAMS - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
test() - Method in class com.comphenix.protocol.concurrency.BlockingHashMapTest
-
 
-
testComparision() - Method in class com.comphenix.protocol.MinecraftVersionTest
-
 
-
testCustomTags() - Method in class com.comphenix.protocol.wrappers.nbt.NbtCompoundTest
-
 
-
testDeepClone() - Method in class com.comphenix.protocol.events.PacketContainerTest
-
 
-
testFromStream() - Method in class com.comphenix.protocol.wrappers.nbt.NbtFactoryTest
-
 
-
testGetByteArrays() - Method in class com.comphenix.protocol.events.PacketContainerTest
-
 
-
testGetBytes() - Method in class com.comphenix.protocol.events.PacketContainerTest
-
 
-
testGetDataWatcherModifier() - Method in class com.comphenix.protocol.events.PacketContainerTest
-
 
-
testGetDoubles() - Method in class com.comphenix.protocol.events.PacketContainerTest
-
 
-
testGetFloat() - Method in class com.comphenix.protocol.events.PacketContainerTest
-
 
-
testGetIntegerArrays() - Method in class com.comphenix.protocol.events.PacketContainerTest
-
 
-
testGetIntegers() - Method in class com.comphenix.protocol.events.PacketContainerTest
-
 
-
testGetItemArrayModifier() - Method in class com.comphenix.protocol.events.PacketContainerTest
-
 
-
testGetItemModifier() - Method in class com.comphenix.protocol.events.PacketContainerTest
-
 
-
testGetLongs() - Method in class com.comphenix.protocol.events.PacketContainerTest
-
 
-
testGetNbtModifier() - Method in class com.comphenix.protocol.events.PacketContainerTest
-
 
-
testGetPositionCollectionModifier() - Method in class com.comphenix.protocol.events.PacketContainerTest
-
 
-
testGetShorts() - Method in class com.comphenix.protocol.events.PacketContainerTest
-
 
-
testGetStringArrays() - Method in class com.comphenix.protocol.events.PacketContainerTest
-
 
-
testGetStrings() - Method in class com.comphenix.protocol.events.PacketContainerTest
-
 
-
testGetWatchableCollectionModifier() - Method in class com.comphenix.protocol.events.PacketContainerTest
-
 
-
testGetWorldTypeModifier() - Method in class com.comphenix.protocol.events.PacketContainerTest
-
 
-
testInsertion() - Method in class com.comphenix.protocol.injector.SortedCopyOnWriteArrayTest
-
 
-
testOrder() - Method in class com.comphenix.protocol.injector.SortedCopyOnWriteArrayTest
-
 
-
testParsing() - Method in class com.comphenix.protocol.MinecraftVersionTest
-
 
-
testSerialization() - Method in class com.comphenix.protocol.wrappers.nbt.io.NbtConfigurationSerializerTest
-
 
-
THREAD_FORMAT - Static variable in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
-
-
The default format for the name of new worker threads.
-
-
TILE_ENTITY_DATA - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
toArray() - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
-
 
-
toArray(T[]) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
-
 
-
toFlowerBox(String[], String, int, int) - Static method in class com.comphenix.protocol.utility.ChatExtensions
-
-
Print a flower box around a given message.
-
-
toGenericString() - Method in class com.comphenix.protocol.reflect.MethodInfo
-
-
Returns a string describing this method or constructor, including type parameters.
-
-
toNodeValue(Object, NbtType) - Method in class com.comphenix.protocol.wrappers.nbt.io.NbtConfigurationSerializer
-
 
-
toNonPrimitiveClass(Class) - Static method in class com.comphenix.protocol.reflect.MethodUtils
-
-
Find a non primitive representation for given primitive class.
-
-
toPosition() - Method in class com.comphenix.protocol.wrappers.WrappedChunkCoordinate
-
-
Create an immutable chunk position from this coordinate.
-
-
toSet() - Method in class com.comphenix.protocol.concurrency.IntegerSet
-
-
Convert the current IntegerSet to an equivalent HashSet.
-
-
toString() - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree.Entry
-
 
-
toString() - Method in class com.comphenix.protocol.error.ReportType
-
 
-
toString() - Method in class com.comphenix.protocol.events.ListeningWhitelist
-
 
-
toString() - Method in class com.comphenix.protocol.events.PacketAdapter
-
 
-
toString() - Method in enum com.comphenix.protocol.metrics.Updater.UpdateResult
-
 
-
toString() - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
-
 
-
toString() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract
-
 
-
toString() - Method in class com.comphenix.protocol.reflect.MethodInfo
-
-
Returns a string describing this method or constructor
-
-
toString() - Method in class com.comphenix.protocol.utility.MinecraftVersion
-
 
-
toString() - Method in class com.comphenix.protocol.wrappers.WrappedWatchableObject
-
 
-
toVector() - Method in class com.comphenix.protocol.wrappers.ChunkPosition
-
-
Convert this instance to an equivalent real 3D vector.
-
-
TRANSACTION - Static variable in class com.comphenix.protocol.Packets.Client
-
 
-
TRANSACTION - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
transformField(StructureModifier<Object>, StructureModifier<Object>, int) - Method in class com.comphenix.protocol.reflect.ObjectWriter
-
-
Called for every non-static field that will be copied.
-
-
TroveWrapper - Class in com.comphenix.protocol.wrappers
-
-
Wrap a GNU Trove Collection class with an equivalent Java Collection class.
-
-
TroveWrapper() - Constructor for class com.comphenix.protocol.wrappers.TroveWrapper
-
 
-
type(ReportType) - Method in class com.comphenix.protocol.error.Report.ReportBuilder
-
-
Set the current report type.
-
-
TYPE_DELIMITER - Static variable in class com.comphenix.protocol.wrappers.nbt.io.NbtConfigurationSerializer
-
-
The default delimiter that is used to store the data type in YAML.
-
-
typeDerivedOf(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder
-
 
-
typeExact(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder
-
 
-
typeMatches(AbstractFuzzyMatcher<Class<?>>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder
-
 
-
typeSuperOf(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder
-
 
-
-A B C D E F G H I K L M N O P R S T U V W X Y Z 
- -
- - - - - -
- - - - diff --git a/Javadoc/index-files/index-19.html b/Javadoc/index-files/index-19.html deleted file mode 100644 index 82742903..00000000 --- a/Javadoc/index-files/index-19.html +++ /dev/null @@ -1,174 +0,0 @@ - - - - - -U-Index - - - - - - - -
- - - - - -
- - -
A B C D E F G H I K L M N O P R S T U V W X Y Z  - - -

U

-
-
unregisterAsyncHandler(AsyncListenerHandler) - Method in class com.comphenix.protocol.async.AsyncFilterManager
-
 
-
unregisterAsyncHandler(AsyncListenerHandler) - Method in interface com.comphenix.protocol.AsynchronousManager
-
-
Unregisters and closes the given asynchronous handler.
-
-
unregisterAsyncHandlers(Plugin) - Method in class com.comphenix.protocol.async.AsyncFilterManager
-
 
-
unregisterAsyncHandlers(Plugin) - Method in interface com.comphenix.protocol.AsynchronousManager
-
-
Unregisters every asynchronous handler associated with this plugin.
-
-
unregisterTimeoutHandler(PacketListener) - Method in class com.comphenix.protocol.async.AsyncFilterManager
-
 
-
unregisterTimeoutHandler(PacketListener) - Method in interface com.comphenix.protocol.AsynchronousManager
-
-
Unregisters a given timeout listener.
-
-
update(Updater.UpdateType, boolean) - Method in class com.comphenix.protocol.metrics.Updater
-
-
Update the plugin.
-
-
UPDATE_HEALTH - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
UPDATE_SCORE - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
UPDATE_SIGN - Static variable in class com.comphenix.protocol.Packets.Client
-
 
-
UPDATE_SIGN - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
UPDATE_TIME - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
updateEntity(Entity, List<Player>) - Method in interface com.comphenix.protocol.ProtocolManager
-
-
Completely resend an entity to a list of clients.
-
-
Updater - Class in com.comphenix.protocol.metrics
-
-
Check dev.bukkit.org to find updates for a given plugin, and download the updates if needed.
-
-
Updater(Plugin, Logger, String, File, String) - Constructor for class com.comphenix.protocol.metrics.Updater
-
-
Initialize the updater
-
-
Updater.UpdateResult - Enum in com.comphenix.protocol.metrics
-
-
Gives the dev the result of the update process.
-
-
Updater.UpdateType - Enum in com.comphenix.protocol.metrics
-
-
Allows the dev to specify the type of update that will be run.
-
-
USE_ENTITY - Static variable in class com.comphenix.protocol.Packets.Client
-
 
-
useStructureCompiler - Variable in class com.comphenix.protocol.reflect.StructureModifier
-
 
-
-A B C D E F G H I K L M N O P R S T U V W X Y Z 
- -
- - - - - -
- - - - diff --git a/Javadoc/index-files/index-2.html b/Javadoc/index-files/index-2.html deleted file mode 100644 index 3a5d19f1..00000000 --- a/Javadoc/index-files/index-2.html +++ /dev/null @@ -1,238 +0,0 @@ - - - - - -B-Index - - - - - - - -
- - - - - -
- - -
A B C D E F G H I K L M N O P R S T U V W X Y Z  - - -

B

-
-
BackgroundCompiler - Class in com.comphenix.protocol.reflect.compiler
-
-
Compiles structure modifiers on a background thread.
-
-
BackgroundCompiler(ClassLoader, ErrorReporter) - Constructor for class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
-
-
Initialize a background compiler.
-
-
BackgroundCompiler(ClassLoader, ErrorReporter, ExecutorService) - Constructor for class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
-
-
Initialize a background compiler utilizing the given thread pool.
-
-
banModifier(int) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember.Builder
-
-
Add a given bit-field of modifers that will skip or ignore members.
-
-
banModifier(int) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder
-
 
-
banModifier(int) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
-
 
-
BannedGenerator - Class in com.comphenix.protocol.reflect.instances
-
-
Generator that ensures certain types will never be created.
-
-
BannedGenerator(AbstractFuzzyMatcher<Class<?>>) - Constructor for class com.comphenix.protocol.reflect.instances.BannedGenerator
-
-
Construct a generator that ensures any class that matches the given matcher is never constructed.
-
-
BannedGenerator(Class<?>...) - Constructor for class com.comphenix.protocol.reflect.instances.BannedGenerator
-
 
-
baseclass(AbstractFuzzyMatcher<Class<?>>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract.Builder
-
-
Add a new base class contract.
-
-
baseclass(FuzzyClassContract.Builder) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract.Builder
-
-
Add a new base class contract.
-
-
BasicErrorReporter - Class in com.comphenix.protocol.error
-
-
Represents a basic error reporter that prints error reports to the standard error stream.
-
-
BasicErrorReporter() - Constructor for class com.comphenix.protocol.error.BasicErrorReporter
-
-
Construct a new basic error reporter that prints directly the standard error stream.
-
-
BasicErrorReporter(PrintStream) - Constructor for class com.comphenix.protocol.error.BasicErrorReporter
-
-
Construct a error reporter that prints to the given output stream.
-
-
BED - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
BLOCK_BREAK_ANIMATION - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
BLOCK_CHANGE - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
BLOCK_DIG - Static variable in class com.comphenix.protocol.Packets.Client
-
 
-
BLOCK_ITEM_SWITCH - Static variable in class com.comphenix.protocol.Packets.Client
-
 
-
BLOCK_ITEM_SWITCH - Static variable in class com.comphenix.protocol.Packets.Server
-
-
Made bi-directional in 1.4.6.
-
-
BlockingHashMap<TKey,TValue> - Class in com.comphenix.protocol.concurrency
-
-
A map that supports blocking on read operations.
-
-
BlockingHashMap() - Constructor for class com.comphenix.protocol.concurrency.BlockingHashMap
-
-
Initialize a new map.
-
-
BlockingHashMapTest - Class in com.comphenix.protocol.concurrency
-
 
-
BlockingHashMapTest() - Constructor for class com.comphenix.protocol.concurrency.BlockingHashMapTest
-
 
-
bounds - Variable in class com.comphenix.protocol.concurrency.AbstractIntervalTree
-
 
-
broadcastMessageSilently(String, String) - Method in class com.comphenix.protocol.utility.ChatExtensions
-
-
Broadcast a message without invoking any packet listeners.
-
-
build() - Method in class com.comphenix.protocol.error.Report.ReportBuilder
-
-
Construct a new report with the provided input.
-
-
build() - Method in class com.comphenix.protocol.reflect.cloning.AggregateCloner.Builder
-
-
Build a new aggregate cloner using the supplied values.
-
-
build() - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember.Builder
-
-
Build a new instance of this type.
-
-
build() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract.Builder
-
 
-
build() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder
-
 
-
build() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
-
 
-
BukkitCloner - Class in com.comphenix.protocol.reflect.cloning
-
-
Represents an object that can clone a specific list of Bukkit- and Minecraft-related objects.
-
-
BukkitCloner() - Constructor for class com.comphenix.protocol.reflect.cloning.BukkitCloner
-
 
-
BukkitConverters - Class in com.comphenix.protocol.wrappers
-
-
Contains several useful equivalent converters for normal Bukkit types.
-
-
BukkitConverters() - Constructor for class com.comphenix.protocol.wrappers.BukkitConverters
-
 
-
BukkitInitialization - Class in com.comphenix.protocol
-
-
Used to ensure that ProtocolLib and Bukkit is prepared to be tested.
-
-
BukkitInitialization() - Constructor for class com.comphenix.protocol.BukkitInitialization
-
 
-
BUTTON_CLICK - Static variable in class com.comphenix.protocol.Packets.Client
-
 
-
-A B C D E F G H I K L M N O P R S T U V W X Y Z 
- -
- - - - - -
- - - - diff --git a/Javadoc/index-files/index-20.html b/Javadoc/index-files/index-20.html deleted file mode 100644 index 2542afd3..00000000 --- a/Javadoc/index-files/index-20.html +++ /dev/null @@ -1,226 +0,0 @@ - - - - - -V-Index - - - - - - - -
- - - - - -
- - -
A B C D E F G H I K L M N O P R S T U V W X Y Z  - - -

V

-
-
value - Variable in class com.comphenix.protocol.concurrency.AbstractIntervalTree.EndPoint
-
 
-
valueOf(String) - Static method in enum com.comphenix.protocol.concurrency.AbstractIntervalTree.State
-
-
Returns the enum constant of this type with the specified name.
-
-
valueOf(String) - Static method in enum com.comphenix.protocol.events.ConnectionSide
-
-
Returns the enum constant of this type with the specified name.
-
-
valueOf(String) - Static method in enum com.comphenix.protocol.events.ListenerPriority
-
-
Returns the enum constant of this type with the specified name.
-
-
valueOf(String) - Static method in enum com.comphenix.protocol.metrics.Updater.UpdateResult
-
-
Returns the enum constant of this type with the specified name.
-
-
valueOf(String) - Static method in enum com.comphenix.protocol.metrics.Updater.UpdateType
-
-
Returns the enum constant of this type with the specified name.
-
-
valueOf(String) - Static method in class com.comphenix.protocol.Packets
-
-
Find a packet by name.
-
-
valueOf(String) - Method in class com.comphenix.protocol.reflect.IntEnum
-
-
Retrieve the ID of the member with the given name.
-
-
valueOf(String) - Static method in enum com.comphenix.protocol.wrappers.nbt.NbtType
-
-
Returns the enum constant of this type with the specified name.
-
-
values() - Method in class com.comphenix.protocol.concurrency.AbstractConcurrentListenerMultimap
-
-
Retrieve every listener.
-
-
values() - Static method in enum com.comphenix.protocol.concurrency.AbstractIntervalTree.State
-
-
Returns an array containing the constants of this enum type, in -the order they are declared.
-
-
values() - Method in class com.comphenix.protocol.concurrency.BlockingHashMap
-
 
-
values() - Static method in enum com.comphenix.protocol.events.ConnectionSide
-
-
Returns an array containing the constants of this enum type, in -the order they are declared.
-
-
values() - Static method in enum com.comphenix.protocol.events.ListenerPriority
-
-
Returns an array containing the constants of this enum type, in -the order they are declared.
-
-
values() - Static method in enum com.comphenix.protocol.metrics.Updater.UpdateResult
-
-
Returns an array containing the constants of this enum type, in -the order they are declared.
-
-
values() - Static method in enum com.comphenix.protocol.metrics.Updater.UpdateType
-
-
Returns an array containing the constants of this enum type, in -the order they are declared.
-
-
values() - Method in class com.comphenix.protocol.reflect.IntEnum
-
-
Retrieve the ID of every registered member.
-
-
values() - Static method in enum com.comphenix.protocol.wrappers.nbt.NbtType
-
-
Returns an array containing the constants of this enum type, in -the order they are declared.
-
-
VEHICLE_SPAWN - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
visit(NbtBase<?>) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtVisitor
-
-
Visit a leaf node, which is a NBT tag with a primitive or String value.
-
-
visitEnter(NbtList<?>) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtVisitor
-
-
Begin visiting a list node that contains multiple child nodes of the same type.
-
-
visitEnter(NbtCompound) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtVisitor
-
-
Begin visiting a compound node that contains multiple child nodes of different types.
-
-
visitLeave(NbtList<?>) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtVisitor
-
-
Stop visiting a list node.
-
-
visitLeave(NbtCompound) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtVisitor
-
-
Stop visiting a compound node.
-
-
VolatileField - Class in com.comphenix.protocol.reflect
-
-
Represents a field that will revert to its original state when this class is garbaged collected.
-
-
VolatileField(Field, Object) - Constructor for class com.comphenix.protocol.reflect.VolatileField
-
-
Initializes a volatile field with an associated object.
-
-
VolatileField(Field, Object, boolean) - Constructor for class com.comphenix.protocol.reflect.VolatileField
-
-
Initializes a volatile field with an associated object.
-
-
-A B C D E F G H I K L M N O P R S T U V W X Y Z 
- -
- - - - - -
- - - - diff --git a/Javadoc/index-files/index-21.html b/Javadoc/index-files/index-21.html deleted file mode 100644 index db50c20f..00000000 --- a/Javadoc/index-files/index-21.html +++ /dev/null @@ -1,264 +0,0 @@ - - - - - -W-Index - - - - - - - -
- - - - - -
- - -
A B C D E F G H I K L M N O P R S T U V W X Y Z  - - -

W

-
-
WEATHER - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
WINDOW_CLICK - Static variable in class com.comphenix.protocol.Packets.Client
-
 
-
WINDOW_ITEMS - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
withFieldType(Class, List<Field>, Map<Field, Integer>, EquivalentConverter<T>) - Method in class com.comphenix.protocol.reflect.StructureModifier
-
-
Create a new structure modifier for the new field type.
-
-
withTarget(Object) - Method in class com.comphenix.protocol.reflect.compiler.CompiledStructureModifier
-
 
-
withTarget(Object) - Method in class com.comphenix.protocol.reflect.StructureModifier
-
-
Retrieves a structure modifier of the same type for a different object target.
-
-
withType(Class) - Method in class com.comphenix.protocol.reflect.StructureModifier
-
-
Retrieves a structure modifier that only reads and writes fields of a given type.
-
-
withType(Class, EquivalentConverter<T>) - Method in class com.comphenix.protocol.reflect.StructureModifier
-
-
Retrieves a structure modifier that only reads and writes fields of a given type.
-
-
WORLD_EVENT - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
wrapped - Variable in class com.comphenix.protocol.reflect.cloning.NullableCloner
-
 
-
WrappedChunkCoordinate - Class in com.comphenix.protocol.wrappers
-
-
Allows access to a chunk coordinate.
-
-
WrappedChunkCoordinate() - Constructor for class com.comphenix.protocol.wrappers.WrappedChunkCoordinate
-
-
Create a new empty wrapper.
-
-
WrappedChunkCoordinate(Comparable) - Constructor for class com.comphenix.protocol.wrappers.WrappedChunkCoordinate
-
-
Create a wrapper for a specific chunk coordinates.
-
-
WrappedChunkCoordinate(int, int, int) - Constructor for class com.comphenix.protocol.wrappers.WrappedChunkCoordinate
-
-
Create a wrapper with specific values.
-
-
WrappedChunkCoordinate(ChunkPosition) - Constructor for class com.comphenix.protocol.wrappers.WrappedChunkCoordinate
-
-
Create a chunk coordinate wrapper from a given position.
-
-
WrappedDataWatcher - Class in com.comphenix.protocol.wrappers
-
-
Wraps a DataWatcher that is used to transmit arbitrary key-value pairs with a given entity.
-
-
WrappedDataWatcher() - Constructor for class com.comphenix.protocol.wrappers.WrappedDataWatcher
-
-
Initialize a new data watcher.
-
-
WrappedDataWatcher(Object) - Constructor for class com.comphenix.protocol.wrappers.WrappedDataWatcher
-
-
Create a wrapper for a given data watcher.
-
-
WrappedDataWatcher(List<WrappedWatchableObject>) - Constructor for class com.comphenix.protocol.wrappers.WrappedDataWatcher
-
-
Create a new data watcher for a list of watchable objects.
-
-
WrappedScheduler - Class in com.comphenix.protocol.utility
-
-
Allows us to stay backwards compatible with older versions of Bukkit.
-
-
WrappedScheduler() - Constructor for class com.comphenix.protocol.utility.WrappedScheduler
-
 
-
WrappedScheduler.TaskWrapper - Interface in com.comphenix.protocol.utility
-
-
Represents a backwards compatible Bukkit task.
-
-
WrappedWatchableObject - Class in com.comphenix.protocol.wrappers
-
-
Represents a watchable object.
-
-
WrappedWatchableObject(Object) - Constructor for class com.comphenix.protocol.wrappers.WrappedWatchableObject
-
-
Wrap a given raw Minecraft watchable object.
-
-
WrappedWatchableObject(int, Object) - Constructor for class com.comphenix.protocol.wrappers.WrappedWatchableObject
-
-
Construct a watchable object from an index and a given value.
-
-
write(int, Object) - Method in class com.comphenix.protocol.reflect.compiler.CompiledStructureModifier
-
 
-
write(int, TField) - Method in class com.comphenix.protocol.reflect.StructureModifier
-
-
Writes the value of a field given its index.
-
-
write(DataOutput) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtWrapper
-
-
Write the current NBT tag to an output stream.
-
-
writeDefaults() - Method in class com.comphenix.protocol.reflect.compiler.CompiledStructureModifier
-
 
-
writeDefaults() - Method in class com.comphenix.protocol.reflect.StructureModifier
-
-
Sets all non-primitive fields to a more fitting default value.
-
-
writeField(Field, Object, Object) - Static method in class com.comphenix.protocol.reflect.FieldUtils
-
-
Write an accessible field.
-
-
writeField(Field, Object, Object, boolean) - Static method in class com.comphenix.protocol.reflect.FieldUtils
-
-
Write a field.
-
-
writeField(Object, String, Object) - Static method in class com.comphenix.protocol.reflect.FieldUtils
-
-
Write a public field.
-
-
writeField(Object, String, Object, boolean) - Static method in class com.comphenix.protocol.reflect.FieldUtils
-
-
Write a field.
-
-
writeGenerated(int, Object) - Method in class com.comphenix.protocol.reflect.compiler.CompiledStructureModifier
-
 
-
writer - Variable in class com.comphenix.protocol.reflect.cloning.FieldCloner
-
 
-
writeReflected(int, Object) - Method in class com.comphenix.protocol.reflect.compiler.CompiledStructureModifier
-
-
Write the given field using reflection.
-
-
writeSafely(int, TField) - Method in class com.comphenix.protocol.reflect.StructureModifier
-
-
Writes the value of a given field IF and ONLY if it exists.
-
-
writeStaticField(Field, Object) - Static method in class com.comphenix.protocol.reflect.FieldUtils
-
-
Write a public static Field.
-
-
writeStaticField(Field, Object, boolean) - Static method in class com.comphenix.protocol.reflect.FieldUtils
-
-
Write a static Field.
-
-
writeStaticField(Class, String, Object) - Static method in class com.comphenix.protocol.reflect.FieldUtils
-
-
Write a named public static Field.
-
-
writeStaticField(Class, String, Object, boolean) - Static method in class com.comphenix.protocol.reflect.FieldUtils
-
-
Write a named static Field.
-
-
-A B C D E F G H I K L M N O P R S T U V W X Y Z 
- -
- - - - - -
- - - - diff --git a/Javadoc/index-files/index-22.html b/Javadoc/index-files/index-22.html deleted file mode 100644 index a9ea11b9..00000000 --- a/Javadoc/index-files/index-22.html +++ /dev/null @@ -1,120 +0,0 @@ - - - - - -X-Index - - - - - - - -
- - - - - -
- - -
A B C D E F G H I K L M N O P R S T U V W X Y Z  - - -

X

-
-
x - Variable in class com.comphenix.protocol.wrappers.ChunkPosition
-
 
-
-A B C D E F G H I K L M N O P R S T U V W X Y Z 
- -
- - - - - -
- - - - diff --git a/Javadoc/index-files/index-23.html b/Javadoc/index-files/index-23.html deleted file mode 100644 index 7306d4da..00000000 --- a/Javadoc/index-files/index-23.html +++ /dev/null @@ -1,120 +0,0 @@ - - - - - -Y-Index - - - - - - - -
- - - - - -
- - -
A B C D E F G H I K L M N O P R S T U V W X Y Z  - - -

Y

-
-
y - Variable in class com.comphenix.protocol.wrappers.ChunkPosition
-
 
-
-A B C D E F G H I K L M N O P R S T U V W X Y Z 
- -
- - - - - -
- - - - diff --git a/Javadoc/index-files/index-24.html b/Javadoc/index-files/index-24.html deleted file mode 100644 index 8c9598cd..00000000 --- a/Javadoc/index-files/index-24.html +++ /dev/null @@ -1,120 +0,0 @@ - - - - - -Z-Index - - - - - - - -
- - - - - -
- - -
A B C D E F G H I K L M N O P R S T U V W X Y Z  - - -

Z

-
-
z - Variable in class com.comphenix.protocol.wrappers.ChunkPosition
-
 
-
-A B C D E F G H I K L M N O P R S T U V W X Y Z 
- -
- - - - - -
- - - - diff --git a/Javadoc/index-files/index-3.html b/Javadoc/index-files/index-3.html deleted file mode 100644 index 6cb52392..00000000 --- a/Javadoc/index-files/index-3.html +++ /dev/null @@ -1,433 +0,0 @@ - - - - - -C-Index - - - - - - - -
- - - - - -
- - -
A B C D E F G H I K L M N O P R S T U V W X Y Z  - - -

C

-
-
calculateRoundNumber() - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher
-
-
Calculate the round number indicating when this matcher should be applied.
-
-
calculateRoundNumber() - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
-
 
-
calculateRoundNumber() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract
-
 
-
calculateRoundNumber() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract
-
 
-
calculateRoundNumber() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract
-
 
-
callerParam(Object...) - Method in class com.comphenix.protocol.error.Report.ReportBuilder
-
-
Set the parameters in the caller method.
-
-
cancel() - Method in class com.comphenix.protocol.async.AsyncListenerHandler
-
-
Cancel the handler.
-
-
cancel() - Method in interface com.comphenix.protocol.utility.WrappedScheduler.TaskWrapper
-
-
Cancel the current task.
-
-
canClone(Object) - Method in class com.comphenix.protocol.reflect.cloning.AggregateCloner
-
 
-
canClone(Object) - Method in class com.comphenix.protocol.reflect.cloning.BukkitCloner
-
 
-
canClone(Object) - Method in interface com.comphenix.protocol.reflect.cloning.Cloner
-
-
Determine whether or not the current cloner can clone the given object.
-
-
canClone(Object) - Method in class com.comphenix.protocol.reflect.cloning.CollectionCloner
-
 
-
canClone(Object) - Method in class com.comphenix.protocol.reflect.cloning.FieldCloner
-
 
-
canClone(Object) - Method in class com.comphenix.protocol.reflect.cloning.ImmutableDetector
-
 
-
canClone(Object) - Method in class com.comphenix.protocol.reflect.cloning.NullableCloner
-
 
-
CHAT - Static variable in class com.comphenix.protocol.Packets.Client
-
 
-
CHAT - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
ChatExtensions - Class in com.comphenix.protocol.utility
-
-
Utility methods for sending chat messages.
-
-
ChatExtensions(ProtocolManager) - Constructor for class com.comphenix.protocol.utility.ChatExtensions
-
 
-
ChunkPosition - Class in com.comphenix.protocol.wrappers
-
-
Copies a immutable net.minecraft.server.ChunkPosition, which represents a integer 3D vector.
-
-
ChunkPosition(int, int, int) - Constructor for class com.comphenix.protocol.wrappers.ChunkPosition
-
-
Construct an immutable 3D vector.
-
-
ChunkPosition(Vector) - Constructor for class com.comphenix.protocol.wrappers.ChunkPosition
-
-
Construct an immutable integer 3D vector from a mutable Bukkit vector.
-
-
cleanupAll() - Method in class com.comphenix.protocol.async.AsyncFilterManager
-
 
-
cleanupAll() - Method in interface com.comphenix.protocol.AsynchronousManager
-
-
Remove listeners, close threads and transmit every delayed packet.
-
-
clear() - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree
-
-
Remove every interval.
-
-
clear() - Method in class com.comphenix.protocol.concurrency.IntegerSet
-
-
Remove every element from the set.
-
-
clear() - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
-
 
-
clearCache() - Static method in class com.comphenix.protocol.reflect.MethodUtils
-
-
Clear the method cache.
-
-
clearGlobalParameters() - Method in class com.comphenix.protocol.error.DetailedErrorReporter
-
-
Reset all global parameters.
-
-
clearListeners() - Method in class com.comphenix.protocol.concurrency.AbstractConcurrentListenerMultimap
-
-
Remove all packet listeners.
-
-
CLIENT_COMMAND - Static variable in class com.comphenix.protocol.Packets.Client
-
 
-
clone(Object) - Method in class com.comphenix.protocol.reflect.cloning.AggregateCloner
-
 
-
clone(Object) - Method in class com.comphenix.protocol.reflect.cloning.BukkitCloner
-
 
-
clone(Object) - Method in interface com.comphenix.protocol.reflect.cloning.Cloner
-
-
Perform the clone.
-
-
clone(Object) - Method in class com.comphenix.protocol.reflect.cloning.CollectionCloner
-
 
-
clone(Object) - Method in class com.comphenix.protocol.reflect.cloning.FieldCloner
-
 
-
clone(Object) - Method in class com.comphenix.protocol.reflect.cloning.ImmutableDetector
-
 
-
clone(Object) - Method in class com.comphenix.protocol.reflect.cloning.NullableCloner
-
 
-
Cloner - Interface in com.comphenix.protocol.reflect.cloning
-
-
Represents an object that is capable of cloning other objects.
-
-
close(ScriptEngine) - Method in class com.comphenix.protocol.CommandFilter.Filter
-
-
Clean up all associated code from this filter in the provided script engine.
-
-
CLOSE_WINDOW - Static variable in class com.comphenix.protocol.Packets.Client
-
 
-
CLOSE_WINDOW - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
COLLECT - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
CollectionCloner - Class in com.comphenix.protocol.reflect.cloning
-
-
Attempts to clone collection and array classes.
-
-
CollectionCloner(Cloner) - Constructor for class com.comphenix.protocol.reflect.cloning.CollectionCloner
-
-
Constructs a new collection and array cloner with the given inner element cloner.
-
-
CollectionGenerator - Class in com.comphenix.protocol.reflect.instances
-
-
Provides simple constructors for collection interfaces.
-
-
CollectionGenerator() - Constructor for class com.comphenix.protocol.reflect.instances.CollectionGenerator
-
 
-
com.comphenix.protocol - package com.comphenix.protocol
-
-
Contains classes for retrieving the main ProtocolMananger object.
-
-
com.comphenix.protocol.async - package com.comphenix.protocol.async
-
 
-
com.comphenix.protocol.concurrency - package com.comphenix.protocol.concurrency
-
 
-
com.comphenix.protocol.error - package com.comphenix.protocol.error
-
 
-
com.comphenix.protocol.events - package com.comphenix.protocol.events
-
 
-
com.comphenix.protocol.metrics - package com.comphenix.protocol.metrics
-
 
-
com.comphenix.protocol.reflect - package com.comphenix.protocol.reflect
-
 
-
com.comphenix.protocol.reflect.cloning - package com.comphenix.protocol.reflect.cloning
-
 
-
com.comphenix.protocol.reflect.compiler - package com.comphenix.protocol.reflect.compiler
-
 
-
com.comphenix.protocol.reflect.fuzzy - package com.comphenix.protocol.reflect.fuzzy
-
 
-
com.comphenix.protocol.reflect.instances - package com.comphenix.protocol.reflect.instances
-
 
-
com.comphenix.protocol.utility - package com.comphenix.protocol.utility
-
 
-
com.comphenix.protocol.wrappers.nbt - package com.comphenix.protocol.wrappers.nbt
-
 
-
com.comphenix.protocol.wrappers.nbt.io - package com.comphenix.protocol.wrappers.nbt.io
-
 
-
combineRounds(int, int) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher
-
-
Combine two round numbers by taking the highest non-zero number, or return zero.
-
-
combineRounds(Integer...) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher
-
-
Combine n round numbers by taking the highest non-zero number, or return zero.
-
-
CommandFilter - Class in com.comphenix.protocol
-
-
A command to apply JavaScript filtering to the packet command.
-
-
CommandFilter(ErrorReporter, Plugin, ProtocolConfig) - Constructor for class com.comphenix.protocol.CommandFilter
-
 
-
CommandFilter.Filter - Class in com.comphenix.protocol
-
-
A filter that will be used to process a packet event.
-
-
CommandFilter.Filter(String, String, Set<Integer>) - Constructor for class com.comphenix.protocol.CommandFilter.Filter
-
-
Construct a new immutable filter.
-
-
CommandFilter.FilterFailedHandler - Interface in com.comphenix.protocol
-
 
-
compareTo(AsyncMarker) - Method in class com.comphenix.protocol.async.AsyncMarker
-
 
-
compareTo(AbstractFuzzyMatcher<T>) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher
-
 
-
compareTo(MinecraftVersion) - Method in class com.comphenix.protocol.utility.MinecraftVersion
-
 
-
compareTo(WrappedChunkCoordinate) - Method in class com.comphenix.protocol.wrappers.WrappedChunkCoordinate
-
 
-
compile(ScriptEngine) - Method in class com.comphenix.protocol.CommandFilter.Filter
-
-
Force the compilation of a specific filter.
-
-
compile(StructureModifier<TField>) - Method in class com.comphenix.protocol.reflect.compiler.StructureCompiler
-
-
Compiles the given structure modifier.
-
-
CompiledStructureModifier - Class in com.comphenix.protocol.reflect.compiler
-
-
Represents a compiled structure modifier.
-
-
CompiledStructureModifier() - Constructor for class com.comphenix.protocol.reflect.compiler.CompiledStructureModifier
-
 
-
CompileListener<TKey> - Interface in com.comphenix.protocol.reflect.compiler
-
-
Used to save the result of an compilation.
-
-
compiler - Variable in class com.comphenix.protocol.reflect.compiler.CompiledStructureModifier
-
 
-
ConnectionSide - Enum in com.comphenix.protocol.events
-
-
Used to set a packet filter.
-
-
connectionSide - Variable in class com.comphenix.protocol.events.PacketAdapter
-
 
-
constructor(AbstractFuzzyMatcher<MethodInfo>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract.Builder
-
-
Add a new constructor contract.
-
-
constructor(FuzzyMethodContract.Builder) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract.Builder
-
-
Add a new constructor contract via a builder.
-
-
contains(int) - Method in class com.comphenix.protocol.concurrency.IntegerSet
-
-
Determine whether or not the given element exists in the set.
-
-
contains(Object) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
-
 
-
contains(T[], T) - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
-
 
-
containsAll(Collection<?>) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
-
 
-
containsAny(ListeningWhitelist, int...) - Static method in class com.comphenix.protocol.events.ListeningWhitelist
-
-
Determine if any of the given IDs can be found in the whitelist.
-
-
containsKey(TKey) - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree
-
-
Determines if the given key is within an interval.
-
-
containsKey(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
-
Determine if an entry with the given key exists or not.
-
-
converter - Variable in class com.comphenix.protocol.reflect.StructureModifier
-
 
-
copyTo(Object, Object, Class<?>) - Method in class com.comphenix.protocol.reflect.ObjectWriter
-
-
Copy every field in object A to object B.
-
-
CRAFT_PROGRESS_BAR - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
create() - Static method in class com.comphenix.protocol.concurrency.BlockingHashMap
-
-
Initialize a new map.
-
-
create(Class<?>) - Method in class com.comphenix.protocol.reflect.instances.BannedGenerator
-
 
-
create(Class<?>) - Method in class com.comphenix.protocol.reflect.instances.CollectionGenerator
-
 
-
create(Class<?>) - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
-
 
-
create(Class<?>) - Method in class com.comphenix.protocol.reflect.instances.ExistingGenerator
-
 
-
create(Class<?>) - Method in interface com.comphenix.protocol.reflect.instances.InstanceProvider
-
-
Create an instance given a type, if possible.
-
-
create(Class<?>) - Method in class com.comphenix.protocol.reflect.instances.PrimitiveGenerator
-
 
-
createAsyncMarker() - Method in class com.comphenix.protocol.async.AsyncFilterManager
-
-
Construct a asynchronous marker with all the default values.
-
-
createAsyncMarker(long, long) - Method in class com.comphenix.protocol.async.AsyncFilterManager
-
-
Construct an async marker with the given sending priority delta and timeout delta.
-
-
createGraph(String) - Method in class com.comphenix.protocol.metrics.Metrics
-
-
Construct and create a Graph that can be used to separate specific plotters to their own graphs on the metrics - website.
-
-
createInstance(Class<T>, Constructor<T>, Class<?>[], Object[]) - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
-
-
Used by the default instance provider to create a class from a given constructor.
-
-
createPacket(int) - Method in interface com.comphenix.protocol.ProtocolManager
-
-
Constructs a new encapsulated Minecraft packet with the given ID.
-
-
createPacket(int, boolean) - Method in interface com.comphenix.protocol.ProtocolManager
-
-
Constructs a new encapsulated Minecraft packet with the given ID.
-
-
createPacketConstructor(int, Object...) - Method in interface com.comphenix.protocol.ProtocolManager
-
-
Construct a packet using the special builtin Minecraft constructors.
-
-
CUSTOM_PAYLOAD - Static variable in class com.comphenix.protocol.Packets.Client
-
 
-
CUSTOM_PAYLOAD - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
customConvertHandling - Variable in class com.comphenix.protocol.reflect.StructureModifier
-
 
-
-A B C D E F G H I K L M N O P R S T U V W X Y Z 
- -
- - - - - -
- - - - diff --git a/Javadoc/index-files/index-4.html b/Javadoc/index-files/index-4.html deleted file mode 100644 index 4413ae72..00000000 --- a/Javadoc/index-files/index-4.html +++ /dev/null @@ -1,318 +0,0 @@ - - - - - -D-Index - - - - - - - -
- - - - - -
- - -
A B C D E F G H I K L M N O P R S T U V W X Y Z  - - -

D

-
-
data - Variable in class com.comphenix.protocol.reflect.StructureModifier
-
 
-
declaringClassDerivedOf(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember.Builder
-
-
Require that a member is defined by this exact class, or any super class.
-
-
declaringClassDerivedOf(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder
-
 
-
declaringClassDerivedOf(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
-
 
-
declaringClassExactType(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember.Builder
-
-
Require that a member is defined by this exact class.
-
-
declaringClassExactType(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder
-
 
-
declaringClassExactType(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
-
 
-
declaringClassMatching(AbstractFuzzyMatcher<Class<?>>) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember.Builder
-
-
Require that a member is defined by a class that matches the given matcher.
-
-
declaringClassMatching(AbstractFuzzyMatcher<Class<?>>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder
-
 
-
declaringClassMatching(AbstractFuzzyMatcher<Class<?>>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
-
 
-
declaringClassSuperOf(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember.Builder
-
-
Require that a member is defined by this exact class, or any super class.
-
-
declaringClassSuperOf(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder
-
 
-
declaringClassSuperOf(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
-
 
-
declaringMatcher - Variable in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
-
 
-
decrementKey(TKey) - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree
-
-
Decrement the given key by one unit.
-
-
deepClone() - Method in class com.comphenix.protocol.events.PacketContainer
-
-
Create a deep copy of the current packet.
-
-
deepClone() - Method in interface com.comphenix.protocol.wrappers.nbt.NbtBase
-
-
Clone the current NBT tag.
-
-
deepClone() - Method in class com.comphenix.protocol.wrappers.nbt.NbtCompoundTest.NbtCustomTag
-
 
-
deepClone() - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
-
-
Clone the content of the current DataWatcher.
-
-
deepClone() - Method in class com.comphenix.protocol.wrappers.WrappedWatchableObject
-
-
Clone the current wrapped watchable object, along with any contained objects.
-
-
DEFAULT - Static variable in class com.comphenix.protocol.reflect.cloning.AggregateCloner
-
-
Represents a default aggregate cloner.
-
-
DEFAULT - Static variable in class com.comphenix.protocol.reflect.instances.DefaultInstances
-
-
Standard default instance provider.
-
-
DEFAULT - Static variable in class com.comphenix.protocol.wrappers.nbt.io.NbtBinarySerializer
-
-
Retrieve a default instance of the NBT binary serializer.
-
-
DEFAULT - Static variable in class com.comphenix.protocol.wrappers.nbt.io.NbtConfigurationSerializer
-
-
A standard YAML serializer.
-
-
DEFAULT - Static variable in class com.comphenix.protocol.wrappers.nbt.io.NbtTextSerializer
-
-
A default instance of this serializer.
-
-
DEFAULT_DISABLE_AT_PERM_GEN - Static variable in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
-
-
The default fraction of perm gen space after which the background compiler will be disabled.
-
-
DEFAULT_MAX_ERROR_COUNT - Static variable in class com.comphenix.protocol.error.DetailedErrorReporter
-
 
-
DEFAULT_PREFIX - Static variable in class com.comphenix.protocol.error.DetailedErrorReporter
-
 
-
DEFAULT_SENDING_DELTA - Static variable in class com.comphenix.protocol.async.AsyncMarker
-
-
Default number of packets to skip.
-
-
DEFAULT_SUPPORT_URL - Static variable in class com.comphenix.protocol.error.DetailedErrorReporter
-
 
-
DEFAULT_TIMEOUT_DELTA - Static variable in class com.comphenix.protocol.async.AsyncMarker
-
-
Default number of milliseconds until a packet will rejected.
-
-
defaultCloner - Variable in class com.comphenix.protocol.reflect.cloning.FieldCloner
-
 
-
defaultFields - Variable in class com.comphenix.protocol.reflect.StructureModifier
-
 
-
DefaultInstances - Class in com.comphenix.protocol.reflect.instances
-
-
Used to construct default instances of any type.
-
-
DefaultInstances(ImmutableList<InstanceProvider>) - Constructor for class com.comphenix.protocol.reflect.instances.DefaultInstances
-
-
Construct a default instance generator using the given instance providers.
-
-
DefaultInstances(DefaultInstances) - Constructor for class com.comphenix.protocol.reflect.instances.DefaultInstances
-
-
Copy a given instance provider.
-
-
DefaultInstances(InstanceProvider...) - Constructor for class com.comphenix.protocol.reflect.instances.DefaultInstances
-
-
Construct a default instance generator using the given instance providers.
-
-
defaultTransform(StructureModifier<Object>, StructureModifier<Object>, Cloner, int) - Method in class com.comphenix.protocol.reflect.cloning.FieldCloner
-
-
Default implementation of the field transform.
-
-
DelegatedErrorReporter - Class in com.comphenix.protocol.error
-
-
Construct an error reporter that delegates to another error reporter.
-
-
DelegatedErrorReporter(ErrorReporter) - Constructor for class com.comphenix.protocol.error.DelegatedErrorReporter
-
-
Construct a new error reporter that forwards all reports to a given reporter.
-
-
deserialize(DataInput) - Method in class com.comphenix.protocol.wrappers.nbt.io.NbtBinarySerializer
-
-
Load an NBT tag from a stream.
-
-
deserialize(ConfigurationSection, String) - Method in class com.comphenix.protocol.wrappers.nbt.io.NbtConfigurationSerializer
-
-
Read a NBT tag from a root configuration.
-
-
deserialize(String) - Method in class com.comphenix.protocol.wrappers.nbt.io.NbtTextSerializer
-
-
Deserialize a NBT tag from a base-64 encoded string.
-
-
deserializeCompound(DataInput) - Method in class com.comphenix.protocol.wrappers.nbt.io.NbtBinarySerializer
-
-
Load an NBT compound from a stream.
-
-
deserializeCompound(YamlConfiguration, String) - Method in class com.comphenix.protocol.wrappers.nbt.io.NbtConfigurationSerializer
-
-
Read a NBT compound from a root configuration.
-
-
deserializeCompound(String) - Method in class com.comphenix.protocol.wrappers.nbt.io.NbtTextSerializer
-
-
Deserialize a NBT compound from a base-64 encoded string.
-
-
deserializeItemStack(DataInputStream) - Method in class com.comphenix.protocol.utility.StreamSerializer
-
-
Read or deserialize an item stack from an underlying input stream.
-
-
deserializeItemStack(String) - Method in class com.comphenix.protocol.utility.StreamSerializer
-
-
Deserialize an item stack from a base-64 encoded string.
-
-
deserializeList(DataInput) - Method in class com.comphenix.protocol.wrappers.nbt.io.NbtBinarySerializer
-
-
Load an NBT list from a stream.
-
-
deserializeList(YamlConfiguration, String) - Method in class com.comphenix.protocol.wrappers.nbt.io.NbtConfigurationSerializer
-
-
Read a NBT compound from a root configuration.
-
-
deserializeList(String) - Method in class com.comphenix.protocol.wrappers.nbt.io.NbtTextSerializer
-
-
Deserialize a NBT list from a base-64 encoded string.
-
-
DESTROY_ENTITY - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
DetailedErrorReporter - Class in com.comphenix.protocol.error
-
-
Internal class used to handle exceptions.
-
-
DetailedErrorReporter(Plugin) - Constructor for class com.comphenix.protocol.error.DetailedErrorReporter
-
-
Create a default error reporting system.
-
-
DetailedErrorReporter(Plugin, String, String) - Constructor for class com.comphenix.protocol.error.DetailedErrorReporter
-
-
Create a central error reporting system.
-
-
DetailedErrorReporter(Plugin, String, String, int, Logger) - Constructor for class com.comphenix.protocol.error.DetailedErrorReporter
-
-
Create a central error reporting system.
-
-
disable() - Method in class com.comphenix.protocol.metrics.Metrics
-
-
Disables metrics for the server by setting "opt-out" to true in the config file and canceling the metrics task.
-
-
DISPLAY_SCOREBOARD - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
divide(int) - Method in class com.comphenix.protocol.wrappers.ChunkPosition
-
-
Divide each dimension in the current position by the given divisor.
-
-
-A B C D E F G H I K L M N O P R S T U V W X Y Z 
- -
- - - - - -
- - - - diff --git a/Javadoc/index-files/index-5.html b/Javadoc/index-files/index-5.html deleted file mode 100644 index 91554f07..00000000 --- a/Javadoc/index-files/index-5.html +++ /dev/null @@ -1,242 +0,0 @@ - - - - - -E-Index - - - - - - - -
- - - - - -
- - -
A B C D E F G H I K L M N O P R S T U V W X Y Z  - - -

E

-
-
EMPTY_NAME - Static variable in interface com.comphenix.protocol.wrappers.nbt.NbtList
-
-
The name of every NBT tag in a list.
-
-
EMPTY_WHITELIST - Static variable in class com.comphenix.protocol.events.ListeningWhitelist
-
-
A whitelist with no packets - indicates that the listener shouldn't observe any packets.
-
-
enable() - Method in class com.comphenix.protocol.metrics.Metrics
-
-
Enables metrics for the server by setting "opt-out" to false in the config file and starting the metrics task.
-
-
enqueuePacket(PacketEvent) - Method in class com.comphenix.protocol.async.AsyncListenerHandler
-
-
Queue a packet for processing.
-
-
enqueueSyncPacket(PacketEvent, AsyncMarker) - Method in class com.comphenix.protocol.async.AsyncFilterManager
-
-
Enqueue a packet for asynchronous processing.
-
-
ENTITY - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
ENTITY_ACTION - Static variable in class com.comphenix.protocol.Packets.Client
-
 
-
ENTITY_EQUIPMENT - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
ENTITY_HEAD_ROTATION - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
ENTITY_LOCATION_ACTION - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
ENTITY_LOOK - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
ENTITY_METADATA - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
ENTITY_PAINTING - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
ENTITY_STATUS - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
ENTITY_TELEPORT - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
ENTITY_VELOCITY - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
entrySet() - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree
-
-
Enumerates over every range in this interval tree.
-
-
equals(Object) - Method in class com.comphenix.protocol.async.AsyncMarker
-
 
-
equals(Object) - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree.Entry
-
 
-
equals(Object) - Method in class com.comphenix.protocol.events.ListeningWhitelist
-
 
-
equals(Object) - Method in class com.comphenix.protocol.metrics.Metrics.Graph
-
 
-
equals(Object) - Method in class com.comphenix.protocol.metrics.Metrics.Plotter
-
 
-
equals(Object) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
-
 
-
equals(Object) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract
-
 
-
equals(Object) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract
-
 
-
equals(Object) - Method in class com.comphenix.protocol.utility.MinecraftVersion
-
 
-
equals(Object) - Method in class com.comphenix.protocol.wrappers.ChunkPosition
-
 
-
equals(Object) - Method in class com.comphenix.protocol.wrappers.WrappedChunkCoordinate
-
 
-
equals(Object) - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
-
 
-
equals(Object) - Method in class com.comphenix.protocol.wrappers.WrappedWatchableObject
-
 
-
EquivalentConverter<TType> - Interface in com.comphenix.protocol.reflect
-
-
Interface that converts generic objects into types and back.
-
-
error(Throwable) - Method in class com.comphenix.protocol.error.Report.ReportBuilder
-
-
Set the current exception that occured.
-
-
ERROR_PERMISSION - Static variable in class com.comphenix.protocol.error.DetailedErrorReporter
-
 
-
ErrorReporter - Interface in com.comphenix.protocol.error
-
-
Represents an object that can forward an error Report to the display and permanent storage.
-
-
evaluate(ScriptEngine, PacketEvent) - Method in class com.comphenix.protocol.CommandFilter.Filter
-
-
Evaluate the current filter using the provided ScriptEngine as context.
-
-
exceptionExactType(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
-
-
Add a throwable exception that must match the given type exactly.
-
-
exceptionExactType(Class<?>, int) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
-
-
Add a throwable exception that must match the given type exactly and index.
-
-
exceptionMatches(AbstractFuzzyMatcher<Class<?>>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
-
-
Add a throwable exception that must match the given matcher,
-
-
exceptionMatches(AbstractFuzzyMatcher<Class<?>>, int) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
-
-
Add a throwable exception that must match the given matcher and index.
-
-
exceptionSuperOf(Class<?>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
-
-
Add a throwable exception that must match the given type or be derived.
-
-
exceptionSuperOf(Class<?>, int) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
-
-
Add a throwable exception that must match the given type or be derived and index.
-
-
ExistingGenerator - Class in com.comphenix.protocol.reflect.instances
-
-
Provides instance constructors using a list of existing values.
-
-
EXPLOSION - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
extractVersion(String) - Static method in class com.comphenix.protocol.utility.MinecraftVersion
-
-
Extract the Minecraft version from CraftBukkit itself.
-
-
-A B C D E F G H I K L M N O P R S T U V W X Y Z 
- -
- - - - - -
- - - - diff --git a/Javadoc/index-files/index-6.html b/Javadoc/index-files/index-6.html deleted file mode 100644 index 0d70a6aa..00000000 --- a/Javadoc/index-files/index-6.html +++ /dev/null @@ -1,304 +0,0 @@ - - - - - -F-Index - - - - - - - -
- - - - - -
- - -
A B C D E F G H I K L M N O P R S T U V W X Y Z  - - -

F

-
-
field(AbstractFuzzyMatcher<Field>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract.Builder
-
-
Add a new field contract.
-
-
field(FuzzyFieldContract.Builder) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract.Builder
-
-
Add a new field contract via a builder.
-
-
FieldAccessException - Exception in com.comphenix.protocol.reflect
-
-
Invoked when a field is inaccessible due to security limitations, or when it simply doesn't exist.
-
-
FieldAccessException() - Constructor for exception com.comphenix.protocol.reflect.FieldAccessException
-
 
-
FieldAccessException(String, Throwable) - Constructor for exception com.comphenix.protocol.reflect.FieldAccessException
-
 
-
FieldAccessException(String) - Constructor for exception com.comphenix.protocol.reflect.FieldAccessException
-
 
-
FieldAccessException(Throwable) - Constructor for exception com.comphenix.protocol.reflect.FieldAccessException
-
 
-
FieldCloner - Class in com.comphenix.protocol.reflect.cloning
-
-
Represents a class capable of cloning objects by deeply copying its fields.
-
-
FieldCloner(Cloner, InstanceProvider) - Constructor for class com.comphenix.protocol.reflect.cloning.FieldCloner
-
-
Constructs a field cloner that copies objects by reading and writing the internal fields directly.
-
-
fieldType - Variable in class com.comphenix.protocol.reflect.StructureModifier
-
 
-
FieldUtils - Class in com.comphenix.protocol.reflect
-
-
Utilities for working with fields by reflection.
-
-
FieldUtils() - Constructor for class com.comphenix.protocol.reflect.FieldUtils
-
-
FieldUtils instances should NOT be constructed in standard programming.
-
-
filterEvent(PacketEvent) - Method in class com.comphenix.protocol.CommandFilter
-
-
Determine whether or not to pass the given packet event to the packet listeners.
-
-
filterEvent(PacketEvent, CommandFilter.FilterFailedHandler) - Method in class com.comphenix.protocol.CommandFilter
-
-
Determine whether or not to pass the given packet event to the packet listeners.
-
-
filterReport(Object, Report, boolean) - Method in class com.comphenix.protocol.error.DelegatedErrorReporter
-
-
Invoked before an error report is passed on to the underlying error reporter.
-
-
finalize() - Method in class com.comphenix.protocol.reflect.VolatileField
-
 
-
FLYING - Static variable in class com.comphenix.protocol.Packets.Client
-
 
-
FLYING - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
forEnhancer(Enhancer) - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
-
-
Construct default instances using the CGLIB enhancer object instead.
-
-
fromArray(InstanceProvider...) - Static method in class com.comphenix.protocol.reflect.instances.DefaultInstances
-
-
Construct a default instance generator using the given instance providers.
-
-
fromBase(NbtBase<T>) - Static method in class com.comphenix.protocol.wrappers.nbt.NbtFactory
-
-
Get a NBT wrapper from a NBT base.
-
-
fromClass(Class<?>) - Static method in class com.comphenix.protocol.reflect.FuzzyReflection
-
-
Retrieves a fuzzy reflection instance from a given class.
-
-
fromClass(Class<?>, boolean) - Static method in class com.comphenix.protocol.reflect.FuzzyReflection
-
-
Retrieves a fuzzy reflection instance from a given class.
-
-
fromClient(Object, PacketContainer, Player) - Static method in class com.comphenix.protocol.events.PacketEvent
-
-
Creates an event representing a client packet transmission.
-
-
fromCollection(Collection<InstanceProvider>) - Static method in class com.comphenix.protocol.reflect.instances.DefaultInstances
-
-
Construct a default instance generator using the given instance providers.
-
-
fromConstructor(Constructor<?>) - Static method in class com.comphenix.protocol.reflect.MethodInfo
-
-
Wraps a constructor as a method information object.
-
-
fromConstructors(Constructor<?>[]) - Static method in class com.comphenix.protocol.reflect.MethodInfo
-
-
Construct a list of method infos from a given array of constructors.
-
-
fromConstructors(Collection<Constructor<?>>) - Static method in class com.comphenix.protocol.reflect.MethodInfo
-
-
Construct a list of method infos from a given collection of constructors.
-
-
fromFormat(String, Object...) - Static method in exception com.comphenix.protocol.reflect.FieldAccessException
-
 
-
fromItemTag(ItemStack) - Static method in class com.comphenix.protocol.wrappers.nbt.NbtFactory
-
-
Construct a wrapper for an NBT tag stored (in memory) in an item stack.
-
-
fromMethod(Method) - Static method in class com.comphenix.protocol.reflect.MethodInfo
-
-
Wraps a method as a MethodInfo object.
-
-
fromMethods(Method[]) - Static method in class com.comphenix.protocol.reflect.MethodInfo
-
-
Construct a list of method infos from a given array of methods.
-
-
fromMethods(Collection<Method>) - Static method in class com.comphenix.protocol.reflect.MethodInfo
-
-
Construct a list of method infos from a given collection of methods.
-
-
fromNMS(Object) - Static method in class com.comphenix.protocol.wrappers.nbt.NbtFactory
-
-
Initialize a NBT wrapper.
-
-
fromObject(Object) - Static method in class com.comphenix.protocol.reflect.FuzzyReflection
-
-
Retrieves a fuzzy reflection instance from an object.
-
-
fromObject(Object, boolean) - Static method in class com.comphenix.protocol.reflect.FuzzyReflection
-
-
Retrieves a fuzzy reflection instance from an object.
-
-
fromObjectArray(Object[]) - Static method in class com.comphenix.protocol.reflect.instances.ExistingGenerator
-
-
Create an instance generator from a pre-defined array of values.
-
-
fromObjectFields(Object) - Static method in class com.comphenix.protocol.reflect.instances.ExistingGenerator
-
-
Automatically create an instance provider from a objects public and private fields.
-
-
fromObjectFields(Object, Class<?>) - Static method in class com.comphenix.protocol.reflect.instances.ExistingGenerator
-
-
Automatically create an instance provider from a objects public and private fields.
-
-
fromServer(Object, PacketContainer, Player) - Static method in class com.comphenix.protocol.events.PacketEvent
-
-
Creates an event representing a server packet transmission.
-
-
fromSynchronous(PacketEvent, AsyncMarker) - Static method in class com.comphenix.protocol.events.PacketEvent
-
-
Create an asynchronous packet event from a synchronous event and a async marker.
-
-
FuzzyClassContract - Class in com.comphenix.protocol.reflect.fuzzy
-
-
Determine if a given class implements a given fuzzy (duck typed) contract.
-
-
FuzzyClassContract.Builder - Class in com.comphenix.protocol.reflect.fuzzy
-
-
Represents a class contract builder.
-
-
FuzzyClassContract.Builder() - Constructor for class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract.Builder
-
 
-
FuzzyFieldContract - Class in com.comphenix.protocol.reflect.fuzzy
-
-
Represents a field matcher.
-
-
FuzzyFieldContract.Builder - Class in com.comphenix.protocol.reflect.fuzzy
-
-
Represents a builder for a field matcher.
-
-
FuzzyFieldContract.Builder() - Constructor for class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder
-
 
-
FuzzyMatchers - Class in com.comphenix.protocol.reflect.fuzzy
-
-
Contains factory methods for matching classes.
-
-
FuzzyMethodContract - Class in com.comphenix.protocol.reflect.fuzzy
-
-
Represents a contract for matching methods or constructors.
-
-
FuzzyMethodContract.Builder - Class in com.comphenix.protocol.reflect.fuzzy
-
-
Represents a builder for a fuzzy method contract.
-
-
FuzzyMethodContract.Builder() - Constructor for class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
-
 
-
FuzzyReflection - Class in com.comphenix.protocol.reflect
-
-
Retrieves fields and methods by signature, not just name.
-
-
FuzzyReflection(Class<?>, boolean) - Constructor for class com.comphenix.protocol.reflect.FuzzyReflection
-
 
-
-A B C D E F G H I K L M N O P R S T U V W X Y Z 
- -
- - - - - -
- - - - diff --git a/Javadoc/index-files/index-7.html b/Javadoc/index-files/index-7.html deleted file mode 100644 index 40f1dc13..00000000 --- a/Javadoc/index-files/index-7.html +++ /dev/null @@ -1,1437 +0,0 @@ - - - - - -G-Index - - - - - - - -
- - - - - -
- - -
A B C D E F G H I K L M N O P R S T U V W X Y Z  - - -

G

-
-
get(TKey) - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree
-
-
Retrieves the value of the range that matches the given key, or NULL if nothing was found.
-
-
get(TKey) - Method in class com.comphenix.protocol.concurrency.BlockingHashMap
-
-
Waits until a value has been associated with the given key, and then retrieves that value.
-
-
get(TKey, long, TimeUnit) - Method in class com.comphenix.protocol.concurrency.BlockingHashMap
-
-
Waits until a value has been associated with the given key, and then retrieves that value.
-
-
get(TKey, long, TimeUnit, boolean) - Method in class com.comphenix.protocol.concurrency.BlockingHashMap
-
-
Waits until a value has been associated with the given key, and then retrieves that value.
-
-
get(int) - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
-
-
Retrieves an element by index.
-
-
GET_INFO - Static variable in class com.comphenix.protocol.Packets.Client
-
 
-
getAccessibleMethod(Class, String, Class[]) - Static method in class com.comphenix.protocol.reflect.MethodUtils
-
-
Return an accessible method (that is, one that can be invoked via - reflection) with given name and parameters.
-
-
getAccessibleMethod(Method) - Static method in class com.comphenix.protocol.reflect.MethodUtils
-
-
Return an accessible method (that is, one that can be invoked via - reflection) that implements the specified Method.
-
-
getAccessibleMethod(Class, Method) - Static method in class com.comphenix.protocol.reflect.MethodUtils
-
-
Return an accessible method (that is, one that can be invoked via - reflection) that implements the specified Method.
-
-
getAggregateCloner() - Method in class com.comphenix.protocol.reflect.cloning.AggregateCloner.BuilderParameters
-
-
Retrieve the aggregate cloner that is being built.
-
-
getArrayClass(Class<?>) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Retrieve the array class of a given component type.
-
-
getAsynchronousManager() - Method in interface com.comphenix.protocol.ProtocolManager
-
-
Retrieve the current asyncronous packet manager.
-
-
getAsyncListener() - Method in class com.comphenix.protocol.async.AsyncListenerHandler
-
-
Retrieve the current asynchronous packet listener.
-
-
getAsyncMarker() - Method in class com.comphenix.protocol.events.PacketEvent
-
-
Retrieve the asynchronous marker.
-
-
getBaseclassContracts() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract
-
-
Retrieve an immutable list of every baseclass contract.
-
-
getBinarySerializer() - Method in class com.comphenix.protocol.wrappers.nbt.io.NbtTextSerializer
-
-
Retrieve the binary serializer that is used.
-
-
getBlockClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Retrieve the Block (NMS) class.
-
-
getBooleans() - Method in class com.comphenix.protocol.events.PacketContainer
-
-
Retrieves a read/write structure for every boolean field.
-
-
getBuild() - Method in class com.comphenix.protocol.utility.MinecraftVersion
-
-
Build version number
-
-
getBukkitEntity(Object) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Dynamically retrieve the Bukkit entity from a given entity.
-
-
getBukkitItemStack(ItemStack) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Retrieve a CraftItemStack from a given ItemStack.
-
-
getBukkitItemStack(Object) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Retrieve the Bukkit ItemStack from a given net.minecraft.server ItemStack.
-
-
getByte(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
-
Retrieve the byte value of an entry identified by a given key.
-
-
getByte(int) - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
-
-
Get a watched byte.
-
-
getByteArray(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
-
Retrieve the byte array value of an entry identified by a given key.
-
-
getByteArrays() - Method in class com.comphenix.protocol.events.PacketContainer
-
-
Retrieves a read/write structure for every byte array field.
-
-
getByteArraySerializer() - Method in class com.comphenix.protocol.events.PacketContainer
-
-
Retrieve a serializer for reading and writing ItemStacks stored in a byte array.
-
-
getByteOrDefault(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
-
Retrieve the byte value of an existing entry, or from a new default entry if it doesn't exist.
-
-
getBytes() - Method in class com.comphenix.protocol.events.PacketContainer
-
-
Retrieves a read/write structure for every byte field.
-
-
getCallerParameters() - Method in class com.comphenix.protocol.error.Report
-
-
Retrieve the parameters of the caller method.
-
-
getChunkCoordinate(int) - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
-
-
Get a watched string.
-
-
getChunkCoordinatesClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Retrieve the ChunkPosition class.
-
-
getChunkPositionClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Retrieve the ChunkPosition class.
-
-
getClientRegistry() - Static method in class com.comphenix.protocol.Packets
-
-
A registry that parses between names and packet IDs.
-
-
getCloners() - Method in class com.comphenix.protocol.reflect.cloning.AggregateCloner
-
-
Retrieves a view of the current list of cloners.
-
-
getColumnName() - Method in class com.comphenix.protocol.metrics.Metrics.Plotter
-
-
Get the column name for the plotted point
-
-
getCompiler() - Method in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
-
-
Retrieve the current structure compiler.
-
-
getCompound(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
-
Retrieve the compound (map) value of an entry identified by a given key.
-
-
getCompoundOrDefault(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
-
Retrieve a compound (map) value by its key, or create a new compound if it doesn't exist.
-
-
getConfigFile() - Method in class com.comphenix.protocol.metrics.Metrics
-
-
Gets the File object of the config file that should be used to store data such as the GUID and opt-out status
-
-
getConstructor(AbstractFuzzyMatcher<MethodInfo>) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
-
-
Retrieve the first constructor that matches.
-
-
getConstructorContracts() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract
-
-
Retrieve an immutable list of every constructor contract.
-
-
getConstructorList(AbstractFuzzyMatcher<MethodInfo>) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
-
-
Retrieve a list of every constructor that matches the given matcher.
-
-
getConstructors() - Method in class com.comphenix.protocol.reflect.FuzzyReflection
-
-
Retrieves all private and public constructors in declared order (after JDK 1.5).
-
-
getContainer() - Method in class com.comphenix.protocol.reflect.VolatileField
-
-
Retrieves the object the field is stored.
-
-
getConverter() - Static method in class com.comphenix.protocol.wrappers.ChunkPosition
-
-
Used to convert between NMS ChunkPosition and the wrapper instance.
-
-
getCraftBukkitClass(String) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Retrieve the class object of a specific CraftBukkit class.
-
-
getCraftBukkitPackage() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Retrieve the name of the root CraftBukkit package.
-
-
getCraftEntityClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Retrieve the CraftEntity class.
-
-
getCraftItemStackClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Retrieve the CraftItemStack class.
-
-
getCraftPlayerClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Retrieve the CraftPlayer class.
-
-
getDataTypeDelimiter() - Method in class com.comphenix.protocol.wrappers.nbt.io.NbtConfigurationSerializer
-
-
Retrieve the current data type delimiter.
-
-
getDataWatcherClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Retrieve the DataWatcher class.
-
-
getDataWatcherConverter() - Static method in class com.comphenix.protocol.wrappers.BukkitConverters
-
-
Retrieve a converter for the NMS DataWatcher class and our wrapper.
-
-
getDataWatcherModifier() - Method in class com.comphenix.protocol.events.PacketContainer
-
-
Retrieves a read/write structure for data watchers.
-
-
getDeclaredName(int) - Static method in class com.comphenix.protocol.Packets
-
-
Retrieves the name of a packet.
-
-
getDeclaredName(Integer) - Method in class com.comphenix.protocol.reflect.IntEnum
-
-
Retrieve the name of the member with the given id.
-
-
getDeclaringMatcher() - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
-
-
Retrieve a class matcher for the declaring class of the member.
-
-
getDecoratedList(Object) - Static method in class com.comphenix.protocol.wrappers.TroveWrapper
-
-
Retrieve a Java wrapper for the corresponding Trove list.
-
-
getDecoratedMap(Object) - Static method in class com.comphenix.protocol.wrappers.TroveWrapper
-
-
Retrieve a Java wrapper for the corresponding Trove map.
-
-
getDecoratedSet(Object) - Static method in class com.comphenix.protocol.wrappers.TroveWrapper
-
-
Retrieve a Java wrapper for the corresponding Trove set.
-
-
getDefault(Class<T>) - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
-
-
Retrieves a default instance or value that is assignable to this type.
-
-
getDefault(Class<T>, List<InstanceProvider>) - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
-
-
Retrieves a default instance or value that is assignable to this type.
-
-
getDefaultCloner() - Method in class com.comphenix.protocol.reflect.cloning.CollectionCloner
-
-
Retrieve the default cloner used to clone the content of each element in the collection.
-
-
getDefaultCloner() - Method in class com.comphenix.protocol.reflect.cloning.FieldCloner
-
-
Retrieve the default cloner used to clone the content of each field.
-
-
getDelegated() - Method in class com.comphenix.protocol.error.DelegatedErrorReporter
-
-
Retrieve the underlying error reporter.
-
-
getDevelopmentStage() - Method in class com.comphenix.protocol.utility.MinecraftVersion
-
-
Retrieve the development stage.
-
-
getDirtyState() - Method in class com.comphenix.protocol.wrappers.WrappedWatchableObject
-
-
Retrieve whether or not the value must be synchronized with the client.
-
-
getDisablePermGenFraction() - Method in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
-
-
Retrieve the fraction of perm gen space used after which the background compiler will be disabled.
-
-
getDouble(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
-
Retrieve the double value of an entry identified by a given key.
-
-
getDoubleOrDefault(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
-
Retrieve the double value of an existing entry, or from a new default entry if it doesn't exist.
-
-
getDoubles() - Method in class com.comphenix.protocol.events.PacketContainer
-
-
Retrieves a read/write structure for every double field.
-
-
getElementType() - Method in interface com.comphenix.protocol.wrappers.nbt.NbtList
-
-
Get the type of each element.
-
-
getEndPoint(TKey) - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree
-
-
Get the left-most end-point associated with this key.
-
-
getEntityClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Retrieve the entity (NMS) class.
-
-
getEntityConverter(World) - Static method in class com.comphenix.protocol.wrappers.BukkitConverters
-
-
Retrieve a converter for NMS entities and Bukkit entities.
-
-
getEntityFromID(World, int) - Method in interface com.comphenix.protocol.ProtocolManager
-
-
Retrieve the associated entity.
-
-
getEntityModifier(World) - Method in class com.comphenix.protocol.events.PacketContainer
-
-
Retrieves a read/write structure for entity objects.
-
-
getEntityPlayerClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Retrieve the EntityPlayer (NMS) class.
-
-
getEntityTrackerClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Retrieve the EntityTracker (NMS) class.
-
-
getEntityTrackers(Entity) - Method in interface com.comphenix.protocol.ProtocolManager
-
-
Retrieve every client that is receiving information about a given entity.
-
-
getEntityWatcher(Entity) - Static method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
-
-
Retrieve the data watcher associated with an entity.
-
-
getEntry(AbstractIntervalTree<TKey, TValue>.EndPoint, AbstractIntervalTree<TKey, TValue>.EndPoint) - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree
-
-
Retrieve the entry from a given set of end points.
-
-
getErrorCount() - Method in class com.comphenix.protocol.error.DetailedErrorReporter
-
-
Retrieve the current number of errors printed through DetailedErrorReporter.reportDetailed(Object, Report).
-
-
getErrorReporter() - Method in class com.comphenix.protocol.async.AsyncFilterManager
-
 
-
getErrorReporter() - Method in interface com.comphenix.protocol.AsynchronousManager
-
-
Retrieve the default error reporter.
-
-
getErrorReporter() - Static method in class com.comphenix.protocol.ProtocolLibrary
-
-
Retrieve the current error reporter.
-
-
getException() - Method in class com.comphenix.protocol.error.Report
-
-
Retrieve the associated exception, or NULL if not found.
-
-
getExceptionMatchers() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract
-
-
Retrieve an immutable list of every exception matcher for this method.
-
-
getExceptionTypes() - Method in class com.comphenix.protocol.reflect.MethodInfo
-
-
Returns an array of Class objects that represent the types of the exceptions declared to be thrown by the - underlying method or constructor represented by this MethodInfo object.
-
-
getField(Class, String) - Static method in class com.comphenix.protocol.reflect.FieldUtils
-
-
Gets an accessible Field by name respecting scope.
-
-
getField(Class, String, boolean) - Static method in class com.comphenix.protocol.reflect.FieldUtils
-
-
Gets an accessible Field by name breaking scope if - requested.
-
-
getField(AbstractFuzzyMatcher<Field>) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
-
-
Retrieve the first field that matches.
-
-
getField(int) - Method in class com.comphenix.protocol.reflect.StructureModifier
-
-
Retrieve a field by index.
-
-
getField() - Method in class com.comphenix.protocol.reflect.VolatileField
-
-
Retrieves the current field.
-
-
getFieldByName(String) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
-
-
Retrieves a field by name.
-
-
getFieldByType(String, Class<?>) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
-
-
Retrieves the first field with a type equal to or more specific to the given type.
-
-
getFieldByType(String) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
-
-
Retrieves a field by type.
-
-
getFieldByType(String, Set<Class>) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
-
-
Retrieves a field by type.
-
-
getFieldContracts() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract
-
-
Retrieve an immutable list of every field contract.
-
-
getFieldList(AbstractFuzzyMatcher<Field>) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
-
-
Retrieve a list of every field that matches the given matcher.
-
-
getFieldListByType(Class<?>) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
-
-
Retrieves every field with a type equal to or more specific to the given type.
-
-
getFields() - Method in class com.comphenix.protocol.reflect.FuzzyReflection
-
-
Retrieves all private and public fields in declared order (after JDK 1.5).
-
-
getFields() - Method in class com.comphenix.protocol.reflect.StructureModifier
-
-
Retrieves a list of the fields matching the constraints of this structure modifier.
-
-
getFieldType(int) - Method in class com.comphenix.protocol.reflect.StructureModifier
-
-
Retrieve the type of a specified field.
-
-
getFieldType() - Method in class com.comphenix.protocol.reflect.StructureModifier
-
-
Retrieves the common type of each field.
-
-
getFileSize() - Method in class com.comphenix.protocol.metrics.Updater
-
-
Get the total bytes of the file (can only be used after running a version check or a normal run).
-
-
getFloat() - Method in class com.comphenix.protocol.events.PacketContainer
-
-
Retrieves a read/write structure for every float field.
-
-
getFloat(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
-
Retrieve the float value of an entry identified by a given key.
-
-
getFloat(int) - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
-
-
Get a watched float.
-
-
getFloatOrDefault(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
-
Retrieve the float value of an existing entry, or from a new default entry if it doesn't exist.
-
-
getFriendlyWorkerName(int) - Method in class com.comphenix.protocol.async.AsyncListenerHandler
-
-
Create a friendly thread name using the following convention:
-
-
getGamePhase() - Method in class com.comphenix.protocol.events.ListeningWhitelist
-
-
Retrieve which game phase this listener is active under.
-
-
getGeneric(Class<?>, TType) - Method in interface com.comphenix.protocol.reflect.EquivalentConverter
-
-
Retrieve a copy of the generic type from a specific type.
-
-
getGlobalParameter(String) - Method in class com.comphenix.protocol.error.DetailedErrorReporter
-
-
Retrieve a global parameter by its key.
-
-
getHandle() - Method in class com.comphenix.protocol.events.PacketContainer
-
-
Retrieves the underlying Minecraft packet.
-
-
getHandle() - Method in interface com.comphenix.protocol.wrappers.nbt.NbtWrapper
-
-
Retrieve the underlying net.minecraft.server instance.
-
-
getHandle() - Method in class com.comphenix.protocol.wrappers.WrappedChunkCoordinate
-
 
-
getHandle() - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
-
-
Retrieves the underlying data watcher.
-
-
getHandle() - Method in class com.comphenix.protocol.wrappers.WrappedWatchableObject
-
-
Retrieves the underlying watchable object.
-
-
getID() - Method in interface com.comphenix.protocol.async.AsyncRunnable
-
-
Retrieve a unique worker ID.
-
-
getID() - Method in class com.comphenix.protocol.events.PacketContainer
-
-
Retrieves the ID of this packet.
-
-
getIgnoreNull(EquivalentConverter<TType>) - Static method in class com.comphenix.protocol.wrappers.BukkitConverters
-
-
Wraps a given equivalent converter in NULL checks, ensuring that such values are ignored.
-
-
getIndex() - Method in class com.comphenix.protocol.wrappers.WrappedWatchableObject
-
-
Retrieve the index of this watchable object.
-
-
getInitialTime() - Method in class com.comphenix.protocol.async.AsyncMarker
-
-
Retrieve the time the packet was initially queued for asynchronous processing.
-
-
getInstance() - Static method in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
-
-
Retrieves the current background compiler.
-
-
getInstanceProvider() - Method in class com.comphenix.protocol.reflect.cloning.AggregateCloner.BuilderParameters
-
-
Retrieve the instance provider last set in the builder.
-
-
getInstanceProvider() - Method in class com.comphenix.protocol.reflect.cloning.FieldCloner
-
-
Retrieve the instance provider this cloner is using to create new, empty classes.
-
-
getInteger(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
-
Retrieve the integer value of an entry identified by a given key.
-
-
getInteger(int) - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
-
-
Get a watched integer.
-
-
getIntegerArray(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
-
Retrieve the integer array value of an entry identified by a given key.
-
-
getIntegerArrays() - Method in class com.comphenix.protocol.events.PacketContainer
-
-
Retrieves a read/write structure for every int array field.
-
-
getIntegerOrDefault(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
-
Retrieve the integer value of an existing entry, or from a new default entry if it doesn't exist.
-
-
getIntegers() - Method in class com.comphenix.protocol.events.PacketContainer
-
-
Retrieves a read/write structure for every integer field.
-
-
getInterfaceContracts() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract
-
-
Retrieve an immutable list of every interface contract.
-
-
getItemArrayModifier() - Method in class com.comphenix.protocol.events.PacketContainer
-
-
Retrieves a read/write structure for arrays of ItemStacks.
-
-
getItemModifier() - Method in class com.comphenix.protocol.events.PacketContainer
-
-
Retrieves a read/write structure for ItemStack.
-
-
getItemStack(int) - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
-
-
Get a watched string.
-
-
getItemStackArrayClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Retrieve the ItemStack[] class.
-
-
getItemStackClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Retrieve the NMS ItemStack class.
-
-
getItemStackConverter() - Static method in class com.comphenix.protocol.wrappers.BukkitConverters
-
-
Retrieve the converter used to convert NMS ItemStacks to Bukkit's ItemStack.
-
-
getKey() - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree.Entry
-
 
-
getKeys() - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
-
Retrieve a Set view of the keys of each entry in this compound.
-
-
getKeyValueView() - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
-
-
Generate a view of this matcher as a key-value map.
-
-
getKeyValueView() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract
-
 
-
getKeyValueView() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract
-
 
-
getLatestVersionString() - Method in class com.comphenix.protocol.metrics.Updater
-
-
Get the version string latest file avaliable online.
-
-
getList(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
-
Retrieve the NBT list value of an entry identified by a given key.
-
-
getListConverter(Class<?>, EquivalentConverter<T>) - Static method in class com.comphenix.protocol.wrappers.BukkitConverters
-
 
-
getListener(int) - Method in class com.comphenix.protocol.concurrency.AbstractConcurrentListenerMultimap
-
-
Retrieve the registered listeners, in order from the lowest to the highest priority.
-
-
getListenerHandler() - Method in class com.comphenix.protocol.async.AsyncMarker
-
-
Retrieve the current asynchronous listener handler.
-
-
getListenerLoop() - Method in class com.comphenix.protocol.async.AsyncListenerHandler
-
-
Create a worker that will initiate the listener loop.
-
-
getListOrDefault(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
-
Retrieve a NBT list value by its key, or create a new list if it doesn't exist.
-
-
getLogger() - Method in class com.comphenix.protocol.error.DetailedErrorReporter
-
-
Retrieve the current logger that is used to print all reports.
-
-
getLong(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
-
Retrieve the long value of an entry identified by a given key.
-
-
getLongOrDefault(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
-
Retrieve the long value of an existing entry, or from a new default entry if it doesn't exist.
-
-
getLongs() - Method in class com.comphenix.protocol.events.PacketContainer
-
-
Retrieves a read/write structure for every long field.
-
-
getMajor() - Method in class com.comphenix.protocol.utility.MinecraftVersion
-
-
Major version number
-
-
getMappedMethods(List<Method>) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
-
-
Retrieve every method as a map over names.
-
-
getMatchingAccessibleMethod(Class, String, Class[]) - Static method in class com.comphenix.protocol.reflect.MethodUtils
-
-
Find an accessible method that matches the given name and has compatible parameters.
-
-
getMaxErrorCount() - Method in class com.comphenix.protocol.error.DetailedErrorReporter
-
-
Retrieve the maximum number of errors we can print before we begin suppressing errors.
-
-
getMaximumRecursion() - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
-
-
Retrieve the the maximum height of the hierachy of creates types.
-
-
getMessage(Object[]) - Method in class com.comphenix.protocol.error.ReportType
-
-
Convert the given report to a string, using the provided parameters.
-
-
getMessageParameters() - Method in class com.comphenix.protocol.error.Report
-
-
Retrieve the message parameters that will be used to construc the report message.
-
-
getMethod(AbstractFuzzyMatcher<MethodInfo>) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
-
-
Retrieve the first method that matches.
-
-
getMethodByName(String) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
-
-
Retrieves a method by looking at its name.
-
-
getMethodByParameters(String, Class<?>...) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
-
-
Retrieves a method by looking at the parameter types only.
-
-
getMethodByParameters(String, Class<?>, Class<?>[]) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
-
-
Retrieves a method by looking at the parameter types and return type only.
-
-
getMethodByParameters(String, String, String[]) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
-
-
Retrieves a method by looking at the parameter types and return type only.
-
-
getMethodContracts() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract
-
-
Retrieve an immutable list of every method contract.
-
-
getMethodList(AbstractFuzzyMatcher<MethodInfo>) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
-
-
Retrieve a list of every method that matches the given matcher.
-
-
getMethodListByParameters(Class<?>, Class<?>[]) - Method in class com.comphenix.protocol.reflect.FuzzyReflection
-
-
Retrieves every method that has the given parameter types and return type.
-
-
getMethods() - Method in class com.comphenix.protocol.reflect.FuzzyReflection
-
-
Retrieves all private and public methods in declared order (after JDK 1.5).
-
-
getMinecraftClass(String) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Retrieve the class object of a specific Minecraft class.
-
-
getMinecraftClass(String, String...) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Retrieve the first class that matches a specified Minecraft name.
-
-
getMinecraftItemStack(ItemStack) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Retrieve the net.minecraft.server ItemStack from a Bukkit ItemStack.
-
-
getMinecraftObjectMatcher() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Retrieve a abstract fuzzy class matcher for Minecraft objects.
-
-
getMinecraftObjectRegex() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Retrieve a regular expression that can match Minecraft package objects.
-
-
getMinecraftPackage() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Retrieve the name of the Minecraft server package.
-
-
getMinecraftServerClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Retrieve the MinecraftServer class.
-
-
getMinimumConstructor(Class<T>) - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
-
-
Retrieve the constructor with the fewest number of parameters.
-
-
getMinor() - Method in class com.comphenix.protocol.utility.MinecraftVersion
-
-
Minor version number
-
-
getModifier() - Method in class com.comphenix.protocol.events.PacketContainer
-
-
Retrieves the generic structure modifier for this packet.
-
-
getModifiersBanned() - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
-
-
Retrieve a bit field of every Modifier that must not be present for the member to match.
-
-
getModifiersRequired() - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
-
-
Retrieve a bit field of every Modifier that is required for the member to match.
-
-
getName() - Method in class com.comphenix.protocol.CommandFilter.Filter
-
-
Retrieve the unique name of the filter.
-
-
getName() - Method in class com.comphenix.protocol.metrics.Metrics.Graph
-
-
Gets the graph's name
-
-
getName() - Method in interface com.comphenix.protocol.wrappers.nbt.NbtBase
-
-
Retrieve the name of this NBT tag.
-
-
getName() - Method in class com.comphenix.protocol.wrappers.nbt.NbtCompoundTest.NbtCustomTag
-
 
-
getNameRegex() - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
-
-
Retrieve the regular expression pattern that is used to match the name of a member.
-
-
getNBTBaseClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Retrieve the NBT base class.
-
-
getNbtConverter() - Static method in class com.comphenix.protocol.wrappers.BukkitConverters
-
-
Retrieve an equivalent converter for net.minecraft.server NBT classes and their wrappers.
-
-
getNbtModifier() - Method in class com.comphenix.protocol.events.PacketContainer
-
-
Retrieves a read/write structure for NBT classes.
-
-
getNetHandlerClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Retrieve the NetHandler class (or Connection)
-
-
getNetLoginHandlerClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Retrieve the NetLoginHandler class (or PendingConnection)
-
-
getNetLoginHandlerName() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Dynamically retrieve the name of the current NetLoginHandler.
-
-
getNetServerHandlerClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Retrieve the NetServerHandler class (or PlayerConnection)
-
-
getNetworkListenThreadClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Retrieve the NetworkListenThread class (NMS).
-
-
getNetworkManagerClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Retrieve the NetworkManager class or its interface.
-
-
getNetworkManagerName() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Dynamically retrieve the NetworkManager name.
-
-
getNewSendingIndex() - Method in class com.comphenix.protocol.async.AsyncMarker
-
-
Retrieve the desired sending order after processing has completed.
-
-
getNextEndPoint(TKey, boolean) - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree
-
-
Get the next end point of a given key.
-
-
getObject(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
-
Retrieve the primitive object, NbtList or NbtCompound associated with the given key.
-
-
getObject(int) - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
-
-
Retrieve a watchable object by index.
-
-
getOldValue() - Method in class com.comphenix.protocol.reflect.VolatileField
-
-
Retrieves the field value before the previous setValue(), unless saveValue() has been called.
-
-
getOriginalSendingIndex() - Method in class com.comphenix.protocol.async.AsyncMarker
-
-
Retrieve the order the packet was originally transmitted.
-
-
getPacket() - Method in class com.comphenix.protocol.events.PacketEvent
-
-
Retrieves the packet that will be sent to the player.
-
-
getPacketClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Retrieve the packet class.
-
-
getPacketID() - Method in class com.comphenix.protocol.events.PacketEvent
-
-
Retrieves the packet ID.
-
-
getPacketListeners() - Method in interface com.comphenix.protocol.ProtocolManager
-
-
Retrieves a list of every registered packet listener.
-
-
getPacketStream() - Method in class com.comphenix.protocol.async.AsyncFilterManager
-
 
-
getPacketStream() - Method in class com.comphenix.protocol.async.AsyncMarker
-
-
Retrieve the packet stream responsible for transmitting this packet.
-
-
getPacketStream() - Method in interface com.comphenix.protocol.AsynchronousManager
-
-
Retrieve the default packet stream.
-
-
getParamCount() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract
-
-
Retrieve the expected parameter count for this method.
-
-
getParameterTypes() - Method in class com.comphenix.protocol.reflect.MethodInfo
-
-
Returns an array of Class objects that represent the formal parameter types, in declaration order, - of the method or constructor represented by this MethodInfo object.
-
-
getParamMatchers() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract
-
-
Retrieve an immutable list of every parameter matcher for this method.
-
-
getPlayer() - Method in class com.comphenix.protocol.events.PacketEvent
-
-
Retrieves the player that has sent the packet or is recieving it.
-
-
getPlayerListClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Retrieve the player list class (or ServerConfigurationManager),
-
-
getPlotters() - Method in class com.comphenix.protocol.metrics.Metrics.Graph
-
-
Gets an unmodifiable set of the plotter objects in the graph
-
-
getPlugin() - Method in class com.comphenix.protocol.async.AsyncListenerHandler
-
-
Retrieve the plugin associated with this async listener.
-
-
getPlugin() - Method in class com.comphenix.protocol.events.MonitorAdapter
-
 
-
getPlugin() - Method in class com.comphenix.protocol.events.PacketAdapter
-
 
-
getPlugin() - Method in interface com.comphenix.protocol.events.PacketListener
-
-
Retrieve the plugin that created list packet listener.
-
-
getPluginName(PacketListener) - Static method in class com.comphenix.protocol.events.PacketAdapter
-
-
Retrieves the name of the plugin that has been associated with the listener.
-
-
getPluginName(Plugin) - Static method in class com.comphenix.protocol.events.PacketAdapter
-
-
Retrieves the name of the given plugin.
-
-
getPositionCollectionModifier() - Method in class com.comphenix.protocol.events.PacketContainer
-
-
Retrieves a read/write structure for collections of chunk positions.
-
-
getPositionModifier() - Method in class com.comphenix.protocol.events.PacketContainer
-
-
Retrieves a read/write structure for chunk positions.
-
-
getPredicate() - Method in class com.comphenix.protocol.CommandFilter.Filter
-
-
Retrieve the JavaScript predicate that will be used to filter packet events.
-
-
getPrefix() - Method in class com.comphenix.protocol.error.DetailedErrorReporter
-
-
Retrieve the prefix to apply to every line in the error reports.
-
-
getPreviousEndPoint(TKey, boolean) - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree
-
-
Get the previous end point of a given key.
-
-
getPrimitiveType(Class) - Static method in class com.comphenix.protocol.reflect.MethodUtils
-
-
Gets the class for the primitive type corresponding to the primitive wrapper class given.
-
-
getPrimitiveWrapper(Class) - Static method in class com.comphenix.protocol.reflect.MethodUtils
-
-
Gets the wrapper object class for the given primitive type class.
-
-
getPriority() - Method in class com.comphenix.protocol.events.ListeningWhitelist
-
-
Retrieve the priority in the execution order of the packet listener.
-
-
getProcessingDelay() - Method in class com.comphenix.protocol.async.AsyncMarker
-
-
Retrieve the number of times a packet must be signalled to be done before it's sent.
-
-
getProcessingLock() - Method in class com.comphenix.protocol.async.AsyncMarker
-
-
Processing lock used to synchronize access to the parent PacketEvent and PacketContainer.
-
-
getProcessingQueue(PacketEvent) - Method in class com.comphenix.protocol.async.AsyncFilterManager
-
-
Retrieve the processing queue this packet belongs to.
-
-
getProtocolManager() - Static method in class com.comphenix.protocol.ProtocolLibrary
-
-
Retrieves the packet protocol manager.
-
-
getQueuedSendingIndex() - Method in class com.comphenix.protocol.async.AsyncMarker
-
-
Retrieve the sending index when the packet was queued.
-
-
getRanges() - Method in class com.comphenix.protocol.CommandFilter.Filter
-
-
Retrieve a copy of the set of packets this filter applies to.
-
-
getRawID() - Method in enum com.comphenix.protocol.wrappers.nbt.NbtType
-
-
Retrieves the raw unique integer that identifies the type of the parent NBT element.
-
-
getReadWriteLock() - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
-
-
Retrieve the current read write lock.
-
-
getReceivingFilters() - Method in class com.comphenix.protocol.async.AsyncFilterManager
-
 
-
getReceivingFilters() - Method in interface com.comphenix.protocol.AsynchronousManager
-
-
Retrieves a immutable set containing the ID of the recieved client packets that will be - observed by the asynchronous listeners.
-
-
getReceivingFilters() - Method in interface com.comphenix.protocol.ProtocolManager
-
-
Retrieves a immutable set containing the ID of the recieved client packets that will be observed by listeners.
-
-
getReceivingWhitelist() - Method in class com.comphenix.protocol.events.MonitorAdapter
-
 
-
getReceivingWhitelist() - Method in class com.comphenix.protocol.events.PacketAdapter
-
 
-
getReceivingWhitelist() - Method in interface com.comphenix.protocol.events.PacketListener
-
-
Retrieve which packets sent by the client this listener will observe.
-
-
getRegistered() - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
-
-
Retrieves a immutable list of every default object providers that generates instances.
-
-
getRegistry() - Static method in class com.comphenix.protocol.Packets.Client
-
-
A registry that parses between names and packet IDs.
-
-
getRegistry() - Static method in class com.comphenix.protocol.Packets.Server
-
-
A registry that parses between names and packet IDs.
-
-
getReportMessage() - Method in class com.comphenix.protocol.error.Report
-
-
Format the current report type with the provided message parameters.
-
-
getReports(Class<?>) - Static method in class com.comphenix.protocol.error.ReportType
-
-
Retrieve all publicly associated reports.
-
-
getResult() - Method in class com.comphenix.protocol.metrics.Updater
-
-
Get the result of the update process.
-
-
getResult(int) - Static method in enum com.comphenix.protocol.metrics.Updater.UpdateResult
-
 
-
getResult(int) - Static method in enum com.comphenix.protocol.metrics.Updater.UpdateType
-
 
-
getReturnMatcher() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract
-
-
Retrieve the class matcher for the return type.
-
-
getReturnType() - Method in class com.comphenix.protocol.reflect.MethodInfo
-
-
Returns a Class object that represents the formal return type of the method or constructor - represented by this MethodInfo object.
-
-
getRoundNumber() - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher
-
-
Retrieve the cached round number.
-
-
getScheduler() - Method in class com.comphenix.protocol.async.AsyncFilterManager
-
-
Retrieve the current task scheduler.
-
-
getSendingFilters() - Method in class com.comphenix.protocol.async.AsyncFilterManager
-
 
-
getSendingFilters() - Method in interface com.comphenix.protocol.AsynchronousManager
-
-
Retrieves a immutable set containing the ID of the sent server packets that will be - observed by the asynchronous listeners.
-
-
getSendingFilters() - Method in interface com.comphenix.protocol.ProtocolManager
-
-
Retrieves a immutable set containing the ID of the sent server packets that will be observed by listeners.
-
-
getSendingQueue(PacketEvent) - Method in class com.comphenix.protocol.async.AsyncFilterManager
-
-
Retrieve the sending queue this packet belongs to.
-
-
getSendingQueue(PacketEvent, boolean) - Method in class com.comphenix.protocol.async.AsyncFilterManager
-
-
Retrieve the sending queue this packet belongs to.
-
-
getSendingWhitelist() - Method in class com.comphenix.protocol.events.MonitorAdapter
-
 
-
getSendingWhitelist() - Method in class com.comphenix.protocol.events.PacketAdapter
-
 
-
getSendingWhitelist() - Method in interface com.comphenix.protocol.events.PacketListener
-
-
Retrieve which packets sent by the server this listener will observe.
-
-
getSendPacketMethod() - Static method in class com.comphenix.protocol.utility.MinecraftMethods
-
-
Retrieve the send packet method in PlayerConnection/NetServerHandler.
-
-
getServerConnectionClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Retrieve the ServerConnection abstract class.
-
-
getServerRegistry() - Static method in class com.comphenix.protocol.Packets
-
-
A registry that parses between names and packet IDs.
-
-
getShort(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
-
Retrieve the short value of an entry identified by a given key.
-
-
getShort(int) - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
-
-
Get a watched short.
-
-
getShortOrDefault(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
-
Retrieve the short value of an existing entry, or from a new default entry if it doesn't exist.
-
-
getShorts() - Method in class com.comphenix.protocol.events.PacketContainer
-
-
Retrieves a read/write structure for every short field.
-
-
getSlot() - Method in enum com.comphenix.protocol.events.ListenerPriority
-
-
A low slot represents a low priority.
-
-
getSource() - Method in class com.comphenix.protocol.reflect.FuzzyReflection
-
-
Retrieves the underlying class.
-
-
getSpecific(Object) - Method in interface com.comphenix.protocol.reflect.EquivalentConverter
-
-
Retrieve a copy of the specific type using an instance of the generic type.
-
-
getSpecificModifier(Class<T>) - Method in class com.comphenix.protocol.events.PacketContainer
-
-
Retrieves a read/write structure for every field with the given type.
-
-
getSpecificType() - Method in interface com.comphenix.protocol.reflect.EquivalentConverter
-
-
Due to type erasion, we need to explicitly keep a reference to the specific type.
-
-
getStatistics() - Method in class com.comphenix.protocol.ProtocolLibrary
-
-
Retrieve the metrics instance used to measure users of this library.
-
-
getString(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
-
Retrieve the string value of an entry identified by a given key.
-
-
getString(int) - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
-
-
Get a watched string.
-
-
getStringArrays() - Method in class com.comphenix.protocol.events.PacketContainer
-
-
Retrieves a read/write structure for every String array field.
-
-
getStringDefault() - Method in class com.comphenix.protocol.reflect.instances.PrimitiveGenerator
-
-
Retrieve the string default.
-
-
getStringDescription(Object) - Method in class com.comphenix.protocol.error.DetailedErrorReporter
-
-
Retrieve a string representation of the given object.
-
-
getStringOrDefault(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
-
Retrieve the string value of an existing entry, or from a new default entry if it doesn't exist.
-
-
getStrings() - Method in class com.comphenix.protocol.events.PacketContainer
-
-
Retrieves a read/write structure for every String field.
-
-
getSupported() - Static method in class com.comphenix.protocol.Packets.Client
-
-
Retrieve every client packet the current version of Minecraft is aware of.
-
-
getSupported() - Static method in class com.comphenix.protocol.Packets.Server
-
-
Retrieve every client packet the current version of Minecraft is aware of.
-
-
getSupportURL() - Method in class com.comphenix.protocol.error.DetailedErrorReporter
-
-
Retrieve the support URL that will be added to all detailed reports.
-
-
getTarget() - Method in class com.comphenix.protocol.reflect.StructureModifier
-
-
Retrieves the object we're currently modifying.
-
-
getTargetType() - Method in class com.comphenix.protocol.reflect.StructureModifier
-
-
Retrieves the type of the object we're modifying.
-
-
getTimeout() - Method in class com.comphenix.protocol.async.AsyncMarker
-
-
Retrieve the time the packet will be forcefully rejected.
-
-
getTimeoutHandlers() - Method in class com.comphenix.protocol.async.AsyncFilterManager
-
 
-
getTimeoutHandlers() - Method in interface com.comphenix.protocol.AsynchronousManager
-
-
Get a immutable list of every registered timeout handler.
-
-
getType() - Method in class com.comphenix.protocol.error.Report
-
-
Retrieve the report type.
-
-
getType() - Method in interface com.comphenix.protocol.wrappers.nbt.NbtBase
-
-
Retrieve the type of this NBT element.
-
-
getType() - Method in class com.comphenix.protocol.wrappers.nbt.NbtCompoundTest.NbtCustomTag
-
 
-
getType() - Method in class com.comphenix.protocol.wrappers.WrappedWatchableObject
-
-
Retrieve the correct super type of the current value.
-
-
getTypeClass(int) - Static method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
-
-
Retrieve the type of a given ID, if it's allowed to be watched.
-
-
getTypeFromClass(Class<?>) - Static method in enum com.comphenix.protocol.wrappers.nbt.NbtType
-
-
Retrieve an NBT type from the given Java class.
-
-
getTypeFromID(int) - Static method in enum com.comphenix.protocol.wrappers.nbt.NbtType
-
-
Retrieve an NBT type from a given raw ID.
-
-
getTypeID(Class<?>) - Static method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
-
-
Retrieve the ID of a given type, if it's allowed to be watched.
-
-
getTypeID() - Method in class com.comphenix.protocol.wrappers.WrappedWatchableObject
-
-
Retrieve the type ID of a watchable object.
-
-
getTypeMatcher() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract
-
-
Retrieve the class matcher that matches the type of a field.
-
-
getValue() - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree.Entry
-
 
-
getValue() - Method in class com.comphenix.protocol.metrics.Metrics.Plotter
-
-
Get the current value for the plotted point.
-
-
getValue() - Method in enum com.comphenix.protocol.metrics.Updater.UpdateResult
-
 
-
getValue() - Method in enum com.comphenix.protocol.metrics.Updater.UpdateType
-
 
-
getValue() - Method in class com.comphenix.protocol.reflect.VolatileField
-
-
Retrieves the current field value.
-
-
getValue() - Method in interface com.comphenix.protocol.wrappers.nbt.NbtBase
-
-
Retrieve the value of this NBT tag.
-
-
getValue() - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
-
Deprecated.
-
-
getValue(String) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
-
Retrieve the value of a given entry.
-
-
getValue() - Method in class com.comphenix.protocol.wrappers.nbt.NbtCompoundTest.NbtCustomTag
-
 
-
getValue(int) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtList
-
-
Retrieve an element by index.
-
-
getValue() - Method in class com.comphenix.protocol.wrappers.WrappedWatchableObject
-
-
Read the value field.
-
-
getValueOrDefault(String, NbtType) - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
-
Retrieve a value by its key, or assign and return a new NBT element if it doesn't exist.
-
-
getValues() - Method in class com.comphenix.protocol.reflect.StructureModifier
-
-
Retrieve every value stored in the fields of the current type.
-
-
getValueType() - Method in enum com.comphenix.protocol.wrappers.nbt.NbtType
-
-
Retrieves the type of the value stored in the NBT element.
-
-
getVersion() - Method in class com.comphenix.protocol.utility.MinecraftVersion
-
-
Retrieve the version String (major.minor.build) only.
-
-
getWatchableCollectionModifier() - Method in class com.comphenix.protocol.events.PacketContainer
-
-
Retrieves a read/write structure for collections of watchable objects.
-
-
getWatchableObjectClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Retrieve the WatchableObject class.
-
-
getWatchableObjectConverter() - Static method in class com.comphenix.protocol.wrappers.BukkitConverters
-
-
Retrieve a converter for watchable objects and the respective wrapper.
-
-
getWatchableObjectMap() - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
-
-
Retrieve the underlying map of key values that stores watchable objects.
-
-
getWatchableObjects() - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
-
-
Retrieve every watchable object in this watcher.
-
-
getWhitelist() - Method in class com.comphenix.protocol.events.ListeningWhitelist
-
-
Retrieves the list of packets that will be observed by the listeners.
-
-
getWorkerID() - Method in class com.comphenix.protocol.async.AsyncMarker
-
-
Retrieve the current worker ID.
-
-
getWorkers() - Method in class com.comphenix.protocol.async.AsyncListenerHandler
-
-
Retrieve the current number of registered workers.
-
-
getWorldServerClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Retrieve the WorldServer (NMS) class.
-
-
getWorldTypeClass() - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Retrieve the WorldType class.
-
-
getWorldTypeConverter() - Static method in class com.comphenix.protocol.wrappers.BukkitConverters
-
-
Retrieve a converter for Bukkit's world type enum and the NMS equivalent.
-
-
getWorldTypeModifier() - Method in class com.comphenix.protocol.events.PacketContainer
-
-
Retrieves a read/write structure for the world type enum.
-
-
getWrapped() - Method in class com.comphenix.protocol.reflect.cloning.NullableCloner
-
 
-
getX() - Method in class com.comphenix.protocol.wrappers.ChunkPosition
-
-
Retrieve the x-coordinate.
-
-
getX() - Method in class com.comphenix.protocol.wrappers.WrappedChunkCoordinate
-
-
Retrieve the x coordinate of the underlying coordinate.
-
-
getY() - Method in class com.comphenix.protocol.wrappers.ChunkPosition
-
-
Retrieve the y-coordinate.
-
-
getY() - Method in class com.comphenix.protocol.wrappers.WrappedChunkCoordinate
-
-
Retrieve the y coordinate of the underlying coordinate.
-
-
getZ() - Method in class com.comphenix.protocol.wrappers.ChunkPosition
-
-
Retrieve the z-coordinate.
-
-
getZ() - Method in class com.comphenix.protocol.wrappers.WrappedChunkCoordinate
-
-
Retrieve the z coordinate of the underlying coordinate.
-
-
globalParameters - Variable in class com.comphenix.protocol.error.DetailedErrorReporter
-
 
-
globalParameters() - Method in class com.comphenix.protocol.error.DetailedErrorReporter
-
-
Retrieve a set of every registered global parameter.
-
-
-A B C D E F G H I K L M N O P R S T U V W X Y Z 
- -
- - - - - -
- - - - diff --git a/Javadoc/index-files/index-8.html b/Javadoc/index-files/index-8.html deleted file mode 100644 index f9db207a..00000000 --- a/Javadoc/index-files/index-8.html +++ /dev/null @@ -1,186 +0,0 @@ - - - - - -H-Index - - - - - - - -
- - - - - -
- - -
A B C D E F G H I K L M N O P R S T U V W X Y Z  - - -

H

-
-
handle(PacketEvent, CommandFilter.Filter, Exception) - Method in interface com.comphenix.protocol.CommandFilter.FilterFailedHandler
-
-
Invoked when a given filter has failed.
-
-
handle - Variable in class com.comphenix.protocol.events.PacketContainer
-
 
-
handle - Variable in class com.comphenix.protocol.wrappers.WrappedChunkCoordinate
-
 
-
handle - Variable in class com.comphenix.protocol.wrappers.WrappedDataWatcher
-
 
-
handle - Variable in class com.comphenix.protocol.wrappers.WrappedWatchableObject
-
 
-
handleCommand(CommandSender, String[]) - Method in class com.comphenix.protocol.CommandFilter
-
 
-
HANDSHAKE - Static variable in class com.comphenix.protocol.Packets.Client
-
 
-
hasAsynchronousListeners(PacketEvent) - Method in class com.comphenix.protocol.async.AsyncFilterManager
-
 
-
hasAsynchronousListeners(PacketEvent) - Method in interface com.comphenix.protocol.AsynchronousManager
-
-
Determine if a given synchronous packet has asynchronous listeners.
-
-
hasCallerParameters() - Method in class com.comphenix.protocol.error.Report
-
-
Determine if we have any caller parameters.
-
-
hasExpired() - Method in class com.comphenix.protocol.async.AsyncMarker
-
-
Determine if this packet has expired.
-
-
hasExpired(long) - Method in class com.comphenix.protocol.async.AsyncMarker
-
-
Determine if this packet has expired given this time.
-
-
hashCode() - Method in class com.comphenix.protocol.async.AsyncMarker
-
 
-
hashCode() - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree.Entry
-
 
-
hashCode() - Method in class com.comphenix.protocol.events.ListeningWhitelist
-
 
-
hashCode() - Method in class com.comphenix.protocol.metrics.Metrics.Graph
-
 
-
hashCode() - Method in class com.comphenix.protocol.metrics.Metrics.Plotter
-
 
-
hashCode() - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
-
 
-
hashCode() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract
-
 
-
hashCode() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract
-
 
-
hashCode() - Method in class com.comphenix.protocol.utility.MinecraftVersion
-
 
-
hashCode() - Method in class com.comphenix.protocol.wrappers.ChunkPosition
-
 
-
hashCode() - Method in class com.comphenix.protocol.wrappers.WrappedChunkCoordinate
-
 
-
hashCode() - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
-
 
-
hashCode() - Method in class com.comphenix.protocol.wrappers.WrappedWatchableObject
-
 
-
hasMember(int) - Method in class com.comphenix.protocol.reflect.IntEnum
-
-
Determines whether or not the given member exists.
-
-
hasMessageParameters() - Method in class com.comphenix.protocol.error.Report
-
-
Determine if we have any message parameters.
-
-
-A B C D E F G H I K L M N O P R S T U V W X Y Z 
- -
- - - - - -
- - - - diff --git a/Javadoc/index-files/index-9.html b/Javadoc/index-files/index-9.html deleted file mode 100644 index 8f61247f..00000000 --- a/Javadoc/index-files/index-9.html +++ /dev/null @@ -1,494 +0,0 @@ - - - - - -I-Index - - - - - - - -
- - - - - -
- - -
A B C D E F G H I K L M N O P R S T U V W X Y Z  - - -

I

-
-
id - Variable in class com.comphenix.protocol.events.PacketContainer
-
 
-
ImmutableDetector - Class in com.comphenix.protocol.reflect.cloning
-
-
Detects classes that are immutable, and thus doesn't require cloning.
-
-
ImmutableDetector() - Constructor for class com.comphenix.protocol.reflect.cloning.ImmutableDetector
-
 
-
incrementKey(TKey) - Method in class com.comphenix.protocol.concurrency.AbstractIntervalTree
-
-
Increment the given key by one unit.
-
-
incrementProcessingDelay() - Method in class com.comphenix.protocol.async.AsyncMarker
-
-
Increment the number of times the current packet must be signalled as done before its transmitted.
-
-
indexSet() - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
-
-
Retrieve a copy of every index associated with a watched object.
-
-
initialize(StructureModifier<TField>) - Method in class com.comphenix.protocol.reflect.StructureModifier
-
-
Initialize using the same field types.
-
-
initialize(Class, Class, List<Field>, Map<Field, Integer>, EquivalentConverter<TField>, Map<Class, StructureModifier>) - Method in class com.comphenix.protocol.reflect.StructureModifier
-
-
Initialize every field of this class.
-
-
initialize(Class, Class, List<Field>, Map<Field, Integer>, EquivalentConverter<TField>, Map<Class, StructureModifier>, boolean) - Method in class com.comphenix.protocol.reflect.StructureModifier
-
-
Initialize every field of this class.
-
-
initializeBukkit() - Static method in class com.comphenix.protocol.events.PacketContainerTest
-
 
-
initializeBukkit() - Static method in class com.comphenix.protocol.wrappers.nbt.io.NbtConfigurationSerializerTest
-
 
-
initializeBukkit() - Static method in class com.comphenix.protocol.wrappers.nbt.NbtCompoundTest
-
 
-
initializeBukkit() - Static method in class com.comphenix.protocol.wrappers.nbt.NbtFactoryTest
-
 
-
initializeItemMeta() - Static method in class com.comphenix.protocol.BukkitInitialization
-
-
Initialize Bukkit and ProtocolLib such that we can perfrom unit testing.
-
-
initializePackage() - Static method in class com.comphenix.protocol.BukkitInitialization
-
-
Ensure that package names are correctly set up.
-
-
initialMember() - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember.Builder
-
-
Construct a new instance of the current type.
-
-
initialMember() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract.Builder
-
 
-
initialMember() - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract.Builder
-
 
-
INSTANCE - Static variable in class com.comphenix.protocol.reflect.instances.CollectionGenerator
-
-
Shared instance of this generator.
-
-
INSTANCE - Static variable in class com.comphenix.protocol.reflect.instances.PrimitiveGenerator
-
-
Shared instance of this generator.
-
-
instanceProvider(InstanceProvider) - Method in class com.comphenix.protocol.reflect.cloning.AggregateCloner.Builder
-
-
Set the instance provider supplied to all cloners in this builder.
-
-
instanceProvider - Variable in class com.comphenix.protocol.reflect.cloning.FieldCloner
-
 
-
InstanceProvider - Interface in com.comphenix.protocol.reflect.instances
-
-
Represents a type generator for specific types.
-
-
IntegerSet - Class in com.comphenix.protocol.concurrency
-
-
Represents a very quick integer set that uses a lookup table to store membership.
-
-
IntegerSet(int) - Constructor for class com.comphenix.protocol.concurrency.IntegerSet
-
-
Initialize a lookup table with the given maximum number of elements.
-
-
IntEnum - Class in com.comphenix.protocol.reflect
-
-
Represents a traditional int field enum.
-
-
IntEnum() - Constructor for class com.comphenix.protocol.reflect.IntEnum
-
-
Registers every declared integer field.
-
-
interfaces(AbstractFuzzyMatcher<Class<?>>) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract.Builder
-
-
Add a new interface contract.
-
-
interfaces(FuzzyClassContract.Builder) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract.Builder
-
-
Add a new interface contract.
-
-
internalErrorCount - Variable in class com.comphenix.protocol.error.DetailedErrorReporter
-
 
-
inverted() - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher
-
-
Create a fuzzy matcher that returns the opposite result of the current matcher.
-
-
invokeExactMethod(Object, String, Object) - Static method in class com.comphenix.protocol.reflect.MethodUtils
-
-
Invoke a method whose parameter type matches exactly the object - type.
-
-
invokeExactMethod(Object, String, Object[]) - Static method in class com.comphenix.protocol.reflect.MethodUtils
-
-
Invoke a method whose parameter types match exactly the object - types.
-
-
invokeExactMethod(Object, String, Object[], Class[]) - Static method in class com.comphenix.protocol.reflect.MethodUtils
-
-
Invoke a method whose parameter types match exactly the parameter - types given.
-
-
invokeExactStaticMethod(Class, String, Object[], Class[]) - Static method in class com.comphenix.protocol.reflect.MethodUtils
-
-
Invoke a static method whose parameter types match exactly the parameter - types given.
-
-
invokeExactStaticMethod(Class, String, Object) - Static method in class com.comphenix.protocol.reflect.MethodUtils
-
-
Invoke a static method whose parameter type matches exactly the object - type.
-
-
invokeExactStaticMethod(Class, String, Object[]) - Static method in class com.comphenix.protocol.reflect.MethodUtils
-
-
Invoke a static method whose parameter types match exactly the object - types.
-
-
invokeMethod(Object, String, Object) - Static method in class com.comphenix.protocol.reflect.MethodUtils
-
-
Invoke a named method whose parameter type matches the object type.
-
-
invokeMethod(Object, String, Object[]) - Static method in class com.comphenix.protocol.reflect.MethodUtils
-
-
Invoke a named method whose parameter type matches the object type.
-
-
invokeMethod(Object, String, Object[], Class[]) - Static method in class com.comphenix.protocol.reflect.MethodUtils
-
-
Invoke a named method whose parameter type matches the object type.
-
-
invokeStaticMethod(Class, String, Object) - Static method in class com.comphenix.protocol.reflect.MethodUtils
-
-
Invoke a named static method whose parameter type matches the object type.
-
-
invokeStaticMethod(Class, String, Object[]) - Static method in class com.comphenix.protocol.reflect.MethodUtils
-
-
Invoke a named static method whose parameter type matches the object type.
-
-
invokeStaticMethod(Class, String, Object[], Class[]) - Static method in class com.comphenix.protocol.reflect.MethodUtils
-
-
Invoke a named static method whose parameter type matches the object type.
-
-
isAssignmentCompatible(Class, Class) - Static method in class com.comphenix.protocol.reflect.MethodUtils
-
-
Determine whether a type can be used as a parameter in a method invocation.
-
-
isAsyncCancelled() - Method in class com.comphenix.protocol.async.AsyncMarker
-
-
Determine if the asynchronous handling should be cancelled.
-
-
isAsynchronous() - Method in class com.comphenix.protocol.events.PacketEvent
-
-
Determine if the packet event has been executed asynchronously or not.
-
-
isCancelled() - Method in class com.comphenix.protocol.async.AsyncListenerHandler
-
-
Determine whether or not this asynchronous handler has been cancelled.
-
-
isCancelled() - Method in class com.comphenix.protocol.events.PacketEvent
-
-
Retrieves whether or not the packet should be cancelled.
-
-
isChunkCoordinates(Object) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Determine if a given object is a ChunkCoordinate.
-
-
isChunkPosition(Object) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Determine if a given object is a ChunkPosition.
-
-
isClosed() - Method in interface com.comphenix.protocol.ProtocolManager
-
-
Determines whether or not this protocol mananger has been disabled.
-
-
isComposite() - Method in enum com.comphenix.protocol.wrappers.nbt.NbtType
-
-
Determine if the given NBT can store multiple children NBT tags.
-
-
isConstructor() - Method in class com.comphenix.protocol.reflect.MethodInfo
-
-
Determine if this is a constructor or not.
-
-
isCraftItemStack(Object) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Determine if the given object is a CraftItemStack instancey.
-
-
isCraftPlayer(Object) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Determine if the given object is a CraftPlayer class.
-
-
isCurrentSet() - Method in class com.comphenix.protocol.reflect.VolatileField
-
-
Determine whether or not we'll need to revert the value.
-
-
isDataWatcher(Object) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Determine if the given object is a data watcher object.
-
-
isEmpty() - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
-
 
-
isEmpty(ListeningWhitelist) - Static method in class com.comphenix.protocol.events.ListeningWhitelist
-
-
Determine if the given whitelist is empty or not.
-
-
isEnabled() - Method in class com.comphenix.protocol.events.ListeningWhitelist
-
-
Whether or not this whitelist has any enabled packets.
-
-
isEnabled() - Method in class com.comphenix.protocol.reflect.compiler.BackgroundCompiler
-
-
Retrieve whether or not the background compiler is enabled.
-
-
isFinished() - Method in interface com.comphenix.protocol.async.AsyncRunnable
-
-
Determine if this runnable has already run its course.
-
-
isForceAccess() - Method in class com.comphenix.protocol.reflect.FuzzyReflection
-
-
Retrieves whether or not not to override any scope restrictions.
-
-
isForceAccess() - Method in class com.comphenix.protocol.reflect.VolatileField
-
-
Retrieves whether or not not to override any scope restrictions.
-
-
isForClient() - Method in enum com.comphenix.protocol.events.ConnectionSide
-
 
-
isForServer() - Method in enum com.comphenix.protocol.events.ConnectionSide
-
 
-
isImmutable(Class<?>) - Static method in class com.comphenix.protocol.reflect.cloning.ImmutableDetector
-
-
Determine if the given type is probably immutable.
-
-
isInitialized() - Method in class com.comphenix.protocol.CommandFilter
-
-
Determine if the filter engine has been successfully initialized.
-
-
isItemStack(Object) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Determine if the given object is a NMS ItemStack.
-
-
isLoginHandler(Object) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Determine if the given object is a NetLoginHandler (PendingConnection)
-
-
isMatch(T, Object) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMatcher
-
-
Determine if the given value is a match.
-
-
isMatch(T, Object) - Method in class com.comphenix.protocol.reflect.fuzzy.AbstractFuzzyMember
-
 
-
isMatch(Class<?>, Object) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyClassContract
-
 
-
isMatch(Field, Object) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyFieldContract
-
 
-
isMatch(MethodInfo, Object) - Method in class com.comphenix.protocol.reflect.fuzzy.FuzzyMethodContract
-
 
-
isMinecraftAsync(PacketEvent) - Method in class com.comphenix.protocol.async.AsyncMarker
-
-
Determine if Minecraft allows asynchronous processing of this packet.
-
-
isMinecraftClass(Class<?>) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Determine if the given class is found within the package net.minecraft.server, or any equivalent package.
-
-
isMinecraftEntity(Object) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Determine if the given object is actually a Minecraft packet.
-
-
isMinecraftObject(Object) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Determine if a given object can be found within the package net.minecraft.server.
-
-
isMinecraftObject(Object, String) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Determine if a given object is found in net.minecraft.server, and has the given name.
-
-
isMinecraftPlayer(Object) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Determine if the given object is a Minecraft player entity.
-
-
isNonNull() - Method in class com.comphenix.protocol.reflect.instances.DefaultInstances
-
-
Retrieve whether or not the constructor's parameters must be non-null.
-
-
isOptOut() - Method in class com.comphenix.protocol.metrics.Metrics
-
-
Has the server owner denied plugin metrics?
-
-
isPacketClass(Object) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Determine if the given object is actually a Minecraft packet.
-
-
isProcessed() - Method in class com.comphenix.protocol.async.AsyncMarker
-
-
Retrieve whether or not this packet has been processed by the async listeners.
-
-
isPublic(int) - Method in class com.comphenix.protocol.reflect.StructureModifier
-
-
Determine if a given field is public or not.
-
-
isQueued() - Method in class com.comphenix.protocol.async.AsyncMarker
-
-
Whether or not this packet is or has been queued for processing.
-
-
isReadOnly() - Method in class com.comphenix.protocol.events.PacketEvent
-
-
Determine if the current packet event is read only.
-
-
isReadOnly(int) - Method in class com.comphenix.protocol.reflect.StructureModifier
-
-
Determine whether or not a field is read-only (final).
-
-
isRunning() - Method in interface com.comphenix.protocol.async.AsyncRunnable
-
-
Determine if we're running or not.
-
-
isServerHandler(Object) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Determine if the given object is assignable to a NetServerHandler (PlayerConnection)
-
-
isServerPacket() - Method in class com.comphenix.protocol.events.PacketEvent
-
-
Whether or not this packet was created by the server.
-
-
isSimpleType(Object) - Method in class com.comphenix.protocol.error.DetailedErrorReporter
-
-
Determine if the given object is a wrapper for a primitive/simple type or not.
-
-
isSupported(int) - Static method in class com.comphenix.protocol.Packets.Client
-
-
Determine if the given packet is a valid client packet in the current version of Minecraft.
-
-
isSupported(int) - Static method in class com.comphenix.protocol.Packets.Server
-
-
Determine if the given packet is a valid server packet in the current version of Minecraft.
-
-
isTransmitted() - Method in class com.comphenix.protocol.async.AsyncMarker
-
-
Retrieve whether or not this packet has already been sent.
-
-
isWatchableObject(Object) - Static method in class com.comphenix.protocol.utility.MinecraftReflection
-
-
Determine if the given object is a watchable object.
-
-
ITEM_DATA - Static variable in class com.comphenix.protocol.Packets.Server
-
 
-
iterator() - Method in class com.comphenix.protocol.concurrency.SortedCopyOnWriteArray
-
-
Retrieves an iterator over the elements in the given list.
-
-
iterator() - Method in interface com.comphenix.protocol.wrappers.nbt.NbtCompound
-
-
Retrieve an iterator view of the NBT tags stored in this compound.
-
-
iterator() - Method in interface com.comphenix.protocol.wrappers.nbt.NbtList
-
-
Iterate over all the elements in this list.
-
-
iterator() - Method in class com.comphenix.protocol.wrappers.WrappedDataWatcher
-
 
-
-A B C D E F G H I K L M N O P R S T U V W X Y Z 
- -
- - - - - -
- - - - diff --git a/Javadoc/index.html b/Javadoc/index.html deleted file mode 100644 index 27a545c4..00000000 --- a/Javadoc/index.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - -Generated Documentation (Untitled) - - - - - - - - - -<noscript> -<div>JavaScript is disabled on your browser.</div> -</noscript> -<h2>Frame Alert</h2> -<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> - - - diff --git a/Javadoc/overview-frame.html b/Javadoc/overview-frame.html deleted file mode 100644 index 4351c532..00000000 --- a/Javadoc/overview-frame.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - - -Overview List - - - - -
All Classes
-
-

Packages

- -
-

 

- - diff --git a/Javadoc/overview-summary.html b/Javadoc/overview-summary.html deleted file mode 100644 index a1108800..00000000 --- a/Javadoc/overview-summary.html +++ /dev/null @@ -1,188 +0,0 @@ - - - - - -Overview - - - - - - - -
- - - - - -
- - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Packages 
PackageDescription
com.comphenix.protocol -
Contains classes for retrieving the main ProtocolMananger object.
-
com.comphenix.protocol.async 
com.comphenix.protocol.concurrency 
com.comphenix.protocol.error 
com.comphenix.protocol.events 
com.comphenix.protocol.injector 
com.comphenix.protocol.metrics 
com.comphenix.protocol.reflect 
com.comphenix.protocol.reflect.cloning 
com.comphenix.protocol.reflect.compiler 
com.comphenix.protocol.reflect.fuzzy 
com.comphenix.protocol.reflect.instances 
com.comphenix.protocol.utility 
com.comphenix.protocol.wrappers 
com.comphenix.protocol.wrappers.nbt 
com.comphenix.protocol.wrappers.nbt.io 
-
- -
- - - - - -
- - - - diff --git a/Javadoc/overview-tree.html b/Javadoc/overview-tree.html deleted file mode 100644 index ce7b9feb..00000000 --- a/Javadoc/overview-tree.html +++ /dev/null @@ -1,333 +0,0 @@ - - - - - -Class Hierarchy - - - - - - - -
- - - - - -
- - -
-

Hierarchy For All Packages

-Package Hierarchies: - -
-
-

Class Hierarchy

- -

Interface Hierarchy

- -

Enum Hierarchy

- -
- -
- - - - - -
- - - - diff --git a/Javadoc/package-list b/Javadoc/package-list deleted file mode 100644 index b5fb51bd..00000000 --- a/Javadoc/package-list +++ /dev/null @@ -1,16 +0,0 @@ -com.comphenix.protocol -com.comphenix.protocol.async -com.comphenix.protocol.concurrency -com.comphenix.protocol.error -com.comphenix.protocol.events -com.comphenix.protocol.injector -com.comphenix.protocol.metrics -com.comphenix.protocol.reflect -com.comphenix.protocol.reflect.cloning -com.comphenix.protocol.reflect.compiler -com.comphenix.protocol.reflect.fuzzy -com.comphenix.protocol.reflect.instances -com.comphenix.protocol.utility -com.comphenix.protocol.wrappers -com.comphenix.protocol.wrappers.nbt -com.comphenix.protocol.wrappers.nbt.io diff --git a/Javadoc/resources/background.gif b/Javadoc/resources/background.gif deleted file mode 100644 index f471940fde2f39ef8943a6af9569bcf986b1579b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2313 zcmV+k3HJ6!Nk%w1VKM-40OkMy00030|NlK(aXwsfKV5S}VtGJbbVOr%L0@%CZH88Q zl{{NzcR^uxNo<2iYk@pjY)*5FJz8x~bc{)B zfk z+1T6M-s9WdW8dcJ-wO*3@9+W*5AY543-j^$^!EPz_4eHZ2#>)41`h@dc!2OAgN6$a zCS2I?;lqgx6IR4nkpTe;1RN0f=zxMq2O=q`94V5d$&e>Unta)^<;;^G3>e7yp=ZvW z6DIW3xpSvaogXF?_4%`@(V;s}NR^5J!3hrtJV@1QRV&r5S*L!zYE|rss${iFkg&!? zTN5V#)~=bmMorwgZsEpdOE)iExo+FO-8;8Kga{=HbSQCnF=E6W3?o*|ID%uwi5**> zJXy127Y9m+=HQ|PhXWi+xNwoWv}n_%Pq%(e+H~mGqhq5kv4Mo|-n~g|7!F*xZ{xv< zCpXS~dGg^IGK?4@J-T%b(XnUHFul6n<@2&4)zzyO2) z3Q8`i0+UKY*`$}e9mmp;tg*))`|PsK1|hAo%u0K$vDwm4gaSkm0j{`26k#qAKmbuhxZ#cquDR>B zD{s8+&TH-uNg$C#68QG}1HMBHfrP&L@@w$F_!itRzXdCN@V|LDAu%3!IDtq1#1UV7 z#1RxvT=B(DWbCoU5l=ia$Pp`Hgb_?Mp@hmtxZDI2N-)v#$}PXVvdm1d>@v(v`0TUJ zF)Pu89(q`zv=w^nVTIF3@3BYIPA}c`(@ZCAwbNBEt@PDUKe5CTR8aB66IE1!w%Amt zy+jpcn~k>GZpVFg+H6x{_uOksvBlq0OyT$6TyQZ37k(cOxZr|JEx1sGm<(M9gH z-~PMqyn|tT=))UN`|-FFFUA#KToK0fUOaz=7}Z~KeHhVC&%O27cTfHQ^WBU8z4p&T zp#>D|V}XShTD;Hx745Iz{`>K-Z$A|7!*Boo{mY;G21vjH8t{M!OrQc6$iN0V@PQDF zpadsK!3tXNf*8!81~qnXWuHZ)kytd=_y+ADWvw31ouV;CdZ#ya*(l7-A-C-Y^+iit8O zBy3*`Ls$|5Hn4m_^I^|C7{m7EFn|5vTk;|oywIgCc9Bb*=L+Y$)M>9GC<|HGs@6NB zHLY%03!dDf=eDRt2O6lVSFRcsuWZEwU?=z$CZ0W?#VJfdN>HG(l%oKpyiftJc|Y)xkjSJYCrQal-0PC~()T9xwF!Jf zVi1UA#3BBbh(i8r5&v#Pz!cF41KjbCc?4u2@@Q~oKLirt2TM30;y6b+zyX2`Yl9u; z`0$3;v0-YUp&7NdPT#q`cZlbij$jvbRk6R>8g*>}*b9E+WDwmpHAAxYzyT aU_pX{M6b8i>#Dq3onfZy}_nli%!Q$ZV%e&!tN2 zX3B0NWXQ443Eo1rUP86rLU>O>oTp%wt3Z{Tz&P*)Iraq^_@X;RtUFY!JxH|4U!>kw zxXwqo&R3Y=EsXaR!ng@y+y$%L1P3FZ4@N!j3m5MW74HcC->_JFuvlxLXiI=-OQ2|@ zpGc#>2-aN)<1RE9^`bB0`65VSK2>5m>CHs^YZCC)NX*NfbeT1%)Cxpu2_(6cCbLvjLY`hf1%*q}QO*%V4SfOu5Nqg~`-+(-76= za<`RA&(qDB^S!nIS^od5|Nk$KPXD8(qSB!f`M*{E?A^&yOW$08V^iNPK!%UNJ-@xmz>`pG2_%4I3QWk4UdtwP!GH$C%mo2K|$Ap=_)Y!#O($1@ohsUtR1k%wI*) z4*X&g==oWh`j{uP=HFm;Ye>0>UbDdtSp^~MaQ!L9I#)Ga?q}{@T#|qec*FkMLDenm zj^sCgk!^O^3o|vG!~2$$$7`C#4Ry zdQ!tui+J1*HyavK+4{`r+zvYHj9IsRt~@uEBOreWS8~2rXAR3!|7aTdr+x4|>@$Az z)b1t$gSB~6USxpfLmy^|_J_eNt*PI=ScO1SVH895N#`ef%IOh&o-2GIjK1s-JzkyZ z@r7O%hChz}kMHCM@Wqi^R-9t&%Fh^#9dVB0%ej@$=OjXA%XZdzCXf}c>SW26_z-Te z5b{}XWg&rELM=N*%aimp)k04t2c+`WAS>ZFIPWKvtyOI))HzpRA!T!b{tv?4NzF1v zNlP%#{&p@lFFEKvcroMAsI)mq?&`!e%l+-y&j9ZqhN}oG&dB=Pw09r+Q%m0cMujS# zs$a7!9VH`CC7k{!bV(J`rm%Jpj6&nLtWhPcy$onn$8G#ZdD9hxO<9k67Ya>K_7W~3 z&KYf14fq<{qHA7u6;>AOcomhdg?ianjr9uINt}*7w?g%z9{Q`(qRo@hDwSpGmxz&h&>%G%T(URL~=c>C{>y$K?+wLFp zy*M1@FTUKYV>8DeDIAIKM+!T5c-k&C4?Y~y^E zQCIc-=9~DiPtfVZB=_c3`qH3h|NXd^BcOQG`funSe)i5!NoA_r{b6PwzSDIXG+!(F z9CqJgo&~#7^VZHWj{u23q+NDCHn}GeWDC*(SW%{f4WMtP3l2jsO7*M)EX)#NLlsNnU4q@#jn0r#rsWsf^ngE0&ambG1f;Rj zfOk#_>1|25Z%?iI{0Yv8)DQfk>m1td?~}m0N%^k^u%EuUCc#ItmlY|epQ3YLWehYw zRU0qpPb#X&WU*UOU8et(s8x~WyYWYsgJCF+;U6@*nICY8)dk}IG+(#_Bz8zURd3HZ6qPE68U1%S{wL0 z;K{PDw2iRFIGG?(UiE9kT9?siuv4O{ z`dX2-eiXU3N)H2nT4V=AO^~J}sw+gr{&~qx%$$wlMv_JCWAMfcjYl}*Cfcf!adOY8 z8oLmJ{%49e+nLiVo#H9}wRk?UCzDz^>9TDxreVHzl~R*)?YU>Uu;J2eQ27O5`&X^8 z`94{)YWJQa#l0Fbz0N6B>j&8J;<%VuG6OYM9&QIdtueWjI3X;*dEtGiF@1AcvN4U> zG5SXIEXxB>)!mtQOztJLyeF78S*kLiU-!>PtQ_s~OMl~&y(hVVe$A5 zwo}E-DJ6${QP75?LsQ}Wl@MXwXMT4d>|?rD!g?jE>J^N*y;X}5FLe%d0_ zZ>eIBK6l@jkfw{p_YiDP;MS{jww{%j#?rk2z1J!HqE;Vd!TrCl_7UPef8;edI}wD6 zT&12Bxj&q}d4%$GHq+$~UYtWv`wI9k`89oKkCEK_E;-+O)(rhThjOM|kXDn{!W1Lo z`_?yQv=lp=-w()R<=0&c5%RWHY_fw@qb}uwFuPAGkl~@Kis}eE%MY@~6ZyWcF+llM zGyK`)(vn1F%%z=W7-Y=1$`w0Mv+-|#d};%JjCmw)Y1hOxwA|{}P%6LS4X`jQCGh`mR@=hGrr|cXa^Ipj;Mh)6mTqd1s_HmP0IxXT!w7YhoIHT>Hm#!;c@|L9OjV zsTlHE{Z;HWeM9^tPm-`|&nnl$%DRtNG1~?npUvgKPwKlaccEe4q!7YU3zykJnu6Sr z()LMXs_)^~u-ds7+wMff)RAJF?2?1H`_wDnt%MssYeB5;q~ojgVm6OHA6B>FG2erv z8&`|6<`=!EPKR^8Qlp5MiKwfxy4D`mN> ze$RKh_6*YJd4y0nnUZvwN%iY&^9xk@cM|5g#pZkc#N*(PH?^w&?ilTDMXFcd0`5!E zvgHS`=Lc|~1aO=L@L~eE*aP{90lc7qXY7GOs)3JH14T{(`K1D%tpvUT1-?F^1d4_S zJ#7yXkP3Q37bJlRQfv=mV-J3B8O*m5B%L3uW)S>|Jwy`|s6iK`sv0Z-3NcU(0knrG z5ChFXA@A9PUSdLI+(VU!!J1Mbw!~0VP^jZci2X|Nx0BF!24ObrAr>b=QtlyN4TAhn z!mQncJm~^m4MIafVLt_ewDUtO+e5w*!`(6A&H^F7i9s4t5&uBpNvh$nlTZjqTM5krNRRQ zqP)VR!|9@H>7qN_!+-)&_9s!^;gOvy5s~iEB&qP8{77&2NJMzZcsnJgSt_bYDzYU% zxQ#uuk3D*e7_*d5^?HW(^(WxICGf-mcmM((VStzIz%zFsm0;ZI3h=5OciJ#a%7I(IeGbFv+PP^?^sKBPrRBl<+qK^o%3fi=L9`la>-l4~p|hzAl~W zf=%(|NHgF7r5dJD+Cf08q-c(m;Epsldaz4cqHzTHT>)4xEe(cE0i~tf{Y0xs_1~Kv z+BYQ-TpEOch13;5YC9nHYEXhSv{ew=LV~nQL%UBQEgaDL2m?9u~v zEQmOvM=aB)Z$+eE38rs%AZR_)4>@2raqwH#Fji#xoLc&PS_TU^W8W(M0GqLdO~1yF z{sfHZ_sC#FX58(}d>RSkKZCz8%D7{cC3Z$Zh@52{31&V*W-@s~Z<8~aBeNcNW?e&O zsR(7fHOf}B&fsRqdZ(WK1e~s*o^uD6{YX9QJvqyWAqQXt*E>r$V94YK=X@8+{1cg> z*_i`a%alCJvbD~lCg&Q1Gk=|BzY)sejf9EHJ{s7lu4?ExCWR3jgTiET;exy{sW!Mg zuj*_YOf0@ScN~X0$7V6&KpL172rf|rA8?K<2+GelXw)NUk#@b4aT5MO%1ip4*ym}B-JI__S1R?CK z<4eW~bH;@H@tR55x}&JNSw_NvEPk)6E>XDt7*)4sgWuw+_vNZzmaS(tsi(57zcjA9 z@~XcHtzYq~IX|z*Md9mh>W~`sk3<^s7;EmyH4wcTdAo5NkUA2ofeG69{Gx7#i_*lt zQ7;N@xEo#nNRj&SbDHNnP0w#OE0{DZ$~7ySG%IN~zwd5Vu4&dnH>*OMb>&*VL^tbA zG;7y1t9dsYU$p3pw0x6mwGe6fjBYWsZ8e3q8f~-~cefgHxBangajI$kv(c*W-DZGp zbM$UgnP{_MYPXYX|6$u^deIhE(-xuGX2RVXqS+o~(iSV%;ZW1=Zqkut(r&xak^pT> zsp*I@X|-eOd^gb+sM(%3(E$|c47Y91mTU99Xe;4vFOTl5gmwVB+fvc3n2pwK?~Xd# zwrY{?CUj@~Msr?wXU0WKv2A$hq z`$V^gNq4(<*C=;4e4}$*uIC$5&uUHkM08J~N$>VV*VpdmLCuc!?!J9=-)VH;fo9)| zNN4m#^Kb9|`RF!^ZAT-z=bC8$do8~Tjc^o-aQjyc2(TW*d50E1#NW0pKb^~tf&OUlS+W}>0!m@!~1 z&TdSLhm`0u99c-z=oxYL8IFaGCDoFwFUP!1iJ%xF1UC4hhv*VR2451Pc0+kQGC)39C5 za81oV=$+xzZNYhn=RB-CTZ>Bevj)A3mi9|OS(dcy=N#Zm=Dza|z4Jd<=3IQ2CB>FiwH7{4Ej#+oa>M67 z!56)Km&2xJ|H7B;%~rJDuJ{rbZQiaX*e^$DEt~T$#h9(y#jg6>uX?boq!N}Q;EQth zYo1rjc15dETPw~*Ymu=lreoE9g^wb)ZcRe1yp1(Eo(rmqUYZXOU$BC_| zX{{&qE?E06wXm#v#cpKwE)jaydSaI`TkCCClr_lKMzPkyFT!R%VRn&sZSrchKx&4e~pJQcfViQxxl=T=7}#gYz7Pvoh`T#Jbab%2A2m zxh?A<`}A?8_GumBEcL;$x%gQb@PZ(If%ZE~D?ax#Km4a~+GV~!;Bb~qxxh@HHc|H6 zr%$^c9Dw~UQFWJv+81rCXS1vqqLfQ~-BtO63xCArGVA4T-}xPXYGHqB5h^+n5%$24 z(BROpi13J@*qFfR$oRMHel`=(zy zovs-UKHD3VkJ?hVeq!aA+8Fh4+NIlFhcC~UrR{4I#}K*u&z%68+P1*=q0B1r*2MY> z!9gYs*vlTO5v#8S>c#3goFmp>3iVKdU)NkjNV(s7tO4Wq?2M}o5Cj-*7;S=fEshOA zR*4$dm{ROvUamG%xL_tSW6}U$Nl=@91T;nC11o-iIVyVrfkd) zTCp;^tOy|_kuOFV$Nn=$AQJO9;&sZ&eDs^!r*m;Hw!)vpO1vcfj2EV{dJ?7ap0tq6 z$SwUVM*Vt+MS_`;bas-svPV|3POQi8G~?f^KOx4hg1He+Wd*s3Hl1{TfJS-+zv6vc zPoKiwr?7wECbub(IdB)9f_!kmUjBR*KY_z4E8_QA9xSr#G&@i5y^H`jB^I{|akh>W z%Cn3luOVY|8P>u>e^~#{$kmgX&-q>k{#pFbm2({(rtG<%nb0UCQ0%{Cy`F&~7}*we z@Of>ND_)V&XwN_+n~KjVorUQWZ*B6cld7ymQl{;rwlHl34K#}2YWxE+4CX@P&u6AfCda`&ZT1MOY69e-L@gNcAvwx8%1Z7lB4zc=_Cpt~&s ze%?;){1DB(PSK!^za967qF?lIjB~&06}Lf`cgh2qUiI^|$-VCTNE=hp&Ij}^A9&|* zQQrSqo3gn#_=z9j(y6f@T|OkJYv(fjwpz}$*U$|nLH2F zPNMuTS4g8 z*^hOlRh6~Mk}58;d477R>F^~aLO$dOXmhA*6zwIaHK()t2zKjo?j^NOJbh_=+71xg zO{Mgp7x?Z-1MKzoQ<+V2g#|e}|JawOPJZBL{o~PYdtWDX?jl##!Aiq|w>)vGJLipp zBK1xGhcvgSsQ;rn>+`>UmxlID{<~}7{y>SO^cyktN^Fsz!Z|B4?p*RKQG*8}SYBt{ zuFO{vJ?jgL{gUzYsnv(io}c0vlCp#*1vE?}KL^UZ&VF^TK+D;40CxX%j);%dCt;Z{ zAeMXC9JPWvKGwsCxx4w2iv_wNGG8l16AVI93rmc^c1>r(P||YE zpXa+=-&k995hfykL^J5S&vJF^ljR&`FE#ppNMM3%Omc!F)Mn{{&Ip#)JegbEJxud2 zn`wDVB~DMii5|H%m~51YeU1juNG3!+&?*uC#q@)z8q~`4yEL5I8}PtyA1IZ=52P$x zX)KhZt z7czUXBsy-8d`GVQ`90`wIh(Xt7v5j7h0t&ET~2M!Tb~4rN-xtK@8@mB*c(6QTwOS- z%9445_WY|cfm4?$nX$72&{~^mu}an^x^Da%=UU6YI;ur3+9L6I>raW5!=-Nzy(F2Z zwZlg7aM3NN5b{K|FB>s4R}|&Lr32_Ys{wwkECxo|rV@;5aHB25iUs7(6@dDpjN{Y%?C~UGp>*Q}K?)KKk64 zAn;@-dER}QG0L${jQ1cR75eM3-~ZTltTQ8%sm9x4Y`ve@ekMuvpA#Rh51@s6;6^&Q z!&M7^b%cea7FlZkPV9}@!bPBBfB&~XvGlE2T7V?IpM~OBmuK;OSt{~N`rL5c_I^de z9n*=@p|l;d`b_YIn8Aem1t7pp0=2-MCTIcJHlY z6x+mNLgi{JpwP)y(yzAFL2A#>bI&EwZE`PGvd*FQ!rx~6bUN&+Ij3)L;=595L#G;m8*^e?ap1`J5w7-q)*iUT_W9w8 z&xS-`i++HpWzY-a-)CWd0(pLW$A85P{Dy9r-=uPekNpN^yA}pJ7yWTZ>3iw4d6+IK zF%1XXkGcJm{0*vhSG5R1ySW;jctk9O==1-Mk?=Bl<{HE1p_@tx1s^+GoczYxj#B=i=kwQvEPrOt`<4W*pJw zbNjEqpr7B|Llc%m{V*QssV)im;pb00LUob=yFaU4`P_}ywU zt*QZl-bUsmh@L&zQaX4uHL&7YD(BOb9hH;;y;O-b-_O$4EFi1vCrMlz`dN|u?}HNO^aFQV{UZg_yy%nf>IXpulip!cR8|vNu7P*; zQye@}Qmj%(TB6`5E=c~w=LITF266XJ6X5xA7!OM1SE=~N*o3EP5Qqx!W<_+EMSLGo zqkC18AQ=0AK9=hgGQtrTovYc5^?Z^RLX?hlO-j&e1MXTTbfm>MS^=}!p>C>icUKdZ zBcNOb(6IJ!kq*e7N8Fx!!kPyn+2B2^2hd00+W^PUA&+S63jFE)bP5Tv+L5l~n(pu? zbeO|+K{{?pEow3?j0+dGVu)a6(0r{1Uj7{3 zxSsZ|BdMk>1-S}-;+`pk{Q5>H=tLRx+YqeenaSRsEX@gtPzz>j1A9g!C9kGtspY(- z%YL>NkVDE2z@}*;Q{=&5)yS;NupAmmibGUE4qte7aY6PcnXJgw>}ad(SW;@HtNurF ziV0_yHz=;Di%Tki6DW^tjkL`t%Ktct(ay zvuAOYoCu!Pm~@P5CIjk$bp`_iv{^l*Au{fB8mJK1>Macv?GL)**8*+JNvySIH5Y7i#1;!%NT!efc z;Z0*AOM&1VpR+6wIQxBM{xf`8T1V@#e<#QL}=YRwMkWG8%1(Fgj{iX)N zup{Txko(DqJWf=#Oi?Z!nra-?C{);TP`w|4>L+EKx1&P3swX<*#_50F!lD_$nQyuK??!UwA-{y)^QmMxoK1xIJ~uML{u;5!Z5tQyEL>;KaUd!_9FP zl2$QOI6V1`QdF|8gkdZsSpUqCjSBu(1H)r*vL#PEy)@Px>5TIk7_9o#Bj zzD&<1_k(ejk%qO6ak=GMmG5b7LTAA^KKq-Ey#z8(2wy2;Ot^oZI(MG@)~iY$RAnJt zu`ioyvR?Vws_tuK9hDqmel+)bP0kyxJV{7t=&3{b(@Hs1fs$9n45aq)IKknZa2H*7 z^P-ZDyOMdMj&-9{(-?dqo5I3Gy=K$!L%q>3^0N~o^2i0^_@^2nQv>S4B&=5_8^a^V zaY!NjyA5QgO&r#^CJcp&=!))MZ*CC&hvLEzWU*!IO=aYo{_yG+53H$XOAIQWnG`uD zLuuwTY6e8N^m5^AHQa}Y5Z#SdbEY;+x{oW?g;ie4CNYomRyQd2mv^L}T!>a5<*wTh>@>Qtwp~nejn`~DcZJI+QC-xU zoxz=5z0k%1;jBrGI%Th~FQElrAPr?E-Fv9|o09dPk=?>f)jFKL8PK|;w(cVDq>YWP zEfL7RGBv|<>f4IccND3wCi*V8`>#a$FPZu&a{V`W`me+Kuf_CJ)%IV%?5ByL^#3Q{ z&uBM5|34IKI>0_Tz{5OngXe#6w*N6;;5PH%9n%56%RaWA{wJ4%515Apdj`a62bp<> zM12OuV+QZ^55ATkViO(UWgg}%9C}kb^r~=BiDyWIXZWM&kb>Q?dd$#W`4KU|2#4qh zz;sZ>ZqS5h#Kdk$&1c9AHmDUdtmHE)CqH0RIAZEE;t(^+RXF+*FlJyk;?6Vn{&MsO zZ0HwY)b4Va!F1#s^N5$-s9(&mPa*Lu4>4SxXm~l|3?PR2jB1J!Q|(4#0i$lFME^-r zA~Q(2O+PHOdcVN((R8zqi>%+yx4PA5u&+jI zZ?)Fm8m-+`n!Bnrx0PvZE7!Q)Z+NTE@K(R!nO40sZF(n~bq_b_9H`UYU#q>pPJ3UC z_UeU>J7qcy%%`ks9)BNcS^GDOn z?oKkjHNoWO1e2?M#vd12e^_AscAnLnc~-CISiYWX`D%{k^H~<37unpMYJYdSv=Om2vbAM@`Qp{{SI=yP zj6WN*eEt0G$9EPX6FU%)-ho>hWTW!yzXBIo73<0umM-=@eG&niY^` zlG(|vuCl_x(X^Fob@=i{8+M5vWf7Bz=#aHGTNA;fZQyfbfueI8Z^639n`(DI%w^-^ zl`=@!u)r~Xf920-xd$Ab+S&PJY%K0H8a_J8uN3^_!K1_NV$*e#*Y*6|)XpiW=9H`*`Xx7W%v@7{XDma1?v0a%(K6rI&1!a YpWXKgmku8Vj|K)Vje`mzEKCg608Q#dYybcN diff --git a/Javadoc/serialized-form.html b/Javadoc/serialized-form.html deleted file mode 100644 index b98c8e22..00000000 --- a/Javadoc/serialized-form.html +++ /dev/null @@ -1,355 +0,0 @@ - - - - - -Serialized Form - - - - - - - -
- - - - - -
- - -
-

Serialized Form

-
-
-
    -
  • -

    Package com.comphenix.protocol.async

    -
      -
    • - - -

      Class com.comphenix.protocol.async.AsyncMarker extends java.lang.Object implements Serializable

      -
      -
      serialVersionUID:
      -
      -2621498096616187384L
      -
      -
        -
      • - - -

        Serialized Fields

        -
          -
        • -

          initialTime

          -
          long initialTime
          -
        • -
        • -

          timeout

          -
          long timeout
          -
        • -
        • -

          originalSendingIndex

          -
          long originalSendingIndex
          -
        • -
        • -

          newSendingIndex

          -
          long newSendingIndex
          -
        • -
        • -

          queuedSendingIndex

          -
          java.lang.Long queuedSendingIndex
          -
        • -
        • -

          processed

          -
          boolean processed
          -
        • -
        • -

          transmitted

          -
          boolean transmitted
          -
        • -
        • -

          asyncCancelled

          -
          boolean asyncCancelled
          -
        • -
        • -

          processingDelay

          -
          java.util.concurrent.atomic.AtomicInteger processingDelay
          -
        • -
        • -

          processingLock

          -
          java.lang.Object processingLock
          -
        • -
        -
      • -
      -
    • -
    -
  • -
  • -

    Package com.comphenix.protocol.events

    -
      -
    • - - -

      Class com.comphenix.protocol.events.PacketContainer extends java.lang.Object implements Serializable

      -
      -
      serialVersionUID:
      -
      2074805748222377230L
      -
      -
        -
      • - - -

        Serialization Methods

        -
          -
        • - - -

          readObject

          -
          private void readObject(java.io.ObjectInputStream input)
          -                 throws java.lang.ClassNotFoundException,
          -                        java.io.IOException
          -
          Throws:
          -
          java.lang.ClassNotFoundException
          -
          java.io.IOException
          -
        • -
        • - - -

          writeObject

          -
          private void writeObject(java.io.ObjectOutputStream output)
          -                  throws java.io.IOException
          -
          Throws:
          -
          java.io.IOException
          -
        • -
        -
      • -
      • - - -

        Serialized Fields

        -
          -
        • -

          id

          -
          int id
          -
        • -
        -
      • -
      -
    • -
    • - - -

      Class com.comphenix.protocol.events.PacketEvent extends java.util.EventObject implements Serializable

      -
      -
      serialVersionUID:
      -
      -5360289379097430620L
      -
      -
        -
      • - - -

        Serialization Methods

        -
          -
        • - - -

          readObject

          -
          private void readObject(java.io.ObjectInputStream input)
          -                 throws java.lang.ClassNotFoundException,
          -                        java.io.IOException
          -
          Throws:
          -
          java.lang.ClassNotFoundException
          -
          java.io.IOException
          -
        • -
        • - - -

          writeObject

          -
          private void writeObject(java.io.ObjectOutputStream output)
          -                  throws java.io.IOException
          -
          Throws:
          -
          java.io.IOException
          -
        • -
        -
      • -
      • - - -

        Serialized Fields

        -
          -
        • -

          packet

          -
          PacketContainer packet
          -
        • -
        • -

          serverPacket

          -
          boolean serverPacket
          -
        • -
        • -

          cancel

          -
          boolean cancel
          -
        • -
        • -

          asyncMarker

          -
          AsyncMarker asyncMarker
          -
        • -
        • -

          asynchronous

          -
          boolean asynchronous
          -
        • -
        • -

          readOnly

          -
          boolean readOnly
          -
        • -
        -
      • -
      -
    • -
    -
  • -
  • -

    Package com.comphenix.protocol.injector

    -
      -
    • - - -

      Class com.comphenix.protocol.injector.PlayerLoggedOutException extends java.lang.RuntimeException implements Serializable

      -
      -
      serialVersionUID:
      -
      4889257862160145234L
      -
      -
    • -
    • - - -

      Class com.comphenix.protocol.injector.PluginVerifier.PluginNotFoundException extends java.lang.RuntimeException implements Serializable

      -
      -
      serialVersionUID:
      -
      8956699101336877611L
      -
      -
    • -
    -
  • -
  • -

    Package com.comphenix.protocol.reflect

    - -
  • -
  • -

    Package com.comphenix.protocol.reflect.instances

    - -
  • -
-
- -
- - - - - -
- - - - diff --git a/Javadoc/stylesheet.css b/Javadoc/stylesheet.css deleted file mode 100644 index 0aeaa97f..00000000 --- a/Javadoc/stylesheet.css +++ /dev/null @@ -1,474 +0,0 @@ -/* Javadoc style sheet */ -/* -Overall document style -*/ -body { - background-color:#ffffff; - color:#353833; - font-family:Arial, Helvetica, sans-serif; - font-size:76%; - margin:0; -} -a:link, a:visited { - text-decoration:none; - color:#4c6b87; -} -a:hover, a:focus { - text-decoration:none; - color:#bb7a2a; -} -a:active { - text-decoration:none; - color:#4c6b87; -} -a[name] { - color:#353833; -} -a[name]:hover { - text-decoration:none; - color:#353833; -} -pre { - font-size:1.3em; -} -h1 { - font-size:1.8em; -} -h2 { - font-size:1.5em; -} -h3 { - font-size:1.4em; -} -h4 { - font-size:1.3em; -} -h5 { - font-size:1.2em; -} -h6 { - font-size:1.1em; -} -ul { - list-style-type:disc; -} -code, tt { - font-size:1.2em; -} -dt code { - font-size:1.2em; -} -table tr td dt code { - font-size:1.2em; - vertical-align:top; -} -sup { - font-size:.6em; -} -/* -Document title and Copyright styles -*/ -.clear { - clear:both; - height:0px; - overflow:hidden; -} -.aboutLanguage { - float:right; - padding:0px 21px; - font-size:.8em; - z-index:200; - margin-top:-7px; -} -.legalCopy { - margin-left:.5em; -} -.bar a, .bar a:link, .bar a:visited, .bar a:active { - color:#FFFFFF; - text-decoration:none; -} -.bar a:hover, .bar a:focus { - color:#bb7a2a; -} -.tab { - background-color:#0066FF; - background-image:url(resources/titlebar.gif); - background-position:left top; - background-repeat:no-repeat; - color:#ffffff; - padding:8px; - width:5em; - font-weight:bold; -} -/* -Navigation bar styles -*/ -.bar { - background-image:url(resources/background.gif); - background-repeat:repeat-x; - color:#FFFFFF; - padding:.8em .5em .4em .8em; - height:auto;/*height:1.8em;*/ - font-size:1em; - margin:0; -} -.topNav { - background-image:url(resources/background.gif); - background-repeat:repeat-x; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; -} -.bottomNav { - margin-top:10px; - background-image:url(resources/background.gif); - background-repeat:repeat-x; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; -} -.subNav { - background-color:#dee3e9; - border-bottom:1px solid #9eadc0; - float:left; - width:100%; - overflow:hidden; -} -.subNav div { - clear:left; - float:left; - padding:0 0 5px 6px; -} -ul.navList, ul.subNavList { - float:left; - margin:0 25px 0 0; - padding:0; -} -ul.navList li{ - list-style:none; - float:left; - padding:3px 6px; -} -ul.subNavList li{ - list-style:none; - float:left; - font-size:90%; -} -.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { - color:#FFFFFF; - text-decoration:none; -} -.topNav a:hover, .bottomNav a:hover { - text-decoration:none; - color:#bb7a2a; -} -.navBarCell1Rev { - background-image:url(resources/tab.gif); - background-color:#a88834; - color:#FFFFFF; - margin: auto 5px; - border:1px solid #c9aa44; -} -/* -Page header and footer styles -*/ -.header, .footer { - clear:both; - margin:0 20px; - padding:5px 0 0 0; -} -.indexHeader { - margin:10px; - position:relative; -} -.indexHeader h1 { - font-size:1.3em; -} -.title { - color:#2c4557; - margin:10px 0; -} -.subTitle { - margin:5px 0 0 0; -} -.header ul { - margin:0 0 25px 0; - padding:0; -} -.footer ul { - margin:20px 0 5px 0; -} -.header ul li, .footer ul li { - list-style:none; - font-size:1.2em; -} -/* -Heading styles -*/ -div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { - background-color:#dee3e9; - border-top:1px solid #9eadc0; - border-bottom:1px solid #9eadc0; - margin:0 0 6px -8px; - padding:2px 5px; -} -ul.blockList ul.blockList ul.blockList li.blockList h3 { - background-color:#dee3e9; - border-top:1px solid #9eadc0; - border-bottom:1px solid #9eadc0; - margin:0 0 6px -8px; - padding:2px 5px; -} -ul.blockList ul.blockList li.blockList h3 { - padding:0; - margin:15px 0; -} -ul.blockList li.blockList h2 { - padding:0px 0 20px 0; -} -/* -Page layout container styles -*/ -.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { - clear:both; - padding:10px 20px; - position:relative; -} -.indexContainer { - margin:10px; - position:relative; - font-size:1.0em; -} -.indexContainer h2 { - font-size:1.1em; - padding:0 0 3px 0; -} -.indexContainer ul { - margin:0; - padding:0; -} -.indexContainer ul li { - list-style:none; -} -.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { - font-size:1.1em; - font-weight:bold; - margin:10px 0 0 0; - color:#4E4E4E; -} -.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { - margin:10px 0 10px 20px; -} -.serializedFormContainer dl.nameValue dt { - margin-left:1px; - font-size:1.1em; - display:inline; - font-weight:bold; -} -.serializedFormContainer dl.nameValue dd { - margin:0 0 0 1px; - font-size:1.1em; - display:inline; -} -/* -List styles -*/ -ul.horizontal li { - display:inline; - font-size:0.9em; -} -ul.inheritance { - margin:0; - padding:0; -} -ul.inheritance li { - display:inline; - list-style:none; -} -ul.inheritance li ul.inheritance { - margin-left:15px; - padding-left:15px; - padding-top:1px; -} -ul.blockList, ul.blockListLast { - margin:10px 0 10px 0; - padding:0; -} -ul.blockList li.blockList, ul.blockListLast li.blockList { - list-style:none; - margin-bottom:25px; -} -ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { - padding:0px 20px 5px 10px; - border:1px solid #9eadc0; - background-color:#f9f9f9; -} -ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { - padding:0 0 5px 8px; - background-color:#ffffff; - border:1px solid #9eadc0; - border-top:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { - margin-left:0; - padding-left:0; - padding-bottom:15px; - border:none; - border-bottom:1px solid #9eadc0; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { - list-style:none; - border-bottom:none; - padding-bottom:0; -} -table tr td dl, table tr td dl dt, table tr td dl dd { - margin-top:0; - margin-bottom:1px; -} -/* -Table styles -*/ -.contentContainer table, .classUseContainer table, .constantValuesContainer table { - border-bottom:1px solid #9eadc0; - width:100%; -} -.contentContainer ul li table, .classUseContainer ul li table, .constantValuesContainer ul li table { - width:100%; -} -.contentContainer .description table, .contentContainer .details table { - border-bottom:none; -} -.contentContainer ul li table th.colOne, .contentContainer ul li table th.colFirst, .contentContainer ul li table th.colLast, .classUseContainer ul li table th, .constantValuesContainer ul li table th, .contentContainer ul li table td.colOne, .contentContainer ul li table td.colFirst, .contentContainer ul li table td.colLast, .classUseContainer ul li table td, .constantValuesContainer ul li table td{ - vertical-align:top; - padding-right:20px; -} -.contentContainer ul li table th.colLast, .classUseContainer ul li table th.colLast,.constantValuesContainer ul li table th.colLast, -.contentContainer ul li table td.colLast, .classUseContainer ul li table td.colLast,.constantValuesContainer ul li table td.colLast, -.contentContainer ul li table th.colOne, .classUseContainer ul li table th.colOne, -.contentContainer ul li table td.colOne, .classUseContainer ul li table td.colOne { - padding-right:3px; -} -.overviewSummary caption, .packageSummary caption, .contentContainer ul.blockList li.blockList caption, .summary caption, .classUseContainer caption, .constantValuesContainer caption { - position:relative; - text-align:left; - background-repeat:no-repeat; - color:#FFFFFF; - font-weight:bold; - clear:none; - overflow:hidden; - padding:0px; - margin:0px; -} -caption a:link, caption a:hover, caption a:active, caption a:visited { - color:#FFFFFF; -} -.overviewSummary caption span, .packageSummary caption span, .contentContainer ul.blockList li.blockList caption span, .summary caption span, .classUseContainer caption span, .constantValuesContainer caption span { - white-space:nowrap; - padding-top:8px; - padding-left:8px; - display:block; - float:left; - background-image:url(resources/titlebar.gif); - height:18px; -} -.overviewSummary .tabEnd, .packageSummary .tabEnd, .contentContainer ul.blockList li.blockList .tabEnd, .summary .tabEnd, .classUseContainer .tabEnd, .constantValuesContainer .tabEnd { - width:10px; - background-image:url(resources/titlebar_end.gif); - background-repeat:no-repeat; - background-position:top right; - position:relative; - float:left; -} -ul.blockList ul.blockList li.blockList table { - margin:0 0 12px 0px; - width:100%; -} -.tableSubHeadingColor { - background-color: #EEEEFF; -} -.altColor { - background-color:#eeeeef; -} -.rowColor { - background-color:#ffffff; -} -.overviewSummary td, .packageSummary td, .contentContainer ul.blockList li.blockList td, .summary td, .classUseContainer td, .constantValuesContainer td { - text-align:left; - padding:3px 3px 3px 7px; -} -th.colFirst, th.colLast, th.colOne, .constantValuesContainer th { - background:#dee3e9; - border-top:1px solid #9eadc0; - border-bottom:1px solid #9eadc0; - text-align:left; - padding:3px 3px 3px 7px; -} -td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { - font-weight:bold; -} -td.colFirst, th.colFirst { - border-left:1px solid #9eadc0; - white-space:nowrap; -} -td.colLast, th.colLast { - border-right:1px solid #9eadc0; -} -td.colOne, th.colOne { - border-right:1px solid #9eadc0; - border-left:1px solid #9eadc0; -} -table.overviewSummary { - padding:0px; - margin-left:0px; -} -table.overviewSummary td.colFirst, table.overviewSummary th.colFirst, -table.overviewSummary td.colOne, table.overviewSummary th.colOne { - width:25%; - vertical-align:middle; -} -table.packageSummary td.colFirst, table.overviewSummary th.colFirst { - width:25%; - vertical-align:middle; -} -/* -Content styles -*/ -.description pre { - margin-top:0; -} -.deprecatedContent { - margin:0; - padding:10px 0; -} -.docSummary { - padding:0; -} -/* -Formatting effect styles -*/ -.sourceLineNo { - color:green; - padding:0 30px 0 0; -} -h1.hidden { - visibility:hidden; - overflow:hidden; - font-size:.9em; -} -.block { - display:block; - margin:3px 0 0 0; -} -.strong { - font-weight:bold; -}