All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.stevesouza.helloworld.HelloWorld Maven / Gradle / Ivy

Go to download

This pom simply has an unwoven HelloWorld class. The resulting jar can be used to test AspectJ load time weaving.

There is a newer version: 2.0.0
Show newest version
package com.stevesouza.helloworld;

/**
 * Program used as basis for simple Automon example programs
 */
public class HelloWorld {

    public String getFirstName() {
        return "Steve";
    }

    public String getLastName() {
        return "Souza";
    }

    public void iMessedUp() {
        throw new RuntimeException("I really did it this time!");
    }

    public void run(String[] args) throws Exception {
        int loops = (args==null || args.length==0) ? 1 : Integer.valueOf(args[0]);
        for (int i=0;i




© 2015 - 2025 Weber Informatics LLC | Privacy Policy