- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {FileOutputStream f =
File file;new FileOutputStream(file)
String name;new FileOutputStream(name)
File file;new FileOutputStream(file, true)
- Smart code suggestions by Codota
}
void execute() { event.addStereotype(SimpleAnnotation.class); } }.run();
public void beforeBeanDiscovery(@Observes BeforeBeanDiscovery event, final BeanManager beanManager) throws SecurityException, NoSuchMethodException { // Registers stereotype via the SPI event.addStereotype(StereotypeCandidate.class, NamedLiteral.INSTANCE); }
event.addStereotype(b.getKey(), b.getValue());