public String getPackageName() {
            if (packageName == null) {
                String name = getName();
                int angly = name.indexOf('<');
                if (angly != -1) {
                    name = name.substring(0, angly);
                }
                int index = name.lastIndexOf('.');
                if (index == -1) {
                    packageName = "";
                } else {
                    packageName = name.substring(0, index);
                }
            }
            return packageName;
        }
This is a parser for custom aop pointcut expression.
<p>
Such as <pre>int android.util.Log.d(java.lang.String,java.lang.String)</pre>
plugin/src/main/groovy/com/didichuxing/tools/droidassist/spec/SourceSpec.java