Java tutorial
//package com.java2s; import java.util.HashSet; import java.util.Set; public class Main { private static Set<String> androidClassPrefixes = new HashSet<String>(); public static boolean isAndroidClass(String clsName) { for (String prefix : androidClassPrefixes) { if (clsName.startsWith(prefix)) { return true; } } return false; } }