Let\'s assume I have a class with a static method as so
public class A{ public static void B(House s){ s.setBricks("brick"); } }