Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.drools.jboss.integration.example;
 
 
 public class Greeter {
 
     private PhraseBuilder phraseBuilder;
 
    @Inject
    public Greeter(PhraseBuilder phraseBuilder) {
        this. = phraseBuilder;
    }
    public void greet(PrintStream toString name) {
        to.println(createGreeting(name));
    }
    public String createGreeting(String name) {
        return .buildPhrase("hello"name);
    }
New to GrepCode? Check out our FAQ X