Created
April 2, 2013 08:40
-
-
Save kompiro/5290824 to your computer and use it in GitHub Desktop.
javaパッケージ以下をのぞいたクラスの数をカウントするastahのスクリプト
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
importPackage(com.change_vision.jude.api.inf.model); | |
classes = astah.findElements(IClass); | |
var count = 0; | |
for(var i in classes) { | |
var clazz = classes[i] | |
if (clazz.getFullNamespace("::").indexOf("java") != 0) { | |
println(clazz.getName()); | |
count += 1; | |
} | |
} | |
println("classes count:" + count); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment