VarHandleFactory.java — netty Source File
Architecture documentation for VarHandleFactory.java, a java file in the netty codebase.
Entity Profile
Relationship Graph
Source Code
/*
* Copyright 2025 The Netty Project
*
* The Netty Project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* 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.
*/
package io.netty.util.internal;
import java.lang.invoke.MethodHandle;
import java.lang.invoke.MethodHandles;
import java.lang.invoke.MethodType;
import java.lang.invoke.VarHandle;
import java.nio.ByteOrder;
final class VarHandleFactory {
private VarHandleFactory() {
}
private static final MethodHandle FIND_VAR_HANDLE;
private static final MethodHandle PRIVATE_LOOKUP_IN;
private static final VarHandle LONG_LE_ARRAY_VIEW;
private static final VarHandle LONG_BE_ARRAY_VIEW;
private static final VarHandle INT_LE_ARRAY_VIEW;
private static final VarHandle INT_BE_ARRAY_VIEW;
private static final VarHandle SHORT_LE_ARRAY_VIEW;
private static final VarHandle SHORT_BE_ARRAY_VIEW;
private static final VarHandle LONG_LE_BYTE_BUFFER_VIEW;
private static final VarHandle LONG_BE_BYTE_BUFFER_VIEW;
private static final VarHandle INT_LE_BYTE_BUFFER_VIEW;
private static final VarHandle INT_BE_BYTE_BUFFER_VIEW;
private static final VarHandle SHORT_LE_BYTE_BUFFER_VIEW;
private static final VarHandle SHORT_BE_BYTE_BUFFER_VIEW;
private static final Throwable UNAVAILABILITY_CAUSE;
static {
MethodHandle findVarHandle = null;
MethodHandle privateLookupIn = null;
VarHandle longLeArrayViewHandle = null;
VarHandle longBeArrayViewHandle = null;
VarHandle intLeArrayViewHandle = null;
VarHandle intBeArrayViewHandle = null;
VarHandle shortLeArrayViewHandle = null;
VarHandle shortBeArrayViewHandle = null;
VarHandle longLeByteBufferViewHandle = null;
VarHandle longBeByteBufferViewHandle = null;
VarHandle intLeByteBufferViewHandle = null;
VarHandle intBeByteBufferViewHandle = null;
VarHandle shortLeByteBufferViewHandle = null;
VarHandle shortBeByteBufferViewHandle = null;
// ... (140 more lines)
Domain
Subdomains
Classes
Source
Frequently Asked Questions
What does VarHandleFactory.java do?
VarHandleFactory.java is a source file in the netty codebase, written in java. It belongs to the CommonUtil domain, Internal subdomain.
Where is VarHandleFactory.java in the architecture?
VarHandleFactory.java is located at common/src/main/java/io/netty/util/internal/VarHandleFactory.java (domain: CommonUtil, subdomain: Internal, directory: common/src/main/java/io/netty/util/internal).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free