Skip to content

Commit

Permalink
@Creates tags
Browse files Browse the repository at this point in the history
  • Loading branch information
btj committed Mar 28, 2020
1 parent 107c5fb commit 47076dc
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions ogptaglets/src/ogptaglets/CreatesTaglet.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
package ogptaglets;

import java.util.Set;

public class CreatesTaglet extends FormalPartTaglet {

@Override
public Set<Location> getAllowedLocations() {
return Set.of(Location.CONSTRUCTOR, Location.METHOD);
}

@Override
public String getName() {
return "creates";
}

@Override
public String getTitle() {
return "Creates";
}

}

0 comments on commit 47076dc

Please sign in to comment.