This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MyTest { | |
public void test1() { | |
this.<String>test(); | |
} | |
public String test() { return "test"; } | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
goInsideFolder(Jenkins.instance.items) | |
public void goInsideFolder(List<TopLevelItem> items) { | |
for ( TopLevelItem item : items) { | |
if (item instanceof com.cloudbees.hudson.plugins.folder.Folder) { | |
goInsideFolder(item.getItems()); | |
} | |
else { | |
println item.fullName; | |
} |
NewerOlder