Home / Class/ Condition Class — netty Architecture

Condition Class — netty Architecture

Architecture documentation for the Condition class in ChannelHandlerMetadataUtil.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  68cbeb74_d402_7243_2a31_e44828aeaa0c["Condition"]
  d030fca3_bb76_03ba_ccb8_1f5000eb521f["ChannelHandlerMetadataUtil.java"]
  68cbeb74_d402_7243_2a31_e44828aeaa0c -->|defined in| d030fca3_bb76_03ba_ccb8_1f5000eb521f
  75802313_9f6f_fac0_6148_0bfe7ad40b93["Condition()"]
  68cbeb74_d402_7243_2a31_e44828aeaa0c -->|method| 75802313_9f6f_fac0_6148_0bfe7ad40b93
  6c116015_19c3_c8e5_e60c_4a00b39cb645["equals()"]
  68cbeb74_d402_7243_2a31_e44828aeaa0c -->|method| 6c116015_19c3_c8e5_e60c_4a00b39cb645
  ec76dedb_5fab_4bd3_9811_bf6585ed74d2["hashCode()"]
  68cbeb74_d402_7243_2a31_e44828aeaa0c -->|method| ec76dedb_5fab_4bd3_9811_bf6585ed74d2

Relationship Graph

Source Code

transport/src/test/java/io/netty/nativeimage/ChannelHandlerMetadataUtil.java lines 181–205

    private static final class Condition {
        Condition(String typeReachable) {
            this.typeReachable = typeReachable;
        }

        final String typeReachable;

        @Override
        public boolean equals(Object o) {
            if (this == o) {
                return true;
            }
            if (o == null || getClass() != o.getClass()) {
                return false;
            }

            Condition condition = (Condition) o;
            return typeReachable != null && typeReachable.equals(condition.typeReachable);
        }

        @Override
        public int hashCode() {
            return typeReachable.hashCode();
        }
    }

Frequently Asked Questions

What is the Condition class?
Condition is a class in the netty codebase, defined in transport/src/test/java/io/netty/nativeimage/ChannelHandlerMetadataUtil.java.
Where is Condition defined?
Condition is defined in transport/src/test/java/io/netty/nativeimage/ChannelHandlerMetadataUtil.java at line 181.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free