crwdns140687:0crwdne140687:0

Warning

crwdns140689:0crwdne140689:0

crwdns140691:0crwdne140691:0

Warning

crwdns140693:0crwdne140693:0

crwdns140695:0crwdne140695:0

crwdns140697:0crwdne140697:0

crwdns140699:0crwdne140699:0

  • crwdns140701:0:javadoc:crwdne140701:0

  • crwdns140703:0:javadoc:crwdne140703:0

  • crwdns140705:0:javadoc:crwdne140705:0

  • crwdns140707:0:javadoc:crwdne140707:0

  • crwdns140709:0:javadoc:crwdne140709:0

  • crwdns140711:0:javadoc:crwdne140711:0

  • crwdns140713:0:javadoc:crwdne140713:0

  • crwdns140715:0:javadoc:crwdne140715:0

  • crwdns140717:0:javadoc:crwdne140717:0

  • crwdns140719:0:javadoc:crwdne140719:0

  • crwdns140721:0:javadoc:crwdne140721:0

crwdns140723:0crwdne140723:0

  • crwdns140725:0:javadoc:crwdne140725:0

  • crwdns140727:0crwdne140727:0

crwdns140729:0crwdne140729:0

crwdns140731:0crwdne140731:0

crwdns140733:0crwdne140733:0

import com.google.inject.Inject;
import org.apache.logging.log4j.Logger;

@Inject
private Logger logger;

@Inject
private PluginContainer pluginContainer;

crwdns140735:0crwdne140735:0

import com.google.inject.Inject;
import org.apache.logging.log4j.Logger;

// For the purpose of this example, "Banana" is the class name

private final Logger logger;
private final PluginContainer pluginContainer;

@Inject
public Banana(Logger logger, PluginContainer pluginContainer) {
    this.logger = logger;
    this.pluginContainer = pluginContainer;
}

crwdns140737:0crwdne140737:0

crwdns140739:0crwdne140739:0

Tip

crwdns140741:0:doc:crwdne140741:0

crwdns140743:0:javadoc:crwdnd140743:0:javadoc:crwdne140743:0

crwdns140745:0crwdne140745:0

crwdns140747:0:javadoc:crwdne140747:0

  • crwdns140749:0crwdne140749:0

  • crwdns140751:0crwdne140751:0

crwdns140753:0crwdne140753:0

  • crwdns140755:0crwdne140755:0

  • crwdns140757:0:javadoc:crwdne140757:0

  • crwdns140759:0crwdne140759:0

crwdns140761:0crwdne140761:0

crwdns140763:0crwdne140763:0

import com.google.inject.Inject;
import org.spongepowered.api.config.DefaultConfig
import org.spongepowered.configurate.CommentedConfigurationNode;
import org.spongepowered.configurate.loader.ConfigurationLoader;

@Inject
@DefaultConfig(sharedRoot = false)
private ConfigurationLoader<CommentedConfigurationNode> loader;

@Inject
@DefaultConfig(sharedRoot = false)
private Path configFilePath;

crwdns140765:0crwdne140765:0

crwdns140767:0crwdne140767:0

crwdns140769:0:javadoc:crwdne140769:0

  • crwdns140771:0crwdne140771:0

  • crwdns140773:0crwdne140773:0

crwdns140775:0crwdne140775:0