/** * Default constructor. * * @param packageName the name of the package. * @param typeName the name of the Java class. * @param elementName the name of the element. * @throws IllegalArgumentException if <code>typeName</code> is blank or * <code>packageName</code> is empty or consists only of * whitespaces. * @todo All elements are currently provided to be fully URL encoded. */ public JavaElementRef(final String packageName, final String typeName, final MethodInfo elementName) throws IllegalArgumentException { checkArguments(packageName, typeName); this.packageName = packageName; this.typeName = typeName; this.elementName = elementName; }