Java Code Examples for org.inventivetalent.reflection.resolver.FieldResolver

The following examples show how to use org.inventivetalent.reflection.resolver.FieldResolver. These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source Project: PacketListenerAPI   Source File: PacketAbstract.java    License: MIT License 5 votes vote down vote up
public PacketAbstract(Object packet, Cancellable cancellable, Player player) {
	this.player = player;

	this.packet = packet;
	this.cancellable = cancellable;

	fieldResolver = new FieldResolver(packet.getClass());
}
 
Example 2
Source Project: PacketListenerAPI   Source File: PacketAbstract.java    License: MIT License 5 votes vote down vote up
public PacketAbstract(Object packet, Cancellable cancellable, ChannelWrapper channelWrapper) {
	this.channelWrapper = channelWrapper;

	this.packet = packet;
	this.cancellable = cancellable;

	fieldResolver = new FieldResolver(packet.getClass());
}
 
Example 3
Source Project: PacketListenerAPI   Source File: Packet.java    License: MIT License 5 votes vote down vote up
public Packet(Object packet, Cancellable cancel, Player player) {
	this.player = player;
	this.packet = packet;
	this.cancel = cancel;

	fieldResolver = new FieldResolver(packet.getClass());
}
 
Example 4
Source Project: PacketListenerAPI   Source File: PacketAbstract.java    License: MIT License 4 votes vote down vote up
public FieldResolver getFieldResolver() {
	return fieldResolver;
}