Skip to content
This repository was archived by the owner on Aug 8, 2018. It is now read-only.

Annotation Plugins #1

@jamierocks

Description

@jamierocks
package org.neptunepowered.testplugin;

import com.google.inject.Inject;
import net.canarymod.logger.Logman;
import org.neptunepowered.lib.plugin.Plugin;

@Plugin(name = "TestPlugin")
public class TestPlugin {

    @Inject private Logman logman;

    @Plugin.Enable
    public void onEnable() {
        this.logman.info("Hello, World!");
    }

}

Preface

The idea is that ultimately a Annotation Processor that will take the above plugin class, create a Neptune.inf and load plugins correctly using Guice.

Progress

  • Annotation Processor
    • Generate Neptune.inf
  • Plugin Loading

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions