============================================================================ (C) Copyright Schalk W. Cronje 2016 - 2018 This software is licensed under the Apache License 2.0 See http://www.apache.org/licenses/LICENSE-2.0 for license details Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ============================================================================
Type Params | Return Type | Name and description |
---|---|---|
|
File |
getFile() If the class is located on th e filesystem or in a JAR this will be the location. |
|
URL |
getRuntime() If the class is located in a runtime module |
If the class is located on th e filesystem or in a JAR this will be the location.
null
if class is in a runtime module. If the class is located in a runtime module
This method always returns null
on JDK7 or JDK8.
null
is class is not in a runtime module.